topical media & game development

talk show tell print

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
  
  
-> </script> <p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size: 1.25 KB -->

[] readme course(s) preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthought(s) appendix reference(s) example(s) resource(s) _

(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.
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-2780434-1"; urchinTracker(); </script>