Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var x,y;
- document.onmouseover= function(e){
- e = e || window.event;
- x = e.clientX;
- y = e.clientY;
- };
- function elementAtMousePosition() {
- return document.elementFromPoint(x,y);
- };
- elementAtMousePosition().style.display = "none";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement