jquery newbie (more designer than programmer) here...
I have a button on my page that triggers (via hover) a layer pop-up. I
currently have the layer pop-up disappearing once a user takes action
within the layer but I would like the layer to disappear if the user
clicks anywhere else on the page.
I can't seem to figure out the best jquery function that would best
handle this.
Right now, my current line of thinking is something like the
following:
// while hovering over the popped up layer stay visible
$(".popup_layer").hover(function () {
$(".popup_layer").show();
},function() {
...
});
Any thoughts or direction?