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

Problem putting the same URL in different menu items


Poster: andyg
Dated: Wednesday October 1 2003 - 16:43:49 BST

Dear Support

I am finding that I cannot put the same URL in more than one menu item without getting the following javascript error:

Error: '_mi[...].18' is not an object

If I make the URLs different e.g. url=/about/index.htm and url=/about/ both of which point to the same page all is OK but this is not always possible.

Is there any solution to this problem?

Thanks
Andy


Poster: Hergio
Dated: Wednesday October 1 2003 - 16:45:38 BST

Are you referring to the same menu or are these items in different menus? And do you have a URL?


Poster: andyg
Dated: Wednesday October 1 2003 - 16:49:24 BST

The URLs are in different sub menus of the same top level menu.

The problem can be seen on our test server:
http://test.bioscience2004.org/

If you click on the Abstracts button you will see what I mean. I should have said I am testing this menu on a PC with Win 2K and IE 5.0

Thanks
Andy


Poster: Hergio
Dated: Wednesday October 1 2003 - 21:22:27 BST

I viewed it in IE6 with Win2k and see no such problems. I see two items in the abstracts menu with the same URL, but no problems. I also could not find another menu with a duplicate link as that in abstracts. I would upgrade, and for your users with 5.0, I would slightly change the links maybe, eh?


Poster: andyg
Dated: Thursday October 2 2003 - 16:45:00 BST

Thanks for the suggestion. Its true there were no other links to the abstract page but there is definitely a problem with IE5. If I change the link from /abstracts/ to /abstracts/default.htm it seems to work OK but on other menu items to other pages the default.htm needs to be removed!!! There doesn't seem to be any consistency about this problem.

Could the problem have something to do with the highlighting of the menu item based on the current page? As I am not using this facility is there any way to disable it or remove the code for this feature altogether?

It is all very well us upgrading to IE6 but what about all the outside visitors to our site? I don't want to make the site unusable to a whole bunch of people.

Any suggestions would be gratefully received.

Thanks
Andy


Poster: Hergio
Dated: Thursday October 2 2003 - 18:05:15 BST

Any references you have to pagecolor or pageitem in your styles or your actual menu code, comment them out by putting a // at the beginning of the line. If pagecolor and the like are not defined, it may not even look at your URLs for matching.


Poster: andyg
Dated: Friday October 3 2003 - 9:03:00 BST

Hi

I had already done that. It didn't help! Sorry!

Andy