JS 的一些操作

来源:互联网 发布:初级程序员证书 编辑:程序博客网 时间:2024/06/01 09:27
23人阅读 评论(0)收藏 举报

[xhtml] view plaincopyprint?
  1. <input   name=Button   onClick=document.all.WebBrowser.ExecWB(1,1)   type=button   value=打开>     
  2. <OBJECT   classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2   height=0   id=WebBrowser   width=0> </OBJECT>     
  3. <input   name=Button   onClick=document.all.WebBrowser.ExecWB(4,1)   type=button   value=另存为>     
  4. <input   name=Button   onClick=document.all.WebBrowser.ExecWB(17,1)   type=button   value=全选>   
  5. <input   name=Button   onClick=document.all.WebBrowser.ExecWB(10,1)   type=button   value=属性>   
  6. <input   name=Button   onClick=document.all.WebBrowser.ExecWB(6,1)   type=button   value=打印>   
  7. <input   name=Button   onClick=document.all.WebBrowser.ExecWB(6,6)   type=button   value=直接打印>   
  8. <input   name=Button   onClick=document.all.WebBrowser.ExecWB(8,1)   type=button   value=页面设置>   
  9. <input   type=button   value=刷新   name=refresh   onclick"window.location.reload() ">     
  10. <input   type"button "   name"Button "   value=导入收藏夹   onClick=window.external.ImportExportFavorites(true, "http://localhost ");>     
  11. <input   type"button "   name"Button3 "   value=导出收藏夹   onClick=window.external.ImportExportFavorites(false, "http://localhost ");>     
  12. <input   name=Button2   onclick"window.external.AddFavorite(location.href,   document.title) "   type=button   value=加入收藏夹>     
  13. <input   name=Submit2   onclick"window.external.ShowBrowserUI( 'OrganizeFavorites ',   null) "   type=button   value=整理收藏夹>     
  14. <input   type=button   value=查看源文件     onclick"window.location   =   'view-source: '+   window.location.href ">   
  15. <input   type=button   value=语言设置   onclick"window.external.ShowBrowserUI( 'LanguageDialog ',   null) ">     
  16. <input   type=button   value=前进   onclick=history.go(1)>   
  17. <input   type=button   value=前进   onclick=history.forward()>       
  18. <input   type=button   value=后退   onclick=history.go(-1)>   
  19. <input   type=button   value=后退   onclick=history.back()>