I have only tested this on Windows XP SP1 with IE6.
I am using v5.31a on my website at http://www.richardcranswick.com/. You will notice that all of the top level items in the menu have a link to another page. This is important to note for later.
The script used to generate the top level menu is (snippet):
Code: Select all
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
menuwidth=149;
itemwidth=149;
alwaysvisible=1;
orientation="vertical";
position="relative";
aI("text=Home;url=/;status=Back To Home Page;");
aI("text=About Me;url=/website/about/about.cfm;pagematch=about.cfm;");
aI("text=Credits;url=/website/credits/credits.cfm;pagematch=credits.cfm;");
aI("text=Downloads;url=/website/downloads/downloads.cfm;showmenu=Downloads;pagematch=downloads.cfm;");
aI("text=DVDs;url=/website/dvd/dvd.cfm;pagematch=dvd.cfm;");
aI("text=Funnies;url=/website/funnies/funnies.cfm;showmenu=Funnies;pagematch=funnies.cfm;");
aI("text=Games;url=/website/games/Games.cfm;showmenu=Games;pagematch=games.cfm;");
aI("text=Links;url=/website/links/links.cfm;pagematch=links.cfm;");
aI("text=News;url=/website/news/news.cfm;showmenu=News;pagematch=news.cfm;");
aI("text=Photos;url=/website/photos/photos.cfm;showmenu=Photos;pagematch=photos.cfm;");
aI("text=Products;url=/website/products/products.cfm;showmenu=Products;pagematch=products.cfm;");
} drawMenus();
You will notice a new menu item at the bottom of the menu. This item only contains a showmenu function (no url). Try the other top level items that previously had links to other pages - they now don't work!
The code used to generate this version of the menu is:
Code: Select all
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
menuwidth=149;
itemwidth=149;
alwaysvisible=1;
orientation="vertical";
position="relative";
aI("text=Home;url=/;status=Back To Home Page;");
aI("text=About Me;url=/website/about/about.cfm;pagematch=about.cfm;");
aI("text=Credits;url=/website/credits/credits.cfm;pagematch=credits.cfm;");
aI("text=Downloads;url=/website/downloads/downloads.cfm;showmenu=Downloads;pagematch=downloads.cfm;");
aI("text=DVDs;url=/website/dvd/dvd.cfm;pagematch=dvd.cfm;");
aI("text=Funnies;url=/website/funnies/funnies.cfm;showmenu=Funnies;pagematch=funnies.cfm;");
aI("text=Games;url=/website/games/Games.cfm;showmenu=Games;pagematch=games.cfm;");
aI("text=Links;url=/website/links/links.cfm;pagematch=links.cfm;");
aI("text=News;url=/website/news/news.cfm;showmenu=News;pagematch=news.cfm;");
aI("text=Photos;url=/website/photos/photos.cfm;showmenu=Photos;pagematch=photos.cfm;");
aI("text=Products;url=/website/products/products.cfm;showmenu=Products;pagematch=products.cfm;");
aI("text=Menu Test;showmenu=Downloads;");
} drawMenus();
Now try http://www.richardcranswick.com/?TestMenu2=.
The same Menu Test item is there, only now I've added a dummy URL parameter to read URL=# and now all the other items now link properly.
The code for this menu is:
Code: Select all
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
menuwidth=149;
itemwidth=149;
alwaysvisible=1;
orientation="vertical";
position="relative";
aI("text=Home;url=/;status=Back To Home Page;");
aI("text=About Me;url=/website/about/about.cfm;pagematch=about.cfm;");
aI("text=Credits;url=/website/credits/credits.cfm;pagematch=credits.cfm;");
aI("text=Downloads;url=/website/downloads/downloads.cfm;showmenu=Downloads;pagematch=downloads.cfm;");
aI("text=DVDs;url=/website/dvd/dvd.cfm;pagematch=dvd.cfm;");
aI("text=Funnies;url=/website/funnies/funnies.cfm;showmenu=Funnies;pagematch=funnies.cfm;");
aI("text=Games;url=/website/games/Games.cfm;showmenu=Games;pagematch=games.cfm;");
aI("text=Links;url=/website/links/links.cfm;pagematch=links.cfm;");
aI("text=News;url=/website/news/news.cfm;showmenu=News;pagematch=news.cfm;");
aI("text=Photos;url=/website/photos/photos.cfm;showmenu=Photos;pagematch=photos.cfm;");
aI("text=Products;url=/website/products/products.cfm;showmenu=Products;pagematch=products.cfm;");
aI("text=Menu Test;url=#;showmenu=Downloads;");
} drawMenus();
I noticed this while working on another site which is less complex. Seems to be a bug. Easily worked around by adding the dummy URL. Can anyone confirm please?