Senin, 10 September 2012

Coding Script Message Text















Hello Guys .
Kaliini saya akan share tentang script deface lagi . yaitu message text V.2 . fitur ini sama dengan Coding Deface Text . Oke Langsung ke TKP
>> Cekidot

Bahan
• Notepad


<script type="text/javascript">/*<![CDATA[*/
TypingText = function(element, interval, cursor, finishedCallback) {
if((typeof document.getElementById == "undefined") || (typeof element.innerHTML == "undefined")) {
this.running = true;
return;
}
this.element = element;
this.finishedCallback = (finishedCallback ? finishedCallback : function() { return; });
this.interval = (typeof interval == "undefined" ? 100 : interval);
this.origText = this.element.innerHTML;
this.unparsedOrigText = this.origText;
this.cursor = (cursor ? cursor : "");
this.currentText = "";
this.currentChar = 0;
this.element.typingText = this;
if(this.element.id == "") this.element.id = "typingtext" + TypingText.currentIndex++;
TypingText.all.push(this);
this.running = false;
this.inTag = false;
this.tagBuffer = "";
this.inHTMLEntity = false;
this.HTMLEntityBuffer = "";
}
TypingText.all = new Array();
TypingText.currentIndex = 0;
TypingText.runAll = function() {
for(var i = 0; i < TypingText.all.length; i++) TypingText.all[i].run();
}
TypingText.prototype.run = function() {
if(this.running) return;
if(typeof this.origText == "undefined") {
setTimeout("document.getElementById('" + this.element.id + "').typingText.run()", this.interval);
return;
}
if(this.currentText == "") this.element.innerHTML = "";
if(this.currentChar < this.origText.length) {
if(this.origText.charAt(this.currentChar) == "<" && !this.inTag) {
this.tagBuffer = "<";
this.inTag = true;
this.currentChar++;
this.run();
return;
}
else if(this.origText.charAt(this.currentChar) == ">" && this.inTag) {
this.tagBuffer += ">";
this.inTag = false;
this.currentText += this.tagBuffer;
this.currentChar++;
this.run();
return;
}
else if(this.inTag) {
this.tagBuffer += this.origText.charAt(this.currentChar);
this.currentChar++;
this.run();



return;



} else if(this.origText.charAt(this.currentChar) == "&" && !this.inHTMLEntity) {



this.HTMLEntityBuffer = "&";



this.inHTMLEntity = true;



this.currentChar++;



this.run();



return;



} else if(this.origText.charAt(this.currentChar) == ";" && this.inHTMLEntity) {



this.HTMLEntityBuffer += ";";



this.inHTMLEntity = false;



this.currentText += this.HTMLEntityBuffer;



this.currentChar++;



this.run();



return;



} else if(this.inHTMLEntity) {


this.HTMLEntityBuffer += this.origText.charAt(this.currentChar);

this.currentChar++;

this.run();

return;

} else {

this.currentText += this.origText.charAt(this.currentChar);

}

this.element.innerHTML = this.currentText;

this.element.innerHTML += (this.currentChar < this.origText.length - 1 ? (typeof this.cursor == "function" ? this.cursor(this.currentText) : this.cursor) : "");



this.currentChar++;

setTimeout("document.getElementById('" + this.element.id + "').typingText.run()", this.interval);

} else {

this.currentText = "";

this.currentChar = 0;
this.running = false;

this.finishedCallback();

}

}

/*]]>*/</script>

<br>

<br>

<h2></h2>

<div id="container">

<div id="content-container">

<div id="content">

<h2><center>

<p class=""> </p>

<font color="#ff0000">
<p id="message">

|Welcome To Indonesia Technology Script Web| <br>
|Iam Raafi Teja|
<br>
<br>
<br>
<br>
Profil ==>
<br>
Age 14
<br>
Iam Study
<br>
I Like Hackers But , Hackers is Art
<br>
Bye Bye
<br>
See You

</center>



</br/></font>

<font color="maroon"> </font><br/>
<font color="maroon"></font></p>
<p>&nbsp;</p>
<script type="text/javascript">/*<![CDATA[*/
new TypingText(document.getElementById("message"), 90, function(i){ var ar = new Array("_", " ", "_", " "); return " " + ar[i.length % ar.length]; });
//Type out examples:
TypingText.runAll();
/*]]>*/</script>
</div>
<div id="aside" >
</div>
Demo : Click Here

Selamat Mencoba, Semoga Post ini dapat membatu dan Bermanfaat .
Terimakasih Telah mengunjungi [IT] Indonesia Technology [IT]

0 komentar:

Posting Komentar

- No Flood
- Do Not Spam

Diberdayakan oleh Blogger.
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Sweet Tomatoes Printable Coupons