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:44

showing 2 menus


Poster: krilik
Dated: Thursday January 11 2007 - 18:12:09 GMT

i am testing the menus before editinf my main site

i tried to hide the top menu and leave only the menu which in the table
but i didnt success

http://forum.navy.org.il/web/1.php

please help


Poster: Ruth
Dated: Thursday January 11 2007 - 19:09:37 GMT

Hi,

If both menus use the same file to get the submenus, you can't just use code to blank that file, i.e. set it off with the <!-- stuff. You'd need to go into the file and block the alwaysvisible=1; either make it =0; or put // in front of alwaysvisible=1;

If this isn't what you mean, I must be misunderstanding. So could you explain more fully.

Ruth


Poster: krilik
Dated: Thursday January 11 2007 - 19:23:26 GMT

well hiding its not the best solution
there is a way to delete the top menu
and leave only the lower menu which on the table?


Poster: Ruth
Dated: Thursday January 11 2007 - 20:25:12 GMT

I'm not sure what it is you want to do? If you don't want that top menu to show then get rid of it from the file.

This is your problem, both those menus use the same sub menus. So, either you can set the alwaysvisible=1; to alwaysvisible=0 in the menu_data_hebrew.js file which means it won't show but the one in the table will and it will be able to access the submenus.

If you just want to get rid of it, then take it out of the data file totally. If you want to have both and only show one at a time for testing, then I suggest you put the one in the menu_data_hebrew.js file in it's own file. Make sure you put a drawMenus(); at the end. Then you would have a file for the main absolutely positioned menu, one for the main relative positioned [that's actually in the table] and one for the sub menus that they both call.

By the way, you need to rename one of those main menus, say main menu and main menu 1, they should have the same name that might cause problems.

If this is not what you want, can you please be really specific about what it is you want.

Ruth


Poster: krilik
Dated: Thursday January 11 2007 - 20:45:38 GMT

ok i have succeded
thanks for the help
it works fine now