netkod-kod sitesi
  sayfa yükleniyor kodu
 
<SCRIPT LANGUAGE="JavaScript"><br /><!--<br />// autostart - used instead body onload<br />setTimeout('animate()',5);<br />// create row of radio buttons<br />lay(20)<br />// set index of lamp to start animation<br />var current = 0<br />// set speed (pause in milliseconds between each movement)<br />var speed = 100<br />function lay(num) {<br />// assign "greater than" character to variable<br />var gt = unescape("%3e")<br />// open form<br />document.write("<FORM NAME='animation'" + gt)<br />// use loop to lay radio buttons down (all buttons in same group)<br />for (var i = 0; i < num; ++i) {<br />document.write("<INPUT TYPE='radio' NAME='lamps'" + gt)<br />}<br />// close form<br />document.write("</FORM" + gt)<br />}<br />function animate() {<br />// click next radio button<br />document.animation.lamps[current].click()<br />// if radio button is the last one reset variable to 0 (otherwise increment)<br />current = (current == document.animation.lamps.length - 1) ? 0 : ++current<br />// recursive call after speed milliseconds<br />timerID = setTimeout("animate()", speed)<br />}<br />// --><br /></SCRIPT><br /></body></html>
 
 
   
 
Bu web sitesi ücretsiz olarak Bedava-Sitem.com ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz?
Ücretsiz kaydol