CLICK HERE FOR FREE BLOGGER TEMPLATES, LINK BUTTONS AND MORE! »

Selasa, 08 Mei 2012

Cara Membuat Script Berjalan

Copy
<script type='text/javascript'>
        //<![CDATA[

        msg = " Welcome ";
        msg = " - This is My Diary Online " + msg;pos = 0;
        function scrollMSG() {
        document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
        if (pos > msg.length) pos = 0
        window.setTimeout("scrollMSG()",100);
        }
        scrollMSG();
        //]]>
        </script>

di atas </head>

2 komentar: