So basically I am trying to build this site, where there is a page with a bunch of stuff on it, and in order to find the stuff you need to search around the page using this sort of flashlight / tool thing to see what lies underneath. Here is the jsfiddle for a better example:
http://jsfiddle.net/pwneth/hj57k/1896/
CSS:
#tail {
border: 1000px solid #fff;
position: absolute;
float: left;
height: 100px;
width: 100px;
background-color: rgba(0,0,0,.0);
z-index: 100;
top: 0px;
left: 0px;
}
jQuery:
$(document).bind('mousemove', function(e){
$('#tail').css({
left: e.pageX - 1050,
top: e.pageY - 1050
});
});
HTML:
<div id="content"></div>
<div id="tail"></div>
Essentially what I want works except I want to be able to access the div that is behind the current one so that it can be clicked on and bring me to a new page. Is something like this possible? Thanks for the help.