繁体   English   中英

如何使用tabber类在两个选项卡之间提供新行

[英]How do i provide new line between two tab using tabber class

所需设计的例子

Hii all,我是javascript的新手,我不太了解tabber类,我想有一个页面,其中标签位于两个不同行的系统属性页面中,其中标签位于两个不同的行中。

           <div class="tabber">    
            <div class="tabbertab">    
            <h2>tab1</h2>    
            form stuff goes here...    
        </div>    
        <div class="tabbertab">    
            <h2>tab2</h2>    
            form stuff goes here    
        </div>    
        <div class="tabbertab ${tab_default}">    
            <h2>tab3</h2>    
            form stuff goes here    
            submit button here...    
        </div>    

假设这些是两个标签,我想进入两个不同的行......

您只需要将其作为分隔符插入:

<li style="display: block;"></li>

并为相应的选项卡“内容”创建一个空div。

您需要使用支持该功能的代码,快速浏览一下jQuery有多个插件: http : //plugins.jquery.com/plugin-tags/tabcontrol

例如, 这个有你所追求的“垂直”标签。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM