»
AnglaisFrançaisVietnamien

Imprimer - Rotation Script Curseurs - JavaScriptBank.com

Version complète: jsB@nk » Pointer » Rotation Script Curseurs
URL: https://www.javascriptbank.com/rotating-cursors-script.html

Rotation Script Curseurs © JavaScriptBank.comCet JavaScript donne un effet comme le curseur est en rotation en sens horaire ou anti-horaire. En fait, les curseurs sont en train de changer les types. Très simple, mais cool effet!

Version complète: jsB@nk » Pointer » Rotation Script Curseurs
URL: https://www.javascriptbank.com/rotating-cursors-script.html



JavaScript
<script><!--/*Rotating Cursor script IE6 (By Muhammad Sufyan| sufyan79@yahoo.com)*/var cursors = new Array("e-resize","ne-resize","n-resize","se-resize")var cursorsIndex = 0var 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=0setTimeout("rotateCursor()",rotationSpeed)}window.onload=rotateCursor//--></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->