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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:40

Milonic Menu Highlighting on Page...


Poster: tepidarium
Dated: Friday February 27 2004 - 16:24:45 GMT

Hi,

I have a question about how the menu highlights menu items...

on the following page - the main "Academics" state is highlighted as well as proper substates...
http://www.citytech.cuny.edu/academics/deptsites/adga/index.html

BUT on this page which is a subset of the other page the menu highlighting is not present...
http://www.citytech.cuny.edu/academics/deptsites/adga/programs.html
is there a way fix this.

Thank you!


Poster: tepidarium
Dated: Friday February 27 2004 - 17:07:45 GMT

I think I understand why the page doesn't highlight -i.e. becuase those specific pages are not listed in the menu_data.js (nor would I want them to be as they are too far down in the heirarchy) still - even though the pages are not listed in the menu_data.js it would be nice if the menu highlighting stayed on to illustrate where in the hierarchy the user is...is this impossible?


Poster: kevin3442
Dated: Friday February 27 2004 - 17:19:02 GMT

Hey,

I'd suggest reading the description of the pagematch propety in the menu item properties quick ref. Is that what you're after?

Kevin


Poster: tepidarium
Dated: Friday February 27 2004 - 18:01:10 GMT

Hi Kevin...
Yes this was it...I should have checked the properties list but didn't even imagine there was an option for this:-)

The only thing I can't figure out is how to get the main index.html file on the base url

http://www.citytech.cuny.edu to be recognized and have the "Home" menu option highlighted. In the main menu in the html code, I set the following pagematch option:
Code:
aI("text=Home;url=http://www.citytech.cuny.edu;status=Home;itemheight=18;itemwidth=83;align=center;pagematch=/index.html;");
}


This will work and light up "home" when the page the user inputs is:

http://www.citytech.cuny.edu/index.html

but won't work if the user simply goes to

http://www.citytech.cuny.edu

I don't want to put in a pagematch "/" because then "Home" will be illuminated on every page...


Poster: tepidarium
Dated: Friday February 27 2004 - 21:23:29 GMT

I decided to just define "offbgcolor" on the index.html page of the site as I couldn't figure out another way to do it...seems to work ok...