我有一些垂直选项卡,我想添加更多,但我想在第一个垂直选项卡的右侧添加。第一个在左侧,在它们旁边是内容框,我希望在这个内容框之后是一组新的垂直选项卡,它们将应用于同一个内容框。这是我想要的图像(我在 Photoshop 中制作的):
这是我尝试过的:http://jsfiddle.net/26zQS/18/ 但我不知道如何更改 jquery 以在两列上工作
HTML
<div class="verticalslider" id="textExample">
<ul class="verticalslider_tabs right">
<li><a href="#">1-right</a>
</li>
<li><a href="#">2-right</a>
</li>
<li><a href="#">3-right</a>
</li>
<li><a href="#">4-right</a>
</li>
<li><a href="#">5-right</a>
</li>
</ul>
<ul class="verticalslider_tabs">
<li><a href="#">1-left</a>
</li>
<li><a href="#">2-left</a>
</li>
<li><a href="#">3-left</a>
</li>
<li><a href="#">4-left</a>
</li>
<li><a href="#">5-left</a>
</li>
</ul>
<ul class="verticalslider_contents">
<li>Nothing</li>
<li>
<h2>Activitate 1</h2>
ADI</li>
<!-- elementul al doilea -->
<li>
<h2>Nunc Adipiscing</h2>
<p>CUC adipiscing purus id orci rutrum placerat. Nam posuere elementum ipsum quis faucibus. Fusce fermentum turpis ac erat mollis sit amet varius mi placerat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Ut ante justo, varius quis dignissim nec, condimentum in dui. Nulla sed lectus eu nunc vehicula vulputate vel nec velit. Integer eu purus nunc. Donec odio augue, sagittis pellentesque adipiscing id, dignissim vel enim. Maecenas a risus est.</p>
</li>
<li>
<h2>Praesent Dapibus</h2>
<p>Praesent dapibus metus vitae velit blandit tempor. Donec dignissim tempus neque, a vestibulum massa aliquam sed. Vestibulum velit quam, facilisis vel pharetra nec, bibendum eget mauris. In vitae ligula ac justo varius ullamcorper. Nullam vitae urna eu metus pellentesque vehicula vel sit amet nibh. Cras nec velit dictum neque imperdiet congue in nec eros. Suspendisse ante felis, eleifend sed pellentesque id, sagittis ut magna. .</p>
</li>
<li>
<h2>Praesent Dapibus</h2>
</li>
</ul>
</div>
jQuery
$(document).ready(function () {
$("#textExample").verticaltabs({
speed: 500,
slideShow: false,
activeIndex: 0
});
$("#imageExample").verticaltabs({
speed: 1000,
slideShow: true,
slideShowSpeed: 3000,
activeIndex: 0,
playPausePos: "topRight"
});
});