On 16 Apr., 20:38, "robintrain...@yahoo.com" <robintrain...@yahoo.com> wrote: > Hello everyone. Is there a way to have tabs created in jQuery that are > collapsed when the page loads? I use this: > > $(document).ready(function(){ > $("#tabs").tabs({ collapsible: true > > }); > }); > > to allow the user to click on the tab to collapse it once the page > loads. But how do I get the tab content to be hidden to begin with?
Use: $(document).ready(function(){ $("#tabs").tabs({ collapsible: true, selected: -1 }); }); You don't necessarily have to use collapsible in this case by the way. --Klaus