dönen mouseler
<script language="JavaScript"> <!-- Pulse-Spin Script by kurt.grigg@virgin.net image=new Image(); image.src='cursor.gif'; var speed; var currStep = 0; var Xpos=0; var Ypos=0; var Base=100; var N=5; var Split=360/N; if (document.layers){ for (i=0; i < N; i++) document.write('<LAYER NAME="nsstars'+i+'" TOP=-200 LEFT=0><IMG SRC="'+image.src+'"></LAYER>'); } if (document.all){ document.write('<div id="ie" style="position:absolute;top:0;left:0;"><div style="position:relative">'); for (i=0; i < N; i++) document.write('<img src="'+image.src+'" id="iestars" style="position:absolute;top:0px;left:0px">'); document.write('</div></div>'); } (document.layers)?window.captureEvents(Event.MOUSEMOVE):0; function Mouse(evnt){ Ypos = (document.layers)?evnt.pageY:event.y; Xpos = (document.layers)?evnt.pageX:event.x; } (document.layers)?window.onMouseMove=Mouse:document.onmousemove=Mouse; function PulseSpin(){ if (document.all) ie.style.top=document.body.scrollTop; if (currStep < 0.0550) speed=0.001; for (i=0; i < N; i++){ var L=(document.layers)?document.layers["nsstars"+i]:iestars[i].style; L.top=Ypos+Base*Math.sin(currStep+i*Split*Math.PI/180)*Math.sin((currStep)*150); L.left=Xpos+Base*Math.cos(currStep+i*Split*Math.PI/180)*Math.sin((currStep)*150); if (currStep > 0.0540){ speed+=0.0003; L.top=Ypos+Base*Math.sin(currStep+i*Split*Math.PI/180); L.left=Xpos+Base*Math.cos(currStep+i*Split*Math.PI/180); } } if (speed > 0.21){ speed=0.21; Base-=8; } var W=(document.layers)?-window.innerWidth*2:-document.body.clientWidth*2; if (Base < 0){ Base-=30;speed=0; } if (Base <= W){ currStep=0; speed=0.001; Base=100; } currStep+=speed; setTimeout('PulseSpin()',10); } PulseSpin(); //--> </script>
<style type="text/css"> BODY {overflow: scroll; overflow-x: hidden;} </style> </head> <body> <script language="JavaScript1.2"> <!--/*visit http://wsabstract.com*/ var trailLength = 8 // gölge sayısı) var path = "cursor.gif" // image adresi var isIE = false,isNav = false,range = "all.",style = ".style",i,d = 0 var topPix = ".pixelTop",leftPix = ".pixelLeft",images,storage if (document.layers) { isNav = true,range = "layers.",style = "",topPix = ".top",leftPix = ".left" } else if (document.all) { isIE = true } function initTrail() { images = new Array() for (i = 0; i < parseInt(trailLength); i++) { images[i] = new Image() images[i].src = path } storage = new Array() for (i = 0; i < images.length*3; i++) { storage[i] = 0 } for (i = 0; i < images.length; i++) { (isIE) ? document.write('<div id="obj' + i + '" style="position: absolute; z-Index: 100; height: 0; width: 0"><img src="' + images[i].src + '"></div>') : document.write('<layer name="obj' + i + '" width="0" height="0" z-index="100"><img src="' + images[i].src + '"></layer>') } trail() } function trail() { for (i = 0; i < images.length; i++) { eval("document." + range + "obj" + i + style + topPix + "=" + storage[d]) eval("document." + range + "obj" + i + style + leftPix + "=" + storage[d+1]) d = d+2 } for (i = storage.length; i >= 2; i--) { storage[i] = storage[i-2] } d = 0 var timer = setTimeout("trail()",10) } function processEvent(e) { if (isIE) { storage[0] = window.event.y+document.body.scrollTop+10 storage[1] = window.event.x+document.body.scrollLeft+10 } else { storage[0] = e.pageY+12 storage[1] = e.pageX+12 } } if (isNav) { document.captureEvents(Event.MOUSEMOVE) } if (isIE || isNav) { initTrail() document.onmousemove = processEvent } //--> </script>