我正在尝试将指向 jQuery Tabs 的链接放置在标签内容下,标签导航在其自己的 DIV 中(用于样式目的)。这是我的标记:
<div id="fpTabs">
<div id="fpTab-1">
<p>This is the first tab</p>
</div>
<div id="fpTab-2">
<p>This is the second tab...</p>
</div>
<div id="fpTab-3">
<p>This is the third tab.. </p>
</div>
</div>
<div id="fpTabs-nav">
<ul>
<li><a href="#fpTab-1">Tab 1</a></li>
<li><a href="#fpTab-2">Tab 2</a></li>
<li><a href="#fpTab-3">Tab 3</a></li>
</ul>
</div>
我将如何使用#fpTabs-nav 中的 ul 来激活选项卡以进行导航?
谢谢!