PDA

View Full Version : Switch Menu Question



slash75
04-26-2006, 05:26 PM
I am working on the following page:
http://www.htc.net/~jspahr/test2.html

I am using the switch menu navigation script found here:
http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm

I would like to be able to have the rollovers stay highlighted
when you click on a menu item.

Ex. You click on About Us, it opens the sub menu links and
the About Us image stays highlighted instead of going back to white.
It would then stay highlighted until the next menu was clicked.

How could this be done?

Twey
04-26-2006, 05:50 PM
The problem is that you've used CSS. CSS is good, but it doesn't allow so much control over what happens when events are fired as Javascript does.

slash75
04-26-2006, 06:32 PM
So it wouldn't be possible with the way I currently have it setup?

Twey
04-26-2006, 10:03 PM
No, you'd have to rewrite that hover effect slightly.