Error: 'menuname' is undefined

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Leeson
Advanced
Advanced
Posts: 19
Joined: Tue Aug 10, 2004 12:23 pm

Error: 'menuname' is undefined

Post by Leeson »

Hi! My Milonic menu works fine locally as well as on the server, but when it is "out there" it will not display. The error message says that menuname is undefined, and I have no idea what to do..

url: http://www.mednut.ki.se/research/mmc/index.html

Any help would be greatly appreciated!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I am unable to find the menu code at the location you specify in your HTML (or anywhere else, for that matter!). Hence, the error.

Further, from the JS calls you are using it appears you are using v3 of the menu code, which is no longer developed or supported. You'll need to upgrade to v5 at http://milonic.com/.
John
Leeson
Advanced
Advanced
Posts: 19
Joined: Tue Aug 10, 2004 12:23 pm

Post by Leeson »

Thx, it was a problem with the path to the js. I had just copied all web content to the server instead of published it with a editor. Dunno if that was the problem, but it works nicely now

The menu code is version 5.3, though, and the calls are written as in the examples on milonic webpage, so they should be ok.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Glad it seems to be working.

Note that the current version is 5.40, so you're 10 levels down.

Also, check the install.txt file in the download for the correct JS calls. What you are using is still incorrect.
John
Post Reply