<SCRIPT LANGUAGE="JavaScript">
<!--
// autostart - used instead body onload
setTimeout('animate()',5);
// create row of radio buttons
lay(20)
// set index of lamp to start animation
var current = 0
// set speed (pause in milliseconds between each movement)
var speed = 100
function lay(num) {
// assign "greater than" character to variable
var gt = unescape("%3e")
// open form
document.write("<FORM NAME='animation'" + gt)
// use loop to lay radio buttons down (all buttons in same group)
for (var i = 0; i < num; ++i) {
document.write("<INPUT TYPE='radio' NAME='lamps'" + gt)
}
// close form
document.write("</FORM" + gt)
}
function animate() {
// click next radio button
document.animation.lamps[current].click()
// if radio button is the last one reset variable to 0 (otherwise increment)
current = (current == document.animation.lamps.length - 1) ? 0 : ++current
// recursive call after speed milliseconds
timerID = setTimeout("animate()", speed)
}
// -->
</SCRIPT>
</body></html>
<!--
// autostart - used instead body onload
setTimeout('animate()',5);
// create row of radio buttons
lay(20)
// set index of lamp to start animation
var current = 0
// set speed (pause in milliseconds between each movement)
var speed = 100
function lay(num) {
// assign "greater than" character to variable
var gt = unescape("%3e")
// open form
document.write("<FORM NAME='animation'" + gt)
// use loop to lay radio buttons down (all buttons in same group)
for (var i = 0; i < num; ++i) {
document.write("<INPUT TYPE='radio' NAME='lamps'" + gt)
}
// close form
document.write("</FORM" + gt)
}
function animate() {
// click next radio button
document.animation.lamps[current].click()
// if radio button is the last one reset variable to 0 (otherwise increment)
current = (current == document.animation.lamps.length - 1) ? 0 : ++current
// recursive call after speed milliseconds
timerID = setTimeout("animate()", speed)
}
// -->
</SCRIPT>
</body></html>
Perş. Mayıs 10, 2018 4:16 pm tarafından aLa
» Mobil Sohbet Keyfini Bizimle Yaşayın
Perş. Nis. 12, 2018 7:48 pm tarafından aLa
» Mobil Sohbet Keyfini Bizimle Yaşayın
Perş. Nis. 12, 2018 7:45 pm tarafından aLa
» Mobil Sohbet ve Sohbet Siteleri
Paz Mart 18, 2018 7:57 pm tarafından aLa
» Turk Chat Sohbet
Paz Mart 18, 2018 7:52 pm tarafından aLa
» 1000 Tık 25TL - 1000 Kurulum 500TL (Kurulum Başı 0,50 TL)
Paz Şub. 25, 2018 1:45 pm tarafından SARIYILDIRIM
» 1000 Tık 25TL - 1000 Kurulum 500TL (Kurulum Başı 0,50 TL)
Paz Şub. 25, 2018 12:55 pm tarafından SARIYILDIRIM
» FİFA 18 SATIN AL
Paz Şub. 25, 2018 12:37 pm tarafından SARIYILDIRIM
» FİFA 18 SATIN AL
C.tesi Ocak 06, 2018 10:46 pm tarafından SARIYILDIRIM