Version compl�te: jsB@nk » État » État » DS RandomStatusBar
URL: https://www.javascriptbank.com/ds-randomstatusbar.html
Cet JavaScript StatusBar affiche un hasard. Le script contient un code HTML générateur qui vous permet de modifier des paramètres sans aucune connaissance de la Javascript et la programmation HTML.
Version compl�te: jsB@nk » État » État » DS RandomStatusBar
URL: https://www.javascriptbank.com/ds-randomstatusbar.html
<SCRIPT language=JavaScript><!-- Beginvar v="";bn=navigator.appName;bv=parseInt(navigator.appVersion);if(bn=="Netscape"){ if(bv==4) v="n4";}if(v=="n4"){alert('HTML Code Generator does not work in Netscape 4,\nplease use Internet Explorer or a new version of Netscape.');}var p_title0,p_title1,p_title2,p_title3,p_title4,p_title5;function ts(form){if(v!="n4"){p_title0=form.title0.value;p_title1=form.title1.value;p_title2=form.title2.value;p_title3=form.title3.value;p_title4=form.title4.value;p_title5=form.title5.value;gh(form);open("p_randomstatusbar","TestScript","resizable=yes,status=yes");}}function dh(form){form.hta.value="";}function gh(form){if(v!="n4"){form.hta.value="";var t='<script language="JavaScript">\r\n';t+='/*\r\n';t+='This script downloaded from www.JavaScriptBank.com\r\n';t+='Come to view and download over 2000+ free javascript at www.JavaScriptBank.com\r\n';t+='*/\r\n';t+='var author="www.dseffects.com";\r\n';t+='var DS_Titles=new Array();\r\n';t+='DS_Titles[0]="'+form.title0.value+'";\r\n';t+='DS_Titles[1]="'+form.title1.value+'";\r\n';t+='DS_Titles[2]="'+form.title2.value+'";\r\n';t+='DS_Titles[3]="'+form.title3.value+'";\r\n';t+='DS_Titles[4]="'+form.title4.value+'";\r\n';t+='DS_Titles[5]="'+form.title5.value+'";\r\n';t+='DS_Titles[6]="";\r\n';t+='var i=0;\r\n';t+='var len=0;\r\n';t+='while(DS_Titles[i++]!="") len++;\r\n';t+='window.status=DS_Titles[Math.floor(Math.random()*len)];\r\n';t+='</script>\r\n';form.hta.value=t;}}// End --></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<FONT color=#00ff00 size=+2>Code Generator</FONT><FORM action=""><TABLE> <TBODY> <TR> <TD><FONT>Text 1</FONT></TD> <TD><INPUT title="Insert text 1" value=Applets name=title0> </TD></TR> <TR> <TD><FONT>Text 2</FONT></TD> <TD><INPUT title="Insert text 2" value=Scripts name=title1> </TD></TR> <TR> <TD><FONT>Text 3</FONT></TD> <TD><INPUT title="Insert text 3" value=Midlets name=title2> </TD></TR> <TR> <TD><FONT>Text 4</FONT></TD> <TD><INPUT title="Insert text 4" name=title3> </TD></TR> <TR> <TD><FONT>Text 5</FONT></TD> <TD><INPUT title="Insert text 5" name=title4> </TD></TR> <TR> <TD><FONT>Text 6</FONT></TD> <TD><INPUT title="Insert text 6" name=title5> </TD></TR></TBODY></TABLE><P><P><INPUT onclick=ts(this.form); type=button value="Test Script"> <INPUT onclick=dh(this.form); type=reset value=Reset> <INPUT onclick=gh(this.form); type=button value="Generate HTML code"> <INPUT onclick=this.form.hta.focus();this.form.hta.select() type=button value="Select All"><BR><BR><TEXTAREA title="ctrl+c to copy, ctrl+v to paste" name=hta rows=16 cols=64></TEXTAREA> <!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->