Yetkinwebmaster | Web Design, Kodlar, Makaleler
Would you like to react to this message? Create an account in a few clicks or log in to continue.

İlginç Bir Script

Aşağa gitmek

İlginç Bir Script Empty İlginç Bir Script

Mesaj tarafından admin C.tesi Nis. 04, 2009 2:14 pm

Kod:
<SCRIPT LANGUAGE="JavaScript">
            <!--
            // Copyright (c) 2001-2002 Eren ORTAKCI. All rights reserved.
            // Permission given to use the script provided that this notice remains as is.
            // Additional scripts can be found at http://www.erenet.net
            // 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>
admin
admin
Forummoderatör

Forummoderatör

Uyarı Yok
Cinsiyet : Erkek
Mesaj Sayısı : 467
Puan : 1475
Başarı Puanı : 1

https://yetkinwebmaster1.yetkin-forum.com

Sayfa başına dön Aşağa gitmek

Sayfa başına dön

- Similar topics

 
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz