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

Turning off Main Menu, using relative menus


Poster: al9000
Dated: Tuesday February 17 2004 - 19:36:45 GMT

Quick question, hopefully not too ignorant as I have just started using Mionic Menus, works great, and I am somewhere just below intermediate with Jscript. I put the JS files in my root directory and used the menu_data.js file to make a vertical menu, then saw how others use the relative menu which I put the with(......) drawMenus() code in the table cell and it works perfect, problem is I am not sure how to shut down the vertical menu that still pops up. I put alwayactive=0 but now it shut off all my pages which makes sense, not sure I am getting how to use the JS files across the site.


Poster: Ruth
Dated: Wednesday February 18 2004 - 1:51:16 GMT

Seeing the site would help us understand. I think what you are saying is you made the menu_data.js file to have all your data creating your menu and all it's submenus. You then decided to put the 'mainmenu' the vertical one you're talking about in a table cell with the script code? And, now it shows up in the table like you want, but it also shows up wherever it was originally? If that's correct, it's because you need to remove the part you put in the script code in the table from the menu_data.js file. The menu is 'duplicating it' because it's there twice, once in the file and once in the table. Just leave all the submenus and styles in the menu_data.js file and remove everything from the with() etc, that you included but NOT the drawmenus, leave that in there and on the page as you have it. Hope I understood.

Ruth

Yes!


Poster: al9000
Dated: Wednesday February 18 2004 - 15:09:38 GMT

You are right on the mark ;)

I have that idea buzzing in my head, but I am so stressed out I wanted to be sure with the subject matter experts. :idea:

Thanks again!! :D