javascript - Drop menu with jQuery doesn't work on mouseover -



javascript - Drop menu with jQuery doesn't work on mouseover -

i trying simple drop menu show when mouseover, script shows div links.

it works fine when seek select 1 link other div hides.

jquery(document).ready(function() { jquery("#menu_link").mouseover(function() { jquery(".1").show(); }); jquery("#menu_link").mouseout(function() { jquery(".1").hide(); }); });

http://jsfiddle.net/sx8o1tbh/1/

if go , set cursor on word "inicio" see shows other div links when seek go new div hides, think wrong in jquery code.

thanks help.

the problem not in javascript code. changed css , avoid gap between menu , submenu:

#show_links { top:35px; position:absolute; min-width:10%; width:auto; min-height:100px; height:auto; border:2px solid; }

http://jsfiddle.net/sx8o1tbh/7/

javascript jquery

Comments

Popular posts from this blog

c# - ASP.NET MVC Sequence contains no matching element -

java - Parsing XML, skip certain tags -

rest - How to invalidate user session on inactivity in a stateless server? -