Hi, great script and hope to use it. I do have a question...
How can I set the active tab when the page initially loads? I have four tabs:
(Read Discuss Email Trackback). I am trying to dynamically set through PHP the active layer.
actual value is pulled from the querystring. ---^Code:var initialtab=[1, "layer-discuss"]
Now, this all works great, the only problem is that regardless of which layer is selected, only the first tab is getting the a.current value from CSS (that is, the first tab button is highlighted even if a different layer is initially loaded).
Once I click to different tabs the functionality works as one would expect.
Any insight would be appreciated.
~David



Reply With Quote

Bookmarks