So basically you're asking how to have all the ajax tabs fetch the same page, but depending on the tab, display a particular content within it. So really you just need content pagination, not page pagination, so in this case, you're actually better off using the non Ajax version of Tab Content Script instead.
Code:
<ul id="maintab" class="shadetabs">
<li class="selected"><a href="#" rel="tcontent1">Tab 1</a></li>
<li><a href="#" rel="tcontent2">Tab 2</a></li>
<li><a href="#" rel="tcontent3">Tab 3</a></li>
<li><a href="#" rel="tcontent4">Tab 4</a></li>
<li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
</ul>
<div class="tabcontentstyle">
<div id="tcontent1" class="tabcontent">
<table>table 1</table>
</div>
<div id="tcontent2" class="tabcontent">
<table>table 2</table>
</div>
<div id="tcontent3" class="tabcontent">
<table>table 3</table>
</div>
</div>
<script type="text/javascript">
//Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
initializetabcontent("maintab")
</script>
Notice how each of the DIV tag contains the desired table. The idea is to then remove and save the entire portion in red into an external file for ease of editing, such as external.htm. Then, dynamically include that file into the main subcontent DIV tag:
Code:
<div class="tabcontentstyle">
<!--#include file="external.htm"-->
</div>
Here I'm assuming your pages support SSI (server side includes). There are equivalents for PHP, ASP pages, and so on.
Bookmarks