Alright so the code below works fine if I click outside the #nav div. I was asking if it is possible to just move the mouse away from the #nav div to make it disappear. I don\'t
Assign a function that hides the element on the mouseleave event.
mouseleave
$("#nav").mouseleave(function(){ $(this).hide(); });
Fiddle: http://jsfiddle.net/howderek/SRMT8/