//for the body animateCursor(['folder/path-to-image1.jpg', 'folder/path-to-image2.png...']); //for individual elements, like the list tag animateCursorForElement(['folder/path-to-image1.jpg', 'folder/path-to-image2.png...'], "li");
<script src="animatedWebCursors.js"></script>
bananaani();//banana dinosau2ani();//the cute dinosaur dinosaurani();//the dinosaur...
Like mentioned, you can make a theme with cursors by applying a specific animated cursor (or static cursor) to individual elements (tags), such as button, a, input...
Try mousing over these elements for a small demo!
window.addEventListener("load",function(){ //default cursor (for the page) dinosau2ani(); //other elements dinosaurani_tag("p"); bananaani_tag("button"); handnoani_tag("input"); dinosaurani_tag("a"); handani_tag("h1"); horseani_tag("h2"); pianoani_tag("h3"); hourglasani_tag("h4"); handwaitani_tag("h5"); wagtailani_tag("h6"); });
animateCursor(['Custom/snoopy-frame1.png', 'Custom/snoopy-frame2.png']);
//an example of a folder nested in the "Custom/" folder... paths are relative within the "cursorImages/" folder... animateCursor(['Custom/kitty/kitty1-frame1.png', 'Custom/kitty/kitty1-frame2.png']);
animateCursor(['Custom/partygirl/partygirl-frame1.png', 'Custom/partygirl/partygirl-frame2.png', 'Custom/partygirl/partygirl-frame3.png', 'Custom/partygirl/partygirl-frame4.png', 'Custom/partygirl/partygirl-frame5.png', 'Custom/partygirl/partygirl-frame6.png', 'Custom/partygirl/partygirl-frame7.png', 'Custom/partygirl/partygirl-frame8.png', 'Custom/partygirl/partygirl-frame9.png', 'Custom/partygirl/partygirl-frame10.png', 'Custom/partygirl/partygirl-frame11.png', 'Custom/partygirl/partygirl-frame12.png']);
animateCursor(['Custom/flyingheart/flyingheart-frame1.png', 'Custom/flyingheart/flyingheart-frame2.png', 'Custom/flyingheart/flyingheart-frame3.png', 'Custom/flyingheart/flyingheart-frame4.png', 'Custom/flyingheart/flyingheart-frame5.png', 'Custom/flyingheart/flyingheart-frame6.png', 'Custom/flyingheart/flyingheart-frame7.png'])
animateCursor(['Custom/kitty/hkanicursor-frame1.png', 'Custom/kitty/hkanicursor-frame2.png', 'Custom/kitty/hkanicursor-frame3.png', 'Custom/kitty/hkanicursor-frame4.png']);
animateCursor(['Custom/sparkle/CursorStarSparkle-frame1.png', 'Custom/sparkle/CursorStarSparkle-frame2.png', 'Custom/sparkle/CursorStarSparkle-frame3.png', 'Custom/sparkle/CursorStarSparkle-frame4.png', 'Custom/sparkle/CursorStarSparkle-frame5.png', 'Custom/sparkle/CursorStarSparkle-frame6.png', 'Custom/sparkle/CursorStarSparkle-frame7.png', 'Custom/sparkle/CursorStarSparkle-frame8.png', 'Custom/sparkle/CursorStarSparkle-frame9.png', 'Custom/sparkle/CursorStarSparkle-frame10.png', 'Custom/sparkle/CursorStarSparkle-frame11.png', 'Custom/sparkle/CursorStarSparkle-frame12.png', 'Custom/sparkle/CursorStarSparkle-frame13.png', 'Custom/sparkle/CursorStarSparkle-frame14.png', 'Custom/sparkle/CursorStarSparkle-frame15.png', 'Custom/sparkle/CursorStarSparkle-frame16.png', 'Custom/sparkle/CursorStarSparkle-frame17.png', 'Custom/sparkle/CursorStarSparkle-frame18.png', 'Custom/sparkle/CursorStarSparkle-frame19.png', 'Custom/sparkle/CursorStarSparkle-frame20.png']); //and here is an example of a custom animation set to a list tag... animateCursorForElement(['Custom/sparkle/CursorStarSparkle-frame1.png', 'Custom/sparkle/CursorStarSparkle-frame2.png', 'Custom/sparkle/CursorStarSparkle-frame3.png', 'Custom/sparkle/CursorStarSparkle-frame4.png', 'Custom/sparkle/CursorStarSparkle-frame5.png', 'Custom/sparkle/CursorStarSparkle-frame6.png', 'Custom/sparkle/CursorStarSparkle-frame7.png', 'Custom/sparkle/CursorStarSparkle-frame8.png', 'Custom/sparkle/CursorStarSparkle-frame9.png', 'Custom/sparkle/CursorStarSparkle-frame10.png', 'Custom/sparkle/CursorStarSparkle-frame11.png', 'Custom/sparkle/CursorStarSparkle-frame12.png', 'Custom/sparkle/CursorStarSparkle-frame13.png', 'Custom/sparkle/CursorStarSparkle-frame14.png', 'Custom/sparkle/CursorStarSparkle-frame15.png', 'Custom/sparkle/CursorStarSparkle-frame16.png', 'Custom/sparkle/CursorStarSparkle-frame17.png', 'Custom/sparkle/CursorStarSparkle-frame18.png', 'Custom/sparkle/CursorStarSparkle-frame19.png', 'Custom/sparkle/CursorStarSparkle-frame20.png'], "li");
animateCursor(['Custom/doomskull-frame1.png', 'Custom/doomskull-frame2.png'])
animateCursor(['Custom/DragonflyCMcursor/DragonflyCMcursor_frame1.png','Custom/DragonflyCMcursor/DragonflyCMcursor_frame2.png','Custom/DragonflyCMcursor/DragonflyCMcursor_frame3.png','Custom/DragonflyCMcursor/DragonflyCMcursor_frame4.png']);
animateCursor(['Custom/sparkle/cursor2-1_frame1.png', 'Custom/sparkle/cursor2-1_frame2.png']);
animateCursor(['Custom/sparkle/cursor8-frame1.png', 'Custom/sparkle/cursor8-frame2.png']);
animateCursor(['Custom/cursor-1_frame1.png', 'Custom/cursor-1_frame2.png', 'Custom/cursor-1_frame3.png', 'Custom/cursor-1_frame4.png']);
animateCursor(['Custom/sparkle/cursor1_frame1.png', 'Custom/sparkle/cursor1_frame2.png']);
animateCursor(['Custom/cursor_cutepronto2_frame1.png', 'Custom/cursor_cutepronto2_frame2.png']);
animateCursor(['Custom/cupcakecursor/cupcakecursor_frame1.png', 'Custom/cupcakecursor/cupcakecursor_frame2.png', 'Custom/cupcakecursor/cupcakecursor_frame3.png']); //example of this custom animation set to the bold tag... animateCursorForElement(['Custom/cupcakecursor/cupcakecursor_frame1.png', 'Custom/cupcakecursor/cupcakecursor_frame2.png', 'Custom/cupcakecursor/cupcakecursor_frame3.png'], "strong");
animateCursor(['Custom/c035a_frame1.png', 'Custom/c035a_frame2.png', 'Custom/c035a_frame3.png', 'Custom/c035a_frame4.png']);