I want the styles and interaction of jQuery tabs standalone. I want to use the tabs for my primary navigation but don't wan开发者_JS百科t to wrap the entire page in a div.tabs, or use the #anchor setup imposed by jQuery tabs. Is this possible?
Can't you still go ahead with the imposed markup and just hide the tabs?
To hide the tabs, you can do this:
$("#my_tabs_container") // your original element that you converted to tabs
.tabs("widget") // get the widget container
.find(".ui-tabs-nav") // locate the tab container
.hide(); // get rid of it
精彩评论