Line 28: | Line 28: | ||
y = event.clientY; | y = event.clientY; | ||
if ( typeof x !== 'undefined' ){ | if ( typeof x !== 'undefined' ){ | ||
− | $("#box-shadow-div").animate({"left": (x-20) + "px"} | + | $("#box-shadow-div").animate({"left": (x-20) + "px"}); |
− | $("#box-shadow-div").animate({"top": (y-20) + "px"} | + | $("#box-shadow-div").animate({"top": (y-20) + "px"}); |
} | } | ||
}, false); | }, false); |
Revision as of 20:06, 4 August 2016