- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I am working on a web page redesign for a client, using Dreamweaver CS3 with Spry horizontal menu on a Macintosh. Not quite finished yet. Sample link below.
http://blfusa.org/blf_2008/index.htm
The client asked me if there was a way to make the main tab buttons keep the rollover color while going down the sub-list. I have no idea if this is possible. I made the buttons in Photoshop.
If you click on a sub-list item, I made the main tab buttons (up and down state) to be both a hover button, until you go and click on another main button section.
I told the client that rollover buttons go back to the up state button color when your off it.
Maybe you know of some css way to make it work. I admit I know nothing about javascript.
Need help
I am pretty sure with the way you have built the menu you wont be able to accomplish that. If you have the time and the client really wants that feature, I would look into building your menu out of pure CSS and dump the extra JS.
Here are some resources.
http://www.howtocreate.co.uk/tutorials/testMenu.html
http://www.alistapart.com/articles/horizdropdowns
There’s more sites like that, but that is all I referenced to build this menu:
It retains the rollover state while rolling over the sub-menu items naturally because the sub-menu’s are the children of the main menu.
Hope that helps.