English
<!--Add the following code to the <body> area:--> <form> <p> <input type="button" value="Return" onClick="history.go(-1)" name="button " class="pt9"> <input TYPE="button" NAME="view" VALUE="View the source code of this example" OnClick="window.location="view-source:" +window.location.href" class= "pt9"> </p> </form> <form> <p><input TYPE="button" VALUE="Back to previous step" ONCLICK="history.back(-1)"></p> </p> form> <form> <p><input TYPE="button" VALUE="Refresh button one" ONCLICK="ReloadButton()"></p> </form> <script language="JavaScript"><!-- function ReloadButton(){location.href="index.htm";} // --></script> <form> <p><input TYPE="button" VALUE="Refresh button two" onClick="history. go(0)"> </p> </form> <form> <p><input TYPE="button" VALUE="Back to home button" ONCLICK="HomeButton()"></p> </form> <script language="JavaScript"><!-- function HomeButton(){location.href="http://www.downcodes.com";} // --></script> <form> <p>< input TYPE="button" VALUE="Pop-up warning box" ONCLICK="AlertButton()"></p> </form> <script language="JavaScript"><!-- function AlertButton(){window.alert( "Please come again!");} // --></script> <form> <p><input TYPE="button" VALUE="Status bar information" ONCLICK="StatusButton()"></p > </form> <script language="JavaScript"><!-- function StatusButton(){window.status="Please come more often! ";} // --></script> <form> <p><input TYPE="button" VALUE="Background color change" onClick="BgButton()"></p> </form> <script >function BgButton(){ if (document.bgColor=='#00ffff') {document.bgColor='#ffffff';} else{document.bgColor='#00ffff';} } </script> <form> < p><input TYPE="button" VALUE="Open new window" ONCLICK="NewWindow()"></p> </form> <script language="JavaScript"><!-- function NewWindow(){window .open("/index.htm","","height=240,width=340,status=no,location=no,toolbar=no,directories=no,menubar=no");} // --> </script>