<script> <!-- 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 name="wheel" method="POST"> <div align="center"><center><p><select name="wheel2" size="6"> <option value="ENDEREÇO DO LINK 1"/>Link 1 <option value="ENDEREÇO DO LINK 2"/>Link 2 <option value="ENDEREÇO DO LINK 3"/>Link3 <option value="ENDEREÇO DO LINK 4"/>Link 3 <option value="ENDEREÇO DO LINK 5"/>Link 4 <option value="ENDEREÇO DO LINK 6"/>Link 5 </select></p> </center></div><div align="center"><center><p><input value="Clique" name="B1" onclick="animate()" type="button"/></p> </center></div> </form>
0 Comments:
Postar um comentário
×÷·.·´¯`·)»JuGifs«(·´¯`·.·÷×
Obrigada pelo Comentário!
Logo vou responder .. Bjs a todos!
×÷·.·´¯`·)»JuGifs«(·´¯`·.·÷×