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: Saturday July 14 2012 - 06:07:28

"you are here" style change


Poster: will
Dated: Thursday May 20 2004 - 20:24:20 BST

Hi,

I'm picking up behind another programmer and I'm trying to get a sidemenu to change to an alternate style (colors) just for the one menu option that is where you are actually at on the site. I can see the alternate style colors in the code:

styleside=["ffffff","6B86A4","000000","B3BDC9","000000",11,"normal","normal","Verdana, Arial,Geneva,Helvetica,sans-serif",2,"arrow2.gif",,"ffffff","ffffff","000000","e6e6e6","","","","B3BDC9",];

...the e6e6e6 background color. But I can't figure out how to reference that in here (as if you are browsing the Services page here):

addmenu(menu=["sidemenu",150,0,158,,,styleside,1,"left",effect,,0,,,,,,,"",,,,"<div style='padding : 1 5'><strong>Services</strong></div>","/services/","",,1, ...

Any suggestions?
Thank you!!

-will

oooh got it.


Poster: will
Dated: Thursday May 20 2004 - 23:09:29 BST

Hi -- I got it. It matches the URLs of the file to those on the array.