I have a vertical menu in my Website. Now i need a dropdown system in some links.
I've see this example on the internet: http://jsfiddle.net/4jxph/3018/
But i want a full width submenu. The Dropdown System of Sony is what I want.
Dropdown system by Sony: Sony
I've always craetet a full width size dropdown menu.
My Code: http://www.jsfiddle.net/3aK9k/4.
So what i want, when i hover the content
so the submenu and again to the menu link which slidedown the submenu than the submenu should be there without some moves.
I hope I've explain what i want to do. I think it is possible but that overwhelmed my knowledge of JS and jQuery.
Can anyone tell me how to that?
Check your needed code jSFiddle
Download code file from Box
HTML Code
CSS Code
JQuery
If I got you right you don't want the animation, for that simply set the animation time to 0. You dont need
.stop()
and you should consider using.hover()
instead ofmouseenter
andmouseleave
. Here is a link: http://api.jquery.com/hover/Example:
Here is your fiddle with updated code: http://jsfiddle.net/3aK9k/2/
EDIT: I just noticed but you have invalid html your
div
-tag is inside theul
-tag put it in yourli
... seriosly CHECK your markup... thats not the only wrong thing i noticed...EDIT: Uhm... OK... maybe you should rethink your approuch, only because it works you shouldn't use invalid html
I have made slidedown in the fiddle which works exactly like
sony.de
:Updated Fiddle(New)
HTML
CSS
jQuery
Fiddle with delay added like
sony.de
You can achieve that with only CSS. Cleaner, simpler.
Live demo here : http://jsfiddle.net/4jxph/3031/
Here's the modified CSS :
Because you want it, here's the JS solution (cleaner than other answer):
Is that doing the job ? http://jsfiddle.net/3aK9k/27/
HTML
jQuery
FIDDLE