No deafult tabs open

Hi, Is there a way (in Control.Tabs) not to display default tab, I want all tabs to be hidden on the begining.

Thanx.

Posted April 26th, 2007 at 4:31am by wrong011

Use $(element).hide(); on whatever you want, or create a parent container around the whole thing and hide that.

Posted April 26th, 2007 at 9:31am by ryan

Change line 58 in control_tabs.js from

else 
this.setActiveTab(this.options.defaultTab);

to

else if(this.options.defaultTab != 'notab')
this.setActiveTab(this.options.defaultTab);

then you can set the the defaultTab to "notab" and voila you have no tab selected

Posted August 9th, 2007 at 6:32am by delooks

Login or Register to Post