Im using this simple jQuery plugin for a mouse over tabbed navigation http://www.sunsean.com/idTabs/
It does the job nicely with one exception, on click I need items go to a new page, rather than showing a hidden div on the existing page. (I’m using mouse over to accomplish that)
Because of this, id like to use rel="div_name" to show the hidden div as opposed to href="#div_name " as it currently does.
Any Suggestions? Here is the function":
Quote:
//Setup Tabs
var showId = function(){
if($(this).is(‘.’+s.selected))
return s.change; //return if already selected
var id = "#"+this.href.split(‘#’)[1];
var aList = []; //save tabs
var idList = []; //save possible elements
$("a",tabs).each(function(){
if(this.href.match(/#/)) {
aList.push(this);
idList.push("#"+this.href.split(‘#’)[1]);
}
});
if(s.click && !s.click.apply(this,[id,idList,tabs,s])) return s.change;
Thanks!