Log in

View Full Version : Tab for current page ?



pookie62
06-05-2008, 03:22 PM
Hi all,
New on this good looking Forum!
I am using the Glowing tabs menu: http://www.dynamicdrive.com/style/csslibrary/item/glowing-tabs-menu/
but the tab of the page I'm on won't stay in the "#current" state.
How to solve this ?
Thanks

Part of the code:



<style type="text/css">
#glowingtabs #current a{ /*Selected Tab style*/
background-position:0 -82px; /*Shift background image up to start of 2nd tab image*/
}

#glowingtabs #current a span{ /*Selected Tab style*/
background-position:100% -82px; /*Shift background image up to start of 2nd tab image*/
color: black;
}
</style>

<div id="glowingtabs">
<ul>
<li><a href="http://www.hv-service.nl" title="Home"><span>Home</span></a></li>
<li><a href="http://www.dynamicdrive.com/style/" title="CSS Library"><span>CSS Codes</span></a></li>
<li><a href="http://www.dynamicdrive.com/forums/" title="Help Forums"><span>Forums</span></a></li>
<li><a href="http://tools.dynamicdrive.com" title="Webmaster Tools"><span>Tools</span></a></li>
<li><a href="http://www.javascriptkit.com/jsref/" title="JavaScript tutorials and scripts"><span>JavaScript</span></a></li>
</ul>
</div>
<br style="clear: left;" />

I also should say perhaps that I use a topframe (where the menu is in) and a second mainframe.
Is is possible to set the active page as the current and so show the related tab with the #current class ?

pookie62
06-05-2008, 09:13 PM
Never mind, solved it by removing the topframe