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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:31

How to make menu hide/disappear?


Poster: cuppy
Dated: Wednesday July 17 2002 - 10:57:00 BST

Hi all,

Does anyone have any idea on how to make the menu bar hide and show from a function call?

Currently it is always visible. I need to make the menu bar disappear when i call certain function and reappear when i call another function.

Thanks!

Esther


Poster: Andy
Dated: Wednesday July 17 2002 - 11:06:22 BST

Try this

Code:
mn=getMenuByName("mainmenu")
SDiv("menu"+mn,0);


You can replace "mainmenu" with your menu name.

Also the second parameter in SDiv is 1 for on, 0 for off

Cheers
Andy


Poster: cuppy
Dated: Thursday July 18 2002 - 3:07:27 BST

thanks alot! :mrgreen: