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:32
Changing the script value (alwaysVisible) dynamically
Poster: sxarumu
Dated: Wednesday July 4 2007 - 13:32:22 BST
Hi,
I want to hide and show the menu based on a click of an image or on mouseover of an image. To do this, how do we change the value for the alwaysVisible field in the js file to 0.
Or Is there any other way to do the same.
Your help in this will be greatly appreciated.
Thanks
Siva
Poster: Ruth
Dated: Thursday July 5 2007 - 3:38:49 BST
Hi,
See this post and my response on how to do this
http://www.milonic.com/forum/viewtopic. ... 3289#43289
If you need more info, post back.
Ruth
Poster: sxarumu
Dated: Thursday July 5 2007 - 5:21:55 BST
Ruth wrote:
Hi,
See this post and my response on how to do this
http://www.milonic.com/forum/viewtopic. ... 3289#43289
If you need more info, post back.
Ruth
See this post and my response on how to do this
http://www.milonic.com/forum/viewtopic. ... 3289#43289
If you need more info, post back.
Ruth
Thanks Ruth for your information.
I would like to see the menu that came up after clicking the button to remain in the screen until I click on the other button which will bring up another popup.
Thanks.
Poster: Ruth
Dated: Friday July 6 2007 - 7:58:24 BST
Hi,
Try adding keepalive=1; So in what I posted it would be
Code:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=10;
aI("image=blueheaderleft.gif;showmenu=real main;openonclick=1;keepalive=1;");
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=10;
aI("image=blueheaderleft.gif;showmenu=real main;openonclick=1;keepalive=1;");
That should do it. If not, you'll need to provide the page with the menu so I can work it out using what you have.
Ruth