I have noticed that all jQuery Tab systems I've come across utilize a <ul>
with links, separate from the tab content div. Is there a way to implement the following structure (pseudocode used here)...
<div class="tab"><a href="#tab1">Tab1</a></div>
<div class="tab-content" id="tab1">Content for Tab 1 here .......</div>
<div class="tab"><a href="#tab2">Tab2</a></div>
<div class="tab-content" id="tab2">Content for Tab 2 here .......</div>
The layout would appear as follows:
[Tab1] [Tab2] [Tab3] [Tab4]
[The content for each tab is displayed below the tabs]