»
EnglishFrenchVietnamese

Print - Mouse tracking window - JavaScriptBank.com

Full version: jsB@nk » Utility » Mouse tracking window
URL: http://www.javascriptbank.com/mouse-tracking-window.html

Mouse tracking window © JavaScriptBank.comAdd this JavaScript in your webpages if you want to track cursor.

Full version: jsB@nk » Utility » Mouse tracking window
URL: http://www.javascriptbank.com/mouse-tracking-window.html



JavaScript
<SCRIPT language=javascript>function opennew(){newwin = window.open("", "newwindow", "height=200, width=200, scrollbars=no")newwin.document.write("New window")}function track(){x = event.clientXy = event.clientYdocument.form.tracker.value = x + ", " + y;xpos = x + 100ypos = y + 100newwin.moveTo(xpos,ypos);}// object.style.pixelLeft</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BODY onmousemove=track(); onload=opennew();><FORM name=form><INPUT name=tracker size="20"></FORM></BODY><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->