Made a simple drop-down menu on jQuery, with a hover on the link, should leave a hidden div:
<a href="#"> Link </a> <div class="dropdown"> Content </div>
How to choose a div following the link so that the div that goes near the link goes and the script works with an unlimited number of these links?
$(function() { $('a').hover(function() { $('div').slideToggle(300); }); });
And I wanted to ask what event is better to hang the disappearance of this menu?