Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Ajax Tabs Content script v2.2 problem IE

  1. #11
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

  2. #12
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •