Dynamic JavaScript Tabs v1.0.3

Simon Hamilton contacted me about adding ids to each tab, so I did! I've also fixed the CSS error that Adam noticed and correctly updated the version number in the license block!

Update: I've created a separate page to hold the download link

5 Responses to “Dynamic JavaScript Tabs v1.0.3”

  1. 1 jeff

    I have downloaded the Dynamic JavaScript Tabs, and it works like a champ. Thanks. Is this compatible with older browsers ?

    jeff

  2. 2 Rob...

    Hi! Sorry for the delay in responding.

    It should be fine with any browser that supports the DOM (or IE > 5.0)

  3. 3 samio

    error line 98 tabs.js:
    tabLink.setAttribute("href","javascript://");
    solution: tabLink.setAttribute("href","#");

    Maybe is a good idea to implement a cookie so that the tab can recall the state (useful for ajax users)

    great script!

  4. 4 samio

    I forgot the following:
    better to remove these lines in the tabs.js
    BuildTabs('tab-container');
    ActivateTab('tab-container', 0);
    BuildTabs('tab-container-2′);
    ActivateTab('tab-container-2′, 0);

    and add at the end of the index.html

    window.load= new function(){
    BuildTabs('tab-container');
    ActivateTab('tab-container', 0);
    BuildTabs('tab-container-2′);
    ActivateTab('tab-container-2′, 0);
    }

    this must be removed to the header:

  5. 5 Rob...

    That's a good idea, Samio.

    Thanks!

The views expressed in these comments are not the views of the publisher. However, we believe in the rights of others to express their legitimate views and concerns. Any legitimate complaint emailed to rob@akrabat.com will be seriously considered and the post reviewed as desirable and necessary.

Leave a Reply

Pre order