Image Selected state

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jose
Beginner
Beginner
Posts: 2
Joined: Wed Dec 05, 2007 10:24 pm

Image Selected state

Post by jose »

Greetings,

I am currently putting a nonprofit site together. I have the menu working but i need to change the menu and I need some guidance.

I need the highlight image to display when the selected page is loaded. Example. I click on the "About Us" page and I need the yellow image to stay active (display) and the submenu to stay active (display). Is this possible with this menu? If so, please let me know how to proceed.

Dev Site: http://www.webdznr.com/valley/

About Us is the only page that is linked.

Your help is appreciated.

Jose
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Image Selected state

Post by Ruth »

Hi,

If you want the overimage to show when you are on the corresponding page add

Code: Select all

pageimage=mnav-on_02.gif
to the aI string. Then when you reach the about-us.html page you'll have the overimage showing until you leave it. You'd do that with each of the items you want to show the 'highlighting'

As to having the submenus open, you need to use the openmenusbyurl.js module that comes in the download.

http://support.milonic.com/demos/

The bottom section has demos of some of the Milonic bolt-on modules. The one you want is open menus by url. When you get to the page, click one of the submenu test items.

Ruth
jose
Beginner
Beginner
Posts: 2
Joined: Wed Dec 05, 2007 10:24 pm

Re: Image Selected state

Post by jose »

That works great! Thank you for your help!
Post Reply