dropdown menu
- Started
- Last post
- 8 Responses
- timkortman
Can anybody tell me how to achieve the green hover slide down and slide up menu. I like how it does not push any of the content down but slides over top. Non-flash.
http://www.nikesnowboarding.com/…
Thanks.
- acescence0
absolutely positioned div with a z-index under another div with a higher z-index, use javascript to change the top position on hover.
- timkortman0
can you point me to a javascript example that would do this?
- timkortman0
Great!! Works perfectly!! Thanks
- timkortman0
One more question though...is there a way to hover the header as well as the menu to start the dropdown function?
- timkortman0
Got it. Thanks again. I promise this is the last question...Everything works but when you mouseout for example to the address bar the slide up function does not work. The sliding menu stays out. I would like the functionality to only stay open when you are hovered on the menu or the header divs.
- acescence0
https://gist.github.com/d6527c90…
also check out the hoverintent plugin to put a small delay on opening/closing to make it a bit smoother: