AnyLink Drop Down Menu animation
AnyLink Drop Down Menu
http://www.dynamicdrive.com/dynamici...pmenuindex.htm
I am able to get this menu to work but i have need to customize it a little and i have been trying to figure out but i haven't been able to get it to work yet.
What i want is when the menu opens, it does a fade or a scroll to open. likewise when it closes, it fades out or scroll upwards to close.
At first i tried to use mootools for the animation but i couldnt get it to work because i do not know how to use it.
Then i made my own function which decreases the div's size and then does a setTimeout to call itself again until it hits 0. but since the div that is popped up for each of the menu items is the same div, when you leave one of the menu items to go to the other, the second div scrolls shut if the animation isnt complete.
If anyone has any ideas on how to accomplish this or has a better understanding of mootools or anther js framework that would be easier please let me know.
Thanks.