How to close the menu?
How to close the menu?
I want to make a menu such as popup ads. And I can't find any functions on how to close the menu. If anybody knows please help.
Hi,
You could put this function at the top of the menu_data file and then call it in the aI
That aI string could be an image also, like an X
Ruth
You could put this function at the top of the menu_data file and then call it in the aI
Code: Select all
function mm_closeClickedMenu()
{
menuDisplay(_mi[_itemRef][0], 0);
}
Code: Select all
aI("text=Close;clickfunction=mm_closeClickedMenu();");
Code: Select all
aI("image=close.gif;clickfunction=mm_closeClickedMenu();");