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:39
Menu header color issue
Poster: Jickimojo
Dated: Thursday March 8 2007 - 16:22:28 GMT
I am having an issue that when you click on a sub menu item the color of the selected menu item turns to the background color and cannot be seen.
Here is a link to the page http://207.13.99.180/ click on any item in the menus and then look at the menu item you just clicked and you will see that it has turned the color of the background?
Here is the code for the styles:
with(menuStyle=new mm_style()){
bordercolor="#fffff";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontstyle="normal";
ondecoration='underline';
headerbgcolor="#ffffff";
headercolor="#CDD7B7";
offbgcolor="#CDD7B7";
offcolor="#000000";
onbgcolor="#ffffff";
oncolor="#000000";
<!---clickbgcolor="#FFFFFF";
<!---clickcolor="white";
<!--visitedcolor="#ffffff";
outfilter="randomdissolve(duration=0.0)";
overfilter="Fade(duration=0.0);Alpha(opacity=100);";
padding=3;
<!--pagebgcolor="#ffffff"; -->
pagecolor="#CDD7B7";
separatorcolor="#CDD7B7";
separatorsize=0;
subimage="";
subimagepadding=0
;
}
please help if you can.
Thanks
P.S.
It is happening in all browsers on pc and I am using 7.71 also thanks
Poster: Jickimojo
Dated: Thursday March 8 2007 - 17:18:15 GMT
I have tried these to no avail
Example: clickbgcolor='#FFFFFF';
Example: clickcolor='#333333';
Example: headerbgcolor='#666666';
Example: headercolor='#999999';
Any help would be appreciated.
Thanks
Poster: Ruth
Dated: Thursday March 8 2007 - 17:46:05 GMT
Hi,
I don't see any click colors, but that is not the problem. The problem is you have offbgcolor="#CDD7B7"; and you took out the pagebgcolor which would have changed the background on highlighting but left the pagecolor="#CDD7B7"; So, when the 'you are here highlighting' is working, the page font color is the same as the offbgcolor.
Ruth
Poster: Jickimojo
Dated: Thursday March 8 2007 - 17:54:26 GMT
DOH!!!
That was it thanks Ruth you are the best!
Poster: Ruth
Dated: Thursday March 8 2007 - 20:16:20 GMT
Hi,
Everyone, including me, does that at some point.
A suggestion. In your main menu, you could code pageimage and set it to the overimage, that way you'd have the 'highlighting' for the whole menu. They would only show when you were on a page in the particular submenu. So when you went to Outdoor Lighting/Gas Lights, Gas lights would be white font, and the image for Outdoor Lighting would be the pretty overimage. Those are real pretty images.
Code:
aI(
"image=../images/layout/indooroff.gif;overimage=../images/layout/indooron.gif;pageimage=../images/layout/indooron.gif;showmenu=Indoor;text=;url=Indoor-Decor.aspx;")
"image=../images/layout/indooroff.gif;overimage=../images/layout/indooron.gif;pageimage=../images/layout/indooron.gif;showmenu=Indoor;text=;url=Indoor-Decor.aspx;")
Ruth