Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:20
Creating Menus on the Fly (not in .js file)
Poster: keasty
Dated: Friday October 25 2002 - 11:49:04 BST
Can anyone point me in the right way to do this please.
When I put an addmenu(........) within <script> tags on the page - NOT in the menu_array.js file, I get an error message "gm has no properties - line 34 mmenu.js" (all browsers)
Thanks for your help
Rob
Poster: trytrix
Dated: Friday October 25 2002 - 12:18:07 BST
HI Keasty,
Never tried it that way, but .. did you include :
- the critical line for menu operation
- the style definitions
Greetings
Trytrix
Fixed it
Poster: keasty
Dated: Monday October 28 2002 - 13:30:05 GMT
Thanks for the reply Trytrix,
If anyone is interested - the fix is simple, you just have to remember to do a dumpmenus() after the addmenu(...) bit on the page.
Cheers
Rob