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:44

Unwanted Highlighting


Poster: MrMucox
Dated: Friday May 13 2005 - 15:59:40 BST

On my site, http://www.troop7buttonwoods.com, I use the Milonic menu, and have been for a long while, since version 3, and recently upgraded from v5.09 to the current. I had to make a couple of changes to make the menu even show up after the upgrade.

My problem is that when on the main page, the second item shows the overimage, not the standard image. If I go to another page (White Stag or Scoutmaster pages), a different item is selected. The thing is, that the item selected on the main page, has nothing to do with the main page, and there is no reason that it should be selected. I really don't want any selection/highlighting. This was all working great with 5.09.

Current Settings (1st level only):
Code:
with(MainmenuStyle=new mm_style()){
padding=5;
pagematch="/null.html";
pagecolor="";
pagebgcolor="";
pageimage="";
pagebgimage="";
}

with(milonic=new menuname("Main Menu")){
style=MainmenuStyle;
top=200;
left=45;
alwaysvisible=1;
//itemwidth=72;
//itemheight=16;
aI("showmenu=Calendar;image=http://www.troop7buttonwoods.com/media/1-Calendar-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/1-Calendar-Down.jpg;")
aI("showmenu=CampingTrips;image=http://www.troop7buttonwoods.com/media/2-Camping-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/2-Camping-Down.jpg;")
aI("showmenu=Eagles;image=http://www.troop7buttonwoods.com/media/3-Eagles-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/3-Eagles-Down.jpg;")
aI("url=http://www.troop7buttonwoods.com/stag.shtml;target=_top;image=http://www.troop7buttonwoods.com/media/4-Stag-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/4-Stag-Down.jpg;")
aI("showmenu=Awards;image=http://www.troop7buttonwoods.com/media/5-Awards-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/5-Awards-Down.jpg;")
aI("showmenu=Yawgoog;image=http://www.troop7buttonwoods.com/media/6-Yawgoog-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/6-Yawgoog-Down.jpg;")
aI("showmenu=Photos;image=http://www.troop7buttonwoods.com/media/7-Photos-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/7-Photos-Down.jpg;")
aI("showmenu=Links;image=http://www.troop7buttonwoods.com/media/8-Links-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/8-Links-Down.jpg;")
aI("showmenu=Scoutmaster;image=http://www.troop7buttonwoods.com/media/9-Scoutmaster-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/9-Scoutmaster-Down.jpg;")
aI("showmenu=Scoutcraft;image=http://www.troop7buttonwoods.com/media/10-Scoutcraft-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/10-Scoutcraft-Down.jpg;")
aI("showmenu=Reverence;image=http://www.troop7buttonwoods.com/media/11-Reverence-Up.jpg;overimage=http://www.troop7buttonwoods.com/media/11-Reverence-Down.jpg;")
}


Thanks for any help.


Poster: John
Dated: Saturday May 14 2005 - 18:16:30 BST

Try removing all of the following...
Code:
pagematch="/null.html";
pagecolor="";
pagebgcolor="";
pageimage="";
pagebgimage="";

Minor, and not part of this problem, add a ; at the end of each aI to close the statement.


Poster: Ruth
Dated: Saturday May 14 2005 - 18:53:08 BST

It will stop matching when you remove that but so you know why it was matching, you have:
Code:
with(milonic=new menuname("Camping-August")){
style=menuStyle;
overflow="scroll";
//aI("text=To Be Announced;");
aI("text=Information;url=http://www.troop7buttonwoods.com;");


Because that submenu is under camping and has the same url for Information as the main page, that triggered the match.

Ruth


Poster: MrMucox
Dated: Monday May 16 2005 - 13:32:26 BST

I never had those in there to begin with. I put them in to try to stop it from happening. Removing them did not solve the problem. Removing the link to the home page further down did resolve the highlight on the main page. However, clicking "White Stag", or either "Scoutmaster" link, and going to those pages, highlights them in the menu, and I would rather that that didn't happen. Is there any way to turn it completely off, unless the mouse is over that particular menu item.

Thanks for solving the main issue! :D


Poster: Ruth
Dated: Monday May 16 2005 - 14:05:46 BST

Hi,

I'm reporting this. Nothing I've tried stops that from happening :cry:
If I'm doing something wrong, I'll get back to you. Also, keep an eye on
updates, I'm sure it will be fixed shortly if it's a menu issue.

Ruth


Poster: MrMucox
Dated: Monday May 16 2005 - 18:51:29 BST

:? Well... I feel better now then. I though it was me :!: Thanks for all your help!


Poster: kevin3442
Dated: Tuesday May 17 2005 - 3:04:57 BST

I have to agree... looks like a gremlin crept into 5.723.

MrMucox... I've sent an email to your gmail account. I'm hoping you'll have time to read it and reply. Thanks.

Kevin