Phiên bản đầy đủ: jsB@nk » Con trỏ » Con trỏ chuột xoay
URL: https://www.javascriptbank.com/rotating-cursors-script.html
Hiệu ứng làm cho con trỏ chuột trong trang web sẽ xoay liên tục khi ta di chuyển nó.
Phiên bản đầy đủ: jsB@nk » Con trỏ » Con trỏ chuột xoay
URL: https://www.javascriptbank.com/rotating-cursors-script.html
<script><!--/*Rotating Cursor script IE6 (By Muhammad Sufyan| [email protected])*/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-->