graphic-javascript-effect-cursor-rotate-effect.htm / htm
<!-- ONE STEP TO INSTALL ROTATING CURSORS SCRIPT: 1. Copy the coding into the HEAD of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original: Muhammad Sufyan (sufyan79@yahoo.com ) --> <!-- Web Site: http://www.flagsfinder.cjb.net --> <script> <!-- /* Rotating Cursor script IE6 (By Muhammad Sufyan | http://www.sufyan.cjb.net | sufyan79@yahoo.com) */ var cursors = new Array("e-resize","ne-resize","n-resize","se-resize") var cursorsIndex = 0 var rotationSpeed = 75 // decrease the value to increase the rotation speed and vice versa.(The value MUST be positive.) var direction = 1 // 1 to rotate clockwise and 0 to rotate counter-clockwise //*********Do Not Edit Below******** if (direction) cursors.reverse() function rotateCursor(){ document.body.style.cursor=cursors[cursorsIndex] cursorsIndex++ if (cursorsIndex==cursors.length) cursorsIndex=0 setTimeout("rotateCursor()",rotationSpeed) } window.onload=rotateCursor
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.