Full version: jsB@nk » Pointer » Trailer » Text Follow Cursor
URL: https://www.javascriptbank.com/text-follow-cursor.html
This is a simple JavaScript to create text follow cursor effect.
Full version: jsB@nk » Pointer » Trailer » Text Follow Cursor
URL: https://www.javascriptbank.com/text-follow-cursor.html
<script><!--//anything follows cursor//by gary//put anything you want in this var and it will follow the cursorvar follow='Welcome to JSBank'//don't change anything belowif (document.all){document.write('<div id="curscroll" style="position:absolute;visibility:hidden">'+follow+'</div>')}function followcursor(){if (document.all){curscroll.style.visibility="visible"}curscroll.style.left=document.body.scrollLeft+event.clientX+10curscroll.style.top=document.body.scrollTop+event.clientY+0}document.onmousemove=followcursor//--></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->