SEARCH

Loading
Home » , » 16.Membuat Typing Text

16.Membuat Typing Text

Written By Nina Melati on Selasa, 15 Februari 2011 | 2/15/2011 11:35:00 PM





Cara Membuat Typing Text di Blog dan Web
Cara Membuat Typing Text di Blog dan Web

Ini adalah Scriptnya :

Copy Paste Kode dibawah :


<form name="news">
<textarea name="news2" cols=50 rows=3 wrap=virtual></textarea>
</form>

<script language=JavaScript>
//Visit http://www.iklan88.blogspot.com

var newsText = new Array();
newsText[0] = "Selamat Datang di Web Iklan Gratis Top ini";
newsText[1] = "Semoga Anda menemukan informasi yang dibutuhkan";
newsText[2] = "Jangan Lupa meninggalkan komentar dan Klik Iklan";
newsText[3] = "Terima kasih telah berkunjung";
newsText[4] = "Kunjungan Anda menyelamatkan Saya";
newsText[5] = "Kunjungan Anda menyelamatkan Saya";
var ttloop = 1;    // Repeat forever? (1 = True; 0 = False)
var tspeed = 50;   // Typing speed in milliseconds (larger number = slower)
var tdelay = 1000; // Time delay between newsTexts in milliseconds

// ------------- NO EDITING AFTER THIS LINE ------------- \\
var dwAText, cnews=0, eline=0, cchar=0, mxText;

function doNews() {
  mxText = newsText.length - 1;
  dwAText = newsText[cnews];
  setTimeout("addChar()",1000)
}
function addNews() {
  cnews += 1;
  if (cnews <= mxText) {
    dwAText = newsText[cnews];
    if (dwAText.length != 0) {
      document.news.news2.value = "";
      eline = 0;
      setTimeout("addChar()",tspeed)
    }
  }
}
//Visit http://www.iklangratis-top.co.cc
function addChar() {
  if (eline!=1) {
    if (cchar != dwAText.length) {
      nmttxt = ""; for (var k=0; k<=cchar;k++) nmttxt += dwAText.charAt(k);
      document.news.news2.value = nmttxt;
      cchar += 1;
      if (cchar != dwAText.length) document.news.news2.value += "_";
    } else {
      cchar = 0;
      eline = 1;
    }
    if (mxText==cnews && eline!=0 && ttloop!=0) {
      cnews = 0; setTimeout("addNews()",tdelay);
    } else setTimeout("addChar()",tspeed);
  } else {
    setTimeout("addNews()",tdelay)
  }
}

doNews()
</script>Catatan :
Ganti Url Anda Punya

Ini adalah Typing Text tersebut
Selamat Mencoba Semoga Bermanfaat dan Sukses  ya..........




Share this article :

0 Comment:

FB Comment

Translate





Visitor Site

Page Rank

free counters
 
Support : Your Link | Your Link | Your Link
Copyright © 2013. IKLAN88 - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger