开发者

Diable body of jQuery tabs, use only the tabs for navigation

开发者 https://www.devze.com 2023-02-14 08:53 出处:网络
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 set

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
0

精彩评论

暂无评论...
验证码 换一张
取 消