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

Javascript undefined errors


Poster: j.dyni
Dated: Tuesday February 17 2004 - 17:32:38 GMT

I'm having problems getting the menus to work correctly on my site, http://www.techsmith.com

The current error I see is:
A Runtime error has occurred.
Do you wish to debug?

Line: 13
Error: 'menuStyle' is undefined.

I'm not sure what's going on. I've downloaded the latest code and updated the milonic_src, mmenuns4 and mmenudom .js files. I've tried looking to see if my relative links to menu_data.js were wrong or if I'm missing "" tags anywhere, and while that seems to have fixed earlier validation issues, it hasn't helped with this one.

Any help would be most appreciated.

Thanks,
Jennifer
[/img]


Poster: John
Dated: Tuesday February 17 2004 - 18:00:11 GMT

In the pages I found that fail I notice you do not have the complete JS calls to the menu code files. You have only...
Code:
<SCRIPT language=JavaScript src="/milonic_src.js" type=text/javascript></script>
<SCRIPT language=JavaScript src="/menu_data.js" type=text/javascript></script>

You're missing the other 2 lines, which you do have on your other pages that do not generate errors.