»
EnglishFrenchVietnamese

Print - Text Follow Cursor - JavaScriptBank.com

Full version: jsB@nk » Pointer » Trailer » Text Follow Cursor
URL: https://www.javascriptbank.com/text-follow-cursor.html

Text Follow Cursor © JavaScriptBank.comThis 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



JavaScript
<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-->