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.
value if menu is display
Re: value if menu is display
Hi,
The best way is to determine the visibility value of the menu container.
Something like this should do the trick:
This should contain either "visible" or "hidden" depending on its status
HTH,
Andy
The best way is to determine the visibility value of the menu container.
Something like this should do the trick:
Code: Select all
gmobj("menu"+getMenuByName("contextMenu")).style.visibility)
HTH,
Andy