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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -