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

value if menu is display


Poster: Snaker
Dated: Sunday July 29 2007 - 23:25:19 BST

hi

I need a value which say my that the Menu is opened at the moment or not.

Because i build a left ckick menu and i use "popup(contextMenu,1)" to oben the menu (display). If click the menu open but if i click again (in the menu) the menu open again. Now I need a value to see if the menu is open or not. if the menu is open the manu do not have to open again.

Re: value if menu is display


Poster: Andy
Dated: Friday November 2 2007 - 9:42:57 GMT

Hi,

The best way is to determine the visibility value of the menu container.

Something like this should do the trick:

Code:
gmobj("menu"+getMenuByName("contextMenu")).style.visibility)


This should contain either "visible" or "hidden" depending on its status

HTH,
Andy