You can use your own JavaScript method elementFromPoint(x, y), which returns the element in x, y coordinates in the viewport.
See elementFromPoint w3c project
And, an example code:
<html>
<head>
<title>elementFromPoint example</title>
<script type="text/javascript">
function changeColor(newColor)
{
elem = document.elementFromPoint(2, 2);
elem.style.color = newColor;
}
</script>
</head>
<body>
<p id="para1">Some text here</p>
<button onclick="changeColor('blue');">blue</button>
<button onclick="changeColor('red');">red</button>
</body>
</html>
setInterval() , , .hover(...) css , .