html - Jquery: Dropdownmenu Problems Getting Div to stay once open and mouseover, it closes before i can even put my mouse into it -
i new jquery, in month times in...i under coding, still having problems piecing project together. trying create dropdown menu when put mouse on link hidden shown , want able browsing div, when try put mouse div closes , not stay open because have taken mouse off of link. how keep div open browse?
link project http://www.nestudiosonline.com/test.php
the jquery;
// javascript document $(document).ready(function() { // shows hidden div $('#about').mouseover(function() { $('#aboutdke').css('display','block'); return false; }); // hides hide div again $('#about').mouseleave(function() { $('#aboutdke').css('display','none'); return false; }); }); i know there should more code cant figure out. thanksssss
$(document).ready(function() { // shows hidden div $('#about').mouseover(function() { $('#aboutdke').show(); return false;// there no need of return false here }); // hides hide div again $('#changeit sub menu id').mouseleave(function() { $('#aboutdke').hide(); return false; // there no need of return false here }); }); user jquery hover intent plugin nice add delays also
Comments
Post a Comment