<SCRIPT LANGUAGE="JavaScript"><br /><!-- Begin<br />/*<br />OzyButton! v 1.0<br />*/<br />var outMsg = "";<br />var i = 0;<br />var lineNo = 1;<br />var timerDM=null;<br />var msg = " ";<br />function araVob() {<br />}<br />var ScreenLine = new araVob();<br />ScreenLine[1] = "Yazinizi buraya yazinnnn!"<br />ScreenLine[2] = "Mesajinizi buraya yazmaya devam edinn"<br />ScreenLine[3] = "Burayada yaz"<br />ScreenLine[4] = " http://webuzmani.blogspot.com"<br />ScreenLine[5] = "Buradan yazmaya devam"<br />ScreenLine[6] = "Aynen devam edinn"<br />ScreenLine[7] = "Burayada yaziniz"<br />ScreenLine[8] = " Bu Adresi Ziyaret Edin "<br />ScreenLine[9] = " http://webuzmani.blogspot.com"<br />var msgNum = 1;<br />var msgCnt = 8;<br />var typeSpeed = 200;<br />var pageLen = 4;<br />var delay=typeSpeed;<br />var r = 0;<br />var cr="rn"<br />if ("3" <=navigator.appVersion.charAt(0)) {<br /> var cr="n"<br />}<br />for (x = 1; x<=(msgCnt); x++) {<br /> ScreenLine[x] = ScreenLine[x] + cr;<br />}<br />msg = ScreenLine[1];<br />function DisplayMsg() {<br /> if (msg.length <= i || msg.charAt(i) == "f") {<br /> r=i;<br /> i=0;<br /> ChangeMsg();<br /> }<br /> outMsg = outMsg + msg.charAt(i);<br /> i++; <br /> if (msg.charAt(i) == "f" || (lineNo == pageLen && i==msg.length)) {<br /> delay = 4000; }<br /> else {<br /> if (msg.charAt(i) == cr && msg != " "+cr) {<br /> delay = 2000; }<br /> else {<br /> delay = typeSpeed; } <br /> }<br /> self.document.forms[0].elements[0].value=outMsg;<br /> timerDM = setTimeout("DisplayMsg()",delay);<br />}<br />function ChangeMsg() {<br /> msgNum++;<br /> if (msgCnt < msgNum) {<br /> msgNum = 1;<br /> }<br /> lineNo++;<br /> if (pageLen < lineNo || msg.charAt(r) == "f") {<br /> outMsg=ScreenLine[msgNum].charAt(i);<br /> i++;<br /> lineNo = 1;<br /> }<br /> msg = ScreenLine[msgNum];<br />}<br />// End --><br /></script><br /></HEAD><br /><BODY><br /><FORM NAME="msgform" ACTION=""><br /><input type="button" value="Mesajiniz Var Tikla!" onClick="DisplayMsg()"><br /> </FORM><br /></BODY><br />
|