<input type="button" name="Submit" value="链接到一页" class="btn" onclick="location.href='filename.html'" /><br><br>
<input name="Submit2" type="button" class="btn" onclick="location.href='javascript:history.go(-1);'" value="返回(后退)" /><br><br>
<input type="button" name="Submit2" value="打开新网页" class="btn" onclick="window.open('filename.html')" /><br><br>
<input type="button" name="Submit2" value="打开无边框的新窗口" class="btn" onclick="javascript:window.open('filename.html','','width=720,height=500,resizable=yes,scrollbars=yes,status=no')" /><br><br>
<input type="button" name="Submit2" value="打开新网页同时指向另一页" class="btn" onclick="window.open('filename.html');location.href='http://hi.baidu.com/harryxue'" /><br><br>
<input type="button" name="Submit2" value="打开无边框的新窗口同时指向另一页" class="btn" onclick="javascript:window.open('filename.html','','width=720,height=500,resizable=yes,scrollbars=yes,status=no');window.location='http://hi.baidu.com/harryxue';" /><br><br>
posted @
2008-04-03 14:09
CB
阅读(
794)
评论()
编辑
收藏
举报