一些基本的/适应的/函数

类别:Asp 点击:0 评论:0 推荐:
         <a href="#" onclick=document.execCommand("open")>打开</a><br>
  <a href="#" onclick=location.replace("view-source:"+location)>使用 记事本 编辑</a><br>
  <a href="#" onclick=document.execCommand("saveAs")>另存为</a><br>
  <a href="#" onclick=document.execCommand("print")>打印</a><br>
  <a href="#" onclick=window.close();return false)>关闭本窗口</a><br>
  <a href="#" onclick=document.execCommand("selectAll")>全选</a><br>
  <a href="#" onclick=location.reload()>刷新</a> <a href="#" onclick=history.go(0)>刷新</a><br>
  <a href="#" onclick=location.replace("view-source:"+location)>查看源文件</a> <br>
  <a href="#" onclick=window.open(document.location,"url","fullscreen")>全屏显示</a> <br>
  <a href="java script:window.external.AddFavorite("http://homepage.yesky.com", "天极网页陶吧")">添加到收藏夹</a> <br>
  <a href="#" onclick=window.external.showBrowserUI("OrganizeFavorites",null)>整理收藏夹</a> <br>
  <a href="#" onclick=window.external.showBrowserUI("PrivacySettings",null)>internet选项</a> <br>
  <a href="#" onclick=history.go(1)>前进1</a> <a href="#" onclick=history.forward()>前进2</a><br>
  <a href="#" onclick=history.go(-1)>后退1</a> <a href="#" onclick=history.back()>后退2</a><br>
  <a href="#" onclick=settimeout(window.close(),3000)>3秒关闭本窗口</a><br>

本文地址:http://com.8s8s.com/it/it7884.htm