I have been looking for a way to make a navigation menu slide down from the top of the browser when the mouse enters the area near it and disappear when the mouse leaves the menu.
I am a lot closer thanks to this question.
The problem I am having is with the animation. It is behaving very strangely. I have emulated my code in JsFiddle to have a look at.
Wait for a moment and move your mouse around the page, try resizing the window etc, and eventually it animates. Obviously this isn't the way intended.
Any advice would be greatly appreciated, as im not sure if im going about this the right way!
EDIT: Just to clear up any confusion - I mean so that the navigation menu doesnt initially appear, then the entire menu itself slides down when the mouse goes near the top of the screen. Kind of like what happens when you set your windows taskbar to "Auto hide".