Well its a Joomla module with the ajaxtabs.js file there and I have add this there too.
I attach it so you can see how it looks and if its something wrong in there too..
rgds
Printable View
Well its a Joomla module with the ajaxtabs.js file there and I have add this there too.
I attach it so you can see how it looks and if its something wrong in there too..
rgds
This:
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="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>
so that it looks like so:Code:<script type="text/javascript" src="http://www.travelmate.com/modules/mod_tpajaxtabs/ajaxtabs/ajaxtabs.js"></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: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>
http://www.dynamicdrive.com/dynamici...bs/ajaxtabs.js
Except for this line:
which obviously must remain the same even after you revert to the actual script.Code:ddajaxtabssettings.loadstatustext="<img src='modules/mod_tpajaxtabs/ajaxtabs/loading.gif' /> "
And to repeat, you need to get this out of your source code on the page:
and instead use the initialization method as described on the demo 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>
http://www.dynamicdrive.com/dynamici...tent/index.htm
and as demonstrated in the source for:
http://www.dynamicdrive.com/dynamici...ntent/demo.htm