开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜