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:10
image for a specific menu
Poster: mazzeddine
Dated: Tuesday March 28 2006 - 11:30:00 BST
Hi
I want to add an image (an arrow) only for a specific menu.
Example: there is 4 menus linked to 4 pages
If the menu #1 is selected, the arrow is only displayed for the #menu1 when page 1 is diplayed
If the menu #2 is selected, the arrow is only displayed for the #menu2 when
page 2 is diplayed
...and so on so forth.
Is there a way to configure the script.
Thanx.
Mohamed
Poster: Ruth
Dated: Tuesday April 4 2006 - 16:24:15 BST
Hi,
There are various properties for the menu, one of them has to do with page highlighting to show you were you are on the menu.
For example, let's say you set pagebgcolor="red"; and menu #1 is selected, and you are at page1 from that selection, then that menu #1 item in the menu would have a red background color.
That is just an example using color, but that page highlighting can also use an image.
pageimage="arrow.gif"; or whatever the name of the image is.
You can place that in the style section, the place where you have offbgcolor, onbgcolor, offcolor, oncolor etc. Or you can place it in each item. Usually people only place it in each item if they want to have a different image used for each item.
Below my name you will see links to different menu properties, click on the one for styles. The properties are alphabetical and the one you want begins with page i.e. pagebgcolor, pagecolor, and so on.
Ruth