Selasa

Membuat Pemilihan Link Acak

 
 
 
Tau ga yang diatas itu apa? Coba aja biar ga penasaran  :). Mau punya yang kaya gitu . Copy Tuh Script dibawah , taroh dimana aja bisa kok :)
<script>  /* Wheel of links script Bobiie.blogspot.com *
var count=0 function dothis(){ setTimeout("document.wheel.wheel2.selectedIndex =1000",100) setTimeout("document.wheel.wheel2.selectedIndex =count",200) setTimeout("document.wheel.wheel2.selectedIndex =1000",300) setTimeout("document.wheel.wheel2.selectedIndex =count",400) setTimeout("document.wheel.wheel2.selectedIndex =1000",500) setTimeout("document.wheel.wheel2.selectedIndex =count",600) setTimeout("window.location=document.wheel.wheel2.options[document.wheel.wheel2.selectedIndex].value",800) } function animate(){ var countfinal=Math.round(Math.random()*(document.wheel.wheel2.length-1)) document.wheel.wheel2.selectedIndex =count if (count==countfinal){ dothis() return } if (count<document.wheel.wheel2.length) count++ else count=0 setTimeout("animate()",50) } </script> <form method="POST" name="wheel">   <div align="center"><center>     <p>       <select name="wheel2" size="8">        
<option value="aarriiss.com">Guru Gue</option> 
<option value="Vhenfamz.com">Website Gue</option>        
<option value="createdbyboby.blogspot.com">--Trap--</option>      
</select>   
</p>   </center></div><div align="center"><center><p><input type="button" value="Semoga ga sial ."   name="B1" onClick="animate()"></p>   </center></div> </form>

Ganti yang berwarna merah dengan keinginan anda , terimah kasih :)

Tidak ada komentar:

Posting Komentar