Board Thread:Support Requests - Getting Technical/@comment-5215338-20160330180942

For April Fool's, a wiki of mine would like to have a bit of fun by making a certain image follow the cursor at a small delay and respond to certain interactions the user has with the page. So far, however, I'm not having much luck getting the mouse to follow the cursor... here's my code on Wikia.js:

$(document).ready(function{   $(document).mousemove(function(e){ $("#omochao").stop.animate({left:e.pageX, top:e.pageY}); }); });

And here's what I have on a test page:



If anyone could tell me what I'm doing wrong or notify me if my idea is a breach of ToS or provide any sort of advice regarding this, I would be very appreciative.

(P.S. - I know it will be annoying to some degree, but that's part of the joke, and it makes sense with this fandom) 