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:47
Fade in and out Sub-Menus
Poster: SkyFlyer
Dated: Monday January 26 2004 - 2:50:04 GMT
I've been looking at a lot of the user sites and also stuff on Milonic, and after I while I forget where I was and where I am going!!!
I saw one site where the submenu faded in AND out.
Can anyone point me to where I can find out more about this.
My current menu does the closing dissolve as I move the mouse away.
I am using the downloaded code.
I AM looking forward to the finalized HELP with more descriptions.
I understand the work involved to get a product that works well.
And this does, thanks to Andy and all the folks at Milonic. Great stuff!
Thanks ... 8)
Re: Fade in and out Sub-Menus
Poster: kevin3442
Dated: Monday January 26 2004 - 21:17:57 GMT
SkyFlyer wrote:
...I saw one site where the submenu faded in AND out.
Can anyone point me to where I can find out more about this.
My current menu does the closing dissolve as I move the mouse away...
Can anyone point me to where I can find out more about this.
My current menu does the closing dissolve as I move the mouse away...
The download menu contains the following code in the menuStyle definition, in menu_data.js:
Code:
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
outfilter="randomdissolve(duration=0.3)";
The outfilter is what caused the "fade out" when you mouse off of a menu. To get the same effect... fade in.. when a menu opens, change the overfilter to be the sam as the outfilter, like so:
Code:
overfilter="randomdissolve(duration=0.3)";
Hope that helps,
Kevin
Fade In and Out Sub-Menus
Poster: SkyFlyer
Dated: Tuesday January 27 2004 - 4:08:05 GMT
Thanks for taking time to answer, Kevin.
I guess today I am just fuzzy. Not enough drugs (the allergy kind!). :(
I understand the overfilter statement in the code. And the dissolve works when you remove the mouse.
Your statement to change the overfilter to be the same as the outfilter puzzles me. When and where do you put this statement.
How and where do you put it to control when the menu opens.
I guess a little more of a sample would be what I'm looking for, if you can spare a few moments. If not, it works fine the way it is. Was just trying play with it!
Thanks.