Jvascript 做IE功能按钮,打开、另存为。属性、打印、收藏夹等js按钮
2010-01-08 13:07
489 查看
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0>
</OBJECT>
<input onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1>
<input onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2>
<input onclick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性 name=Button3>
<input onclick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印 name=Button>
<input onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置 name=Button4>
<input onclick=window.location.reload() type=button value=刷新 name=refresh>
<input onclick="window.external.ImportExportFavorites(true,'');" type=button value=导入收藏夹 name=Button5>
<input onclick="window.external.ImportExportFavorites(false,'');" type=button value=导出收藏夹 name=Button32>
<input onclick="window.external.AddFavorite(location.href, document.title)" type=button value=加入收藏夹 name=Button22>
<br/>
http://www.egacn.com/" title="Replica Watches:">Replica Watches e Stop Discount Swiss Watches Store,http://www.watchstylish.com" href="http://www.watchstylish.com/" target=_blank>Buy Full Quality Popular Luxury Watches at Amazing Price, Your One Stop Discount Swiss Watches Storeline Sale!" href="http://www.yuget.net/" target=_blank>Exclusive Replica Rolex Watches, Tag Heuer Watches Replica, Cartier Watches online Sale!http://www.yuget.nethttp://study.pctoday.net.cn/1_ASP.aspxhttp://study.pctoday.net.cn/Article/IE功能大汇聚-ie按钮.html <input onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=整理收藏夹 name=Submit2>
<input onclick='window.location="view-source:http://study.pctoday.net.cn/7_Javascript.aspx' type=button value=查看源文件 name=Button7>
<input onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type=button value=语言设置 name=Button6>
<input onclick=history.go(1) type=submit value=前进 name=Submit>
<input onclick=history.go(-1) type=submit value=后退 name=Submit2>
要完成此效果把如下代码加入到<body>区域中
http://www.egacn.com/" title="Replica Watches:">Replica Watches e Stop Discount Swiss Watches Store,http://www.watchstylish.com" href="http://www.watchstylish.com/" target=_blank>Buy Full Quality Popular Luxury Watches at Amazing Price, Your One Stop Discount Swiss Watches Storeline Sale!" href="http://www.yuget.net/" target=_blank>Exclusive Replica Rolex Watches, Tag Heuer Watches Replica, Cartier Watches online Sale!http://www.yuget.nethttp://study.pctoday.net.cn/1_ASP.aspxhttp://study.pctoday.net.cn/Article/IE功能大汇聚-ie按钮.html <input type="button" name="Button" value="点击保存页面" onClick="document.all.WebBrowser.ExecWB(4,1)">
<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
</object>
</OBJECT>
<input onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1>
<input onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2>
<input onclick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性 name=Button3>
<input onclick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印 name=Button>
<input onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置 name=Button4>
<input onclick=window.location.reload() type=button value=刷新 name=refresh>
<input onclick="window.external.ImportExportFavorites(true,'');" type=button value=导入收藏夹 name=Button5>
<input onclick="window.external.ImportExportFavorites(false,'');" type=button value=导出收藏夹 name=Button32>
<input onclick="window.external.AddFavorite(location.href, document.title)" type=button value=加入收藏夹 name=Button22>
<br/>
http://www.egacn.com/" title="Replica Watches:">Replica Watches e Stop Discount Swiss Watches Store,http://www.watchstylish.com" href="http://www.watchstylish.com/" target=_blank>Buy Full Quality Popular Luxury Watches at Amazing Price, Your One Stop Discount Swiss Watches Storeline Sale!" href="http://www.yuget.net/" target=_blank>Exclusive Replica Rolex Watches, Tag Heuer Watches Replica, Cartier Watches online Sale!http://www.yuget.nethttp://study.pctoday.net.cn/1_ASP.aspxhttp://study.pctoday.net.cn/Article/IE功能大汇聚-ie按钮.html <input onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=整理收藏夹 name=Submit2>
<input onclick='window.location="view-source:http://study.pctoday.net.cn/7_Javascript.aspx' type=button value=查看源文件 name=Button7>
<input onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type=button value=语言设置 name=Button6>
<input onclick=history.go(1) type=submit value=前进 name=Submit>
<input onclick=history.go(-1) type=submit value=后退 name=Submit2>
要完成此效果把如下代码加入到<body>区域中
http://www.egacn.com/" title="Replica Watches:">Replica Watches e Stop Discount Swiss Watches Store,http://www.watchstylish.com" href="http://www.watchstylish.com/" target=_blank>Buy Full Quality Popular Luxury Watches at Amazing Price, Your One Stop Discount Swiss Watches Storeline Sale!" href="http://www.yuget.net/" target=_blank>Exclusive Replica Rolex Watches, Tag Heuer Watches Replica, Cartier Watches online Sale!http://www.yuget.nethttp://study.pctoday.net.cn/1_ASP.aspxhttp://study.pctoday.net.cn/Article/IE功能大汇聚-ie按钮.html <input type="button" name="Button" value="点击保存页面" onClick="document.all.WebBrowser.ExecWB(4,1)">
<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
</object>
相关文章推荐
- 打开,另存为,属性,打印 等14个JS代码
- 打开,另存为,属性,打印等14个JS代码
- 打开,另存为,属性,打印 JS代码
- 打开,另存为,属性,打印"等14个JS代码
- 打开,另存为,属性,打印"等14个JS代码
- [转]打开,另存为,属性,打印等14个JS代码
- 打开,另存为,属性,打印"等14个JS代码- -
- 打开另存为,属性打印等14个JS代码
- 打开另存为,属性打印等14个JS代码
- [转]打开,另存为,属性,打印等14个JS代码
- 打开,另存为,属性,打印"等14个JS代码
- 打开,另存为,属性,打印"等14个JS代码
- 打开,另存为,属性,打印"等14个JS代码
- 自己写的简单通过js只提供另存为功能【避免直接打开后,文件被占用,其他用户更新不了文件信息】
- "打开,另存为,属性,打印"等14个JS代码
- html(object)控制ie的打印、刷新、另存、关闭、打开、页面设置、属性、打印预览
- 打开,另存为,属性,打印等14个JS代码
- 打开,另存为,属性,打印"等14个JS代码
- 精品js Firefox 加入收藏夹功能代码 兼容Firefox 和 IE等各种浏览器
- js另存为、打印、属性、加入收藏、关闭等代码