I need .slideToggle to work on hover (jQuery)
问题 I've got a navigation div that toggles open on click. My client wants the link that opens the div to link to a page, and toggle the div on hover instead (so the link can lead to another page on click). Here's the code I've got so far: <script> $(document).ready(function(){ $("#drawer").hide(); $(".toggle-drawer").show(); $('.toggle-drawer').click(function(){ $("#drawer").slideToggle(); }); }); </script> Here's the link to the site: http://gearthirty.com (click the "supersite" link to see what