This:
Code:
<script type="text/javascript" src="ajaxtabs/ajaxtabs.js">
/***********************************************
* Ajax Tabs Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
Should not be in the script, it should be in the page's source code in place of this:
Code:
<script type="text/javascript" src="http://www.travelmate.com/modules/mod_tpajaxtabs/ajaxtabs/ajaxtabs.js"></script>
so that it looks like so:
Code:
<script type="text/javascript" src="http://www.travelmate.com/modules/mod_tpajaxtabs/ajaxtabs/ajaxtabs.js">
/***********************************************
* Ajax Tabs Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
I also notice that you have otherwise modified the code of the script, it would probably be best to revert to the actual script which may be found here:
http://www.dynamicdrive.com/dynamici...bs/ajaxtabs.js
Except for this line:
Code:
ddajaxtabssettings.loadstatustext="<img src='modules/mod_tpajaxtabs/ajaxtabs/loading.gif' /> "
which obviously must remain the same even after you revert to the actual script.
And to repeat, you need to get this out of your source code on the page:
Code:
<script type="text/javascript">window.addEvent('domready', function() {var tpat701177655123=new ddajaxtabs("tpajaxtabs701177655123tabs", "tpajaxtabs701177655123divcontainer");tpat701177655123.setpersist(true);tpat701177655123.setselectedClassTarget("link");tpat701177655123.init();});</script>
and instead use the initialization method as described on the demo page:
http://www.dynamicdrive.com/dynamici...tent/index.htm
and as demonstrated in the source for:
http://www.dynamicdrive.com/dynamici...ntent/demo.htm
Bookmarks