Reputation: 31
I am using jQuery Tabs which are collapsible - http://jqueryui.com/tabs/#collapsible - and would like to know how I can start with all tabs collapsed when page loads, then for a tab to be activated on mouse click?
Thank you.
Upvotes: 1
Views: 3913
Reputation: 15528
Yes, this is possible. Here it is working: http://jsfiddle.net/PmsCh/1/
Just set the active
option to false
like this:
$("#tabs").tabs({
collapsible: true,
active: false
});
Upvotes: 13