Neler yeni

Welcome to SATBİL FORUM PAYLAŞIM

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Bir Satbil Forum Efsanesi

Satbil Reklam Alanı

Satbil Forum Reklam

Sayfa Yükleniyor [ Javascript Kodu ]

Ghost

New member
Local time
05:22
Katılım
24 Şubat 2006
Mesajlar
1
Tepkime puanı
2
Puanları
0
Bunu sayfana ekle......

PHP:
<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>
 
shape1
shape2
shape3
shape4
shape7
shape8
Üst