I have created an overlay which covers the entire page, I am looking for a way to either click on the body to close the overlay and/or using the escape key:
<div id="navigationPop" class="myContent">
<ul>
<li>Search</li>
</ul>
</div>
function toggleDiv(divId) {
$("#"+divId).fadeToggle();
}