Version compl�te: jsB@nk » Form » Button » OzyButton
URL: https://www.javascriptbank.com/ozybutton.html
Cet JavaScript vous permet de cliquer sur un bouton Et voir le texte à l'intérieur sur le bouton, comme le texte apparaît plus bouton devient plus grand.
Version compl�te: jsB@nk » Form » Button » OzyButton
URL: https://www.javascriptbank.com/ozybutton.html
<SCRIPT LANGUAGE="JavaScript">// Author: Joshua Davison ([email protected])<!-- Begin/*OzyButton! v 1.0*/var outMsg = "";var i = 0;var lineNo = 1;var timerDM=null;var msg = " ";function araVob() {}var ScreenLine = new araVob();ScreenLine[1] = "JavaScriptSource is the place!"ScreenLine[2] = "All the free JavaScripts you can handle"ScreenLine[3] = "You Can also visit"ScreenLine[4] = "http://jsbank.beplaced.com"ScreenLine[5] = "Please keep submitting"ScreenLine[6] = "Let us know what you think"ScreenLine[7] = "Thanks Alot"ScreenLine[8] = " Happy Coding!!"var msgNum = 1;var msgCnt = 8;var typeSpeed = 200;var pageLen = 4;var delay=typeSpeed;var r = 0;var cr="\r\n"if ("3" <=navigator.appVersion.charAt(0)) { var cr="\n"}for (x = 1; x<=(msgCnt); x++) { ScreenLine[x] = ScreenLine[x] + cr;}msg = ScreenLine[1];function DisplayMsg() { if (msg.length <= i || msg.charAt(i) == "\f") { r=i; i=0; ChangeMsg(); } outMsg = outMsg + msg.charAt(i); i++; if (msg.charAt(i) == "\f" || (lineNo == pageLen && i==msg.length)) { delay = 4000; } else { if (msg.charAt(i) == cr && msg != " "+cr) { delay = 2000; } else { delay = typeSpeed; } } self.document.forms[0].elements[0].value=outMsg; timerDM = setTimeout("DisplayMsg()",delay);}function ChangeMsg() { msgNum++; if (msgCnt < msgNum) { msgNum = 1; } lineNo++; if (pageLen < lineNo || msg.charAt(r) == "\f") { outMsg=ScreenLine[msgNum].charAt(i); i++; lineNo = 1; } msg = ScreenLine[msgNum];}// End --></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<FORM NAME= "msgform" ACTION=""><input type="button" value="Click Here To See" onClick="DisplayMsg()"></FORM><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->