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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:27

Two menus (same style) on one page?


Poster: wwwolf
Dated: Wednesday August 21 2002 - 12:27:10 BST

Hi - I just downloaded sample 15 (headers as dividers) and played with it a bit and am impressed with the flexibility and how easy it is to configure. First admission - my knowledge of javascript is rudimentary, so forgive me if I ask anything really dumb... A couple of quick questions, before I spend hours messing around trying to do the impossible:

1) Can I put two of these menus on one page? I want to put one down each side on a Home Page. Does that give me problems with functions to generate the second interfering with the first? Are there simple ways to fix this in the user-configurable script, or only by editing the 'master' one (gulp!)

2) Can I then, on the rest of the site, only make one appear by default, and the other appear by clicking on a link? I have a feeling I ought to know how to do that, but it has escaped me right now.... something to do with putting the script in the HEAD and then calling it onclick ...?

If the answers are non-trivial and/or simply "RTFM" I'll understand...
Thanks! Jon

Think I answered q1


Poster: wwwolf
Dated: Wednesday August 21 2002 - 12:32:14 BST

Yay! I think I just answered question 1 by copying the main menu and changing its name and position. Then I guess I just edit all its content, links etc. Cool! :D

Second question ought to be easy... ferretting madly for book/examples... :?


Poster: wwwolf
Dated: Wednesday August 21 2002 - 13:10:44 BST

Hmmm... is the best way to do #2 to define a one-element always-visible menu as the link to "reactivate" the menu, and then the whole of the rest of the menu as a sub-menu from that?