Creating Menus on the Fly (not in .js file)

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
keasty
Beginner
Beginner
Posts: 2
Joined: Fri Oct 25, 2002 11:42 am

Creating Menus on the Fly (not in .js file)

Post by keasty »

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
User avatar
trytrix
Super Advanced
Super Advanced
Posts: 92
Joined: Thu Sep 26, 2002 9:46 pm
Location: Flanders / Belgium
Contact:

Post by trytrix »

HI Keasty,

Never tried it that way, but .. did you include :
- the critical line for menu operation
- the style definitions

Greetings

Trytrix
You're Never Fully Dressed Without A :D Smile !

"From Image Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be
keasty
Beginner
Beginner
Posts: 2
Joined: Fri Oct 25, 2002 11:42 am

Fixed it

Post by keasty »

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
Post Reply