Siyaset Forum

Siyaset Forum (https://www.siyasetforum.com.tr/index.php)
-   Javascript (https://www.siyasetforum.com.tr/forumdisplay.php?f=399)
-   -   Işıklı Yazı Kodu (https://www.siyasetforum.com.tr/showthread.php?t=57190)

OTTOMAN 02-21-2009 15:56

Işıklı Yazı Kodu
 
Kod:

<table border="0" cellpadding="0" cellspacing="0" width="700">
                        <tr>
                        <td><span id="theText" style="width:100%"><h2>YAZI BURAYA YAZILACAK</h2>
                        <p></span><script>
                        <!--
                        //range of glowing
                        var from = 5;
                        var to = 11;
                        //speed of pulsing
                        var delay = 55;
                        //color of glow
                        var glowColor = "red";
                        //NO MORE EDITING!!!
                        var i = to;
                        var j = 0;
                        //can be called here or whenever you want the text to start pulsing
                        textPulseDown();
                        function textPulseUp()
                        {
                        if (!document.all)
                        return
                        if (i < to)
                        {
                        theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
                        i++;
                        theTimeout = setTimeout('textPulseUp()',delay);
                        return 0;
                        }
                        if (i = to)
                        {
                        theTimeout = setTimeout('textPulseDown()',delay);
                        return 0;
                        }
                        }
                        function textPulseDown()
                        {
                        if (!document.all)
                        return
                        if (i > from)
                        {
                        theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
                        i--;
                        theTimeout = setTimeout('textPulseDown()',delay);
                        return 0;
                        }
                        if (i = from)
                        {
                        theTimeout = setTimeout('textPulseUp()',delay);
                        return 0;
                        }
                        }
                        //-->
                        </script> </td>
                        </tr>
                        </table>


ALPEREN4425 02-21-2009 17:30

Ne için bu. Ya da nerde ve nasıl kullanılıyor.

Ertuğrul ÖZGÜL 02-21-2009 18:05

bende anlamadım bişey

OTTOMAN 02-21-2009 19:11

Bir Javascript kodudur.


All times are GMT +3. The time now is 12:44.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Siyaset Forum 2007-2025