>>>Welcome... JLI Hero's ! Please Follow....! We Care, 1 Heeart, 1 Care, 1 Nation <<<

Senin, 16 Mei 2011

Tulisan Ketik Otomatis

oleh Invisshare
Hello Hero kali ini artikel tentang Tulisan Ketik Otomatis
langsung aja ya hehehe...

1 buka blog kamu
2 apillih rancangan
3 klik tambah gadget
4 masukan code yang di bawah


<div class="widget HTML" id="HTML10">
<h2 align="center" class="title">
</h2>
<div class="widget-content">
<style type="text/css">
</style>
<form name="news">
<div align="center">
<textarea cols="50" name="news2" rows="1" wrap="virtual"></textarea>

</div>
</form>
<script language="javascript">
var newsText = new Array();
newsText[0] = "ISI KATA-KATA SOBAT DI SINI ";
newsText[1] = "ISI KATA-KATA SOBAT DI SINI ";
newsText[2] = "ISI KATA-KATA SOBAT DI SINI   ";
newsText[3] = "ISI KATA-KATA SOBAT DI SINI... ";
newsText[4] = " ISI KATA-KATA SOBAT DI SINI...";
var ttloop = 1;  
var tspeed =70; 
var tdelay = 1000;
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)
    }
  }
}
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>
</div>
</div>

Tidak ada komentar:

Posting Komentar

Check Page Rank of your Web site pages instantly:

This page rank checking tool is powered by Page Rank Checker service

Ping your blog, website, or RSS feed for Free Multiple BacklinksFree Automatic Link