Pages

Wednesday, 1 October 2014

SCRIPT ROMANTIS

Kali Ini admin mau bagi kode script andalan admin yang romantis :D mungkin bisa ditambahkan kata-kata kamu suapaya menyentuh hati sidoi :v

Demo : http://ales.e-ctasia.com/administration.html
nih scriptnya
<html>
<head>
<title>Love You 08 :*</title>
</head>
<body>
<body style="background-image:url(http://yeusoaicat91.files.wordpress.com/2013/04/taochu_bgr_20.gif?w=300&h=230)">
<body oncontextmenu='return false;' onkeydown='return false;' onmousedown='return false;' ondragstart='return false' onselectstart='return false' style='-moz-user-select: none; cursor: default;'>
<embed src="http://www.youtube.com/v/jStNaVCW838&autoplay=1" type="application/x-shockwave-flash"wmode="transparent" width="1" height="1"></embed>
<a style='display:scroll;position:fixed;bottom:0px;left:2px;' title=''><img src='http://gfx.glittergraphicsnow.com/albums/ll149/glittergn/rose/ros001.gif'width="150px" height="100px" alt="./Ez0L" /></a>"
<a style='display:scroll;position:fixed;bottom:0px;right:2px;' title=''><font face=calibri"12">By Mr. I</font>'width="150px" height="100px" alt="./Ez0L" /></a>"
<center>
<br><br><br><br>
<script>

TypingText = function(element, interval, cursor, finishedCallback) {

if((typeof document.getElementById == "undefined") || (typeof element.innerHTML == "undefined")) {

this.running = true; // Never run.

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); // We haven't finished loading yet. Have patience.

return;

}

if(this.currentText == "") this.element.innerHTML = "";

// this.origText = this.origText.replace(/<([^<])*>/, ""); // Strip HTML from text.

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>

<p id="info">
<font face="courier new"><font color="white"><font size="4">Jangan Ada Ragu</font><br>
Jangan Ada Ganggu, Tetap Saling Setia, Tetap Saling Jaga<br>
<br>
<br>
<br>
Karena Rasa Ini Hanya Untukmu<br>
<br>
<b><font face="courier new"><font color="white"><font size="5">Just You In My Heart</font><br>
<b><font face="courier new"><font color="red"><font size="5">Hairunnissa :*</font><br>
<br></p>

<script type="text/javascript">

//Define first typing example:

//Define second typing example (use "slashing" cursor at the end):

new TypingText(document.getElementById("info"), 70, function(i){

var ar = new Array("_"," ","_","_"); return " " + ar[i.length %

ar.length]; });

//Type out examples:

TypingText.runAll();

</script></br>
<script src="http://masterendi.googlecode.com/files/salju.js"></script>
</html>


oke terima duit :v



1 comment: