Hi Dan:
I haven't studied your code close enough to know how you're automatically selecting the tabs perdiocially, but basically, in order to get the corresponding content to show, you need to call:
Code:
expandcontent(tablinkobject)
each time, where tablinkobject is the reference to the tab link in question. If hardcoded inside the HTML, it would look something like:
Code:
<li><a href="#" rel="tcontent2" onClick="expandcontent(this)">Tab 2</a></li>
Since "this" would reference the tab link itself.
p.s: Your page is in violation of Dynamic Drive's usage terms, which, among other things, states that the credit notice inside script must stay intact within the page's source. Please reinstate the notice.
Bookmarks