Selected Item/Subitem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
farouche
Beginner
Beginner
Posts: 9
Joined: Mon Dec 19, 2005 1:43 pm

Selected Item/Subitem

Post by farouche »

Hi

I'm trying to build a menu using DHTML Menu 5.0, and have been looking at a couple of examples.

I can see that it is possible to mark the selected item in the menu like you do in the menu on your own page.

When a top Item is selected it has a red "Arrow" image, and when a subitem is selected it has a darker background color.


Have tried to take a look at the code to find out how you do this, but I haven't really found the clue.


Could you please point me in the right direction on this one?


Thank you in advance


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

Post by Ruth »

Hi,

That is the highlighting feature of the menu which you 'turn-on' by putting in pagebgcolor, pagecolor, pageimage and whatever other properties there are for it. You can find information on that under the Menu Quick Reference Guides, located in the main site menu under the DTHML Menu item. Below my name are links to 3 of the guides, style, menu and item properties.

So, if you want to have the double arrows show you'd use pageimage="db_red.gif"; or whatever the name of the image is. The change in bgcolor and font color is done with pagebgcolor= and pagecolor=

Ruth
farouche
Beginner
Beginner
Posts: 9
Joined: Mon Dec 19, 2005 1:43 pm

Post by farouche »

Great ...

Thanks, I overlooked that one....
Post Reply