Created (c) by Princexells Seyka (Princelling Saki)

Selasa, 16 Oktober 2012

Membuat Text Berjalan Di Tab Browser


  1.  Login ke bLogger anda.
  2.  Pilih Rancangan >> Edit HTML. 
  3. Cari kode <head>, lalu coPpas kode berikut dibawah kode <head> :


    <script type='text/javascript'>
    //<![CDATA[
    msg = "Text 2";
    msg = "Text 1" + 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()",200);
    }
    scrollMSG();
    //]]>
    </script>

    Ganti tulisan Text 1 dan Text 2 sesuai keinginan anda.

    script type='text/javascript'>
    //<![CDATA[
    msg = "(blog percobaan)";
    msg = "Rain Village" + 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()",200);
    }
    scrollMSG();
    //]]>
    </script>

       yA.., semoga postingku kali ini bermanfaat bagi kalian, para blogger pemula., akhir kata saya ucapkan jangan lupa beri komentar.., hehe.., sEE you !!

sumber : http://dopind.blogspot.com

0 komentar:

Posting Komentar