jQuery UI选项卡 - 删除选项卡后面的标题和内容区域

Dav*_*ale 1 css jquery jquery-ui

我现在只是把我的头脑转移到一个SPRY选项卡面板到jQuery UI选项卡,并想知道是否有一种快速方法从UI选项卡后面删除内容区域.我基本上想要选项卡后面的白页背景,并且内容区域显示在选项卡下方.此处显示选项卡的jQuery UI版本,以及我希望如何显示选项卡可以在此页面查看.我使用jQuery Themeroller来创建原始标签样式.谢谢!

Ohg*_*why 6

这可以通过CSS完成.

#copy-main .ui-widget-header{
    background:transparent !important;
}

#copy-main .ui-tabs{
    padding: 0 !important;
    margin-top:40px;
    position:relative;
}

#copy-main .ui-tabs .ui-tabs-nav{
    padding: 0 !important;
    position:absolute;
    margin:-32px -1px 0; //compensation
}
Run Code Online (Sandbox Code Playgroud)