I have a floating div that gets displayed, and I want it to be hidden when the user clicks off the div. This would be similar to the .hover() function callback when hoverin
If you're using Jquery, you could use a selector like:
$("*:not(#myDiv)").live("click", function(){ $("#myDiv").hide(); });