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 - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -