Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:19

Define different color for just one item in main menu


Poster: McDeb
Dated: Friday November 1 2002 - 20:10:37 GMT

Hi. I have my menus all set up and running fine. I just need to make one minor adjustment. On the main menu, I want just the "Home" link and background to be a different color than the rest of the menu bar. Since that part of the menu is just a link and does not have an actual menu of it's own, I'm not sure how to change it. Did that make sense?

Here's a link to my site: http://www.mcdeb.com

Thanks!


Poster: kevin3442
Dated: Friday November 1 2002 - 20:59:39 GMT

Hi McDeb,

Change your menu item definition for Home to:
Code:
,"Home","http://www.mcdeb.com offbackcolor=######; offfontcolor=######; onbackcolor=######; onfontcolor=######;",,,1

where ###### is the hex code for the color you want (substitute your preferred colors). "on" and "off" in these color properties refer to whether the mouse pointer is on or off of the menu item, allowing for a rollover effect.

Hope that helps,

Kevin


Poster: McDeb
Dated: Friday November 1 2002 - 21:39:24 GMT

Thank you, Kevin. That's perfect. :D