有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>
<!--# 特效来源:http://www.webjx.com/js -->
<!--把如下代码加入<body>区域中:-->
<form>
<p>
<input type="button" value="返回" onClick="history.go(-1)" name="button" class="pt9">
<input TYPE="button" NAME="view" VALUE="查看本例的源码" OnClick="window.location="view-source:" +window.location.href" class="pt9">
</p>
</form>
<form>
<p><input TYPE="button" VALUE="返回上一步" ONCLICK="history.back(-1)"></p>
</form>
<form>
<p><input TYPE="button" VALUE="刷新按钮一" ONCLICK="ReloadButton()"></p>
</form>
<script language="JavaScript"><!--
function ReloadButton(){location.href="index.htm";}
// --></script>
<form>
<p><input TYPE="button" VALUE="刷新按钮二" onClick="history.go(0)"> </p>
</form>
<form>
<p><input TYPE="button" VALUE="回首页按钮" ONCLICK="HomeButton()"></p>
</form>
<script language="JavaScript"><!--
function HomeButton(){location.href="http://www.webjx.com";}
// --></script>
<form>
<p><input TYPE="button" VALUE="弹出警告框" ONCLICK="AlertButton()"></p>
</form>
<script language="JavaScript"><!--
function AlertButton(){window.alert("要多多光临呀!");}
// --></script>
<form>
<p><input TYPE="button" VALUE="状态栏信息" ONCLICK="StatusButton()"></p>
</form>
<script language="JavaScript"><!--
function StatusButton(){window.status="要多多光临呀!";}
// --></script>
<form>
<p><input TYPE="button" VALUE="背景色变换" 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="打开新窗口" 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>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]