Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:53
Highlight an item depending of the opened page
Poster: cipi
Dated: Thursday December 4 2003 - 9:56:12 GMT
Hi,
I have a frame based page.
The main menu is image based and it is rollover.
When you first enter the site I want that the home button be highlighted (use the rollover image not the original one) when you first enter the page.
The same with all the other pages.
If I click on a submenu I want that the main menu item that contains the submenu to be highlighted.
Is it possible?
Thanks
Poster: kevin3442
Dated: Tuesday December 16 2003 - 1:01:56 GMT
Assuming that your menu is in one frame and your content is in another, it is not possible using the menu's built-in properties, since they work based on matching the menu item's url with the currently displayed url ... the url for the frame containing the menu never changes, so there's nothing to match. You could do it, but you'd have to code it yourself.
Kevin