Turning off Main Menu, using relative menus
Turning off Main Menu, using relative menus
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.
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
Ruth