<!-- 要实现此效果需要 2 个步骤: -->
<!-- 第 1 步: -->
<!-- 把<BODY>中的属性代码改为: -->
<BODY bgcolor="#fef4d9" onload="isReady=true">
<!-- 第 2 步: -->
<!-- 把下面的代码加到<BODY></BODY>区域中: -->
<script language="JavaScript">
// Source: CodeFoot.com
// Please leave in this header.
var isReady = false;
function doSaveAs(){
if (document.execCommand){
if (isReady){document.execCommand("SaveAs");}
}else{
alert('Feature available only in Internet Exlorer 4.0 and later.');
}
}
</script>
<a href="javascript:doSaveAs()">保存本页</a>