IE6与IE7 浏览器可实现功能汇总

来源:互联网 发布:中国行政区域数据库 编辑:程序博客网 时间:2024/06/09 14:42
<object id=”WebBrowser” height=”0″ width=”0″ classid=”CLSID:8856F961-340A-11D0-A96B-00C04FD705A2″></object> 

<input onclick=”document.all.WebBrowser.ExecWB(1,1)” type=”button” name=”Button1″ value=”打开” />  
<input onclick=”document.all.WebBrowser.ExecWB(4,1)” type=”button” name=”Button2″ value=”另存为” />  
<input onclick=”document.all.WebBrowser.ExecWB(10,1)” type=”button” name=”Button3″ value=”属性” />  
<input onclick=”document.all.WebBrowser.ExecWB(6,1)” type=”button” name=”Button” value=”打印” />  
<input onclick=”document.all.WebBrowser.ExecWB(8,1)” type=”button” name=”Button4″ value=”页面设置” />  
<input onclick=”window.location.reload()” type=”button” name=”refresh” value=”刷新” />  
<input onclick=”window.external.ImportExportFavorites(true,”);” type=”button” name=”Button5″ value=”导入收藏夹” />  
<input onclick=”window.external.ImportExportFavorites(false,”);” type=”button” name=”Button32″ value=”导出收藏夹” />  
<input onclick=”window.external.AddFavorite(location.href,document.title)” type=”button” name=”Button22″ value=”加入收藏夹” />  
<input onclick=”window.external.ShowBrowserUI(’OrganizeFavorites’, null)” type=”button” name=”Submit2″ value=”整理收藏夹” />  
<input onclick=”window.location=view-source: + window.location.href” type=”button” name=”Button7″ value=”查看源文件” />  
<input onclick=”window.external.ShowBrowserUI(’LanguageDialog’, null)” type=”button” name=”Button6″ value=”语言设置” />  
<input onclick=”document.execCommand(’Cut’)” type=”button” value=”剪切” />  
<input onclick=”document.execCommand(’Copy’)” type=”button” value=”拷贝” />  
<input onclick=”document.execCommand(’Paste’)” type=”button” value=”粘贴” />  
<input onclick=”document.execCommand(’Undo’)” type=”button” value=”撤消” />  
<input onclick=”document.execCommand(’Delete’)” type=”button” value=”删除” />  
<input onclick=”document.execCommand(’Bold’)” type=”button” value=”黑体” />  
<input onclick=”document.execCommand(’Italic’)” type=”button” value=”斜体” />  
<input onclick=”document.execCommand(’Underline’)” type=”button” value=”下划线” />  
<input onclick=”document.execCommand(’stop’)” type=”button” value=”停止” />  
<input onclick=”document.execCommand(’SaveAs’)” type=”button” value=”保存” />  
<input onclick=”document.execCommand(’Saveas’,false,’c://test.htm’)” type=”button” value=”另存为” />  
<input onclick=”document.execCommand(’FontName’,false,fn)” type=”button” value=”字体” />  
<input onclick=”document.execCommand(’FontSize’,false,fs)” type=”button” value=”字体大小” />  
<input onclick=”document.execCommand(’refresh’,false,0)” type=”button” value=”刷新” />  
<input onclick=”window.location.reload()” type=”button” value=”刷新” />  
<input onclick=”history.go(1)” type=”button” value=”前进” />  
<input onclick=”history.go(-1)” type=”button” value=”后退” />  
<input onclick=”history.forward()” type=”button” value=”前进” />  
<input onclick=”history.back()” type=”button” value=”后退” />  
<input onclick=”window.external.ImportExportFavorites(true,http://www.jb51.net);” type=”button” value=”导入收藏夹” />  
<input onclick=”window.external.ImportExportFavorites(false,http://www.jb51.net);” type=”button” value=”导出收藏夹” />  
<input onclick=”window.external.ShowBrowserUI(’OrganizeFavorites’, null)” type=”button” value=”整理收藏夹” />  
<input onclick=”window.location = ‘view-source:’+ window.location.href” type=”button” value=”查看源文件” />  
<input onclick=”window.external.ShowBrowserUI(’LanguageDialog’, null)” type=”button” value=”语言设置” />  
<input onclick=”window.external.AddFavorite(’http://www.jb51.net’, 脚本之家)” type=”button” value=”加入收藏夹” />  
<input onclick=”window.external.addChannel(’http://www.jb51.net’)” type=”button” value=”加入到频道” />  
<inputonclick=”this.style.behavior=’url(#default#homepage)’;this.setHomePage(’http://www.jb51.net’)”type=”button” value=”设成主页” /> 
IE7就更强了,快捷键都N多了。
Keyboard shortcuts Open links in a new tab in the background  CTRL+click  
Open links in a new tab in the foreground  CTRL+SHIFT+click  
Open a new tab in the foreground  CTRL+T  
Open a new tab from the Address bar  ALT+ENTER  
Open a new tab from the search box  ALT+ENTER  
Open Quick Tabs (thumbnail view)  CTRL+Q  
Switch between tabs  CTRL+TAB/CTRL+SHIFT+TAB  
Switch to a specific tab number  CTRL+n (n can be 1-8)  
Switch to the last tab  CTRL+9  
Close current tab  CTRL+W  
Close all tabs  ALT+F4  
Close other tabs  CTRL+ALT+F4  
Mouse shortcuts Open a link in a background tab  Click the middle mouse button on a link  
Open a new tab  Double-click the empty space to the right of the last tab  
Close a tab  Click the middle mouse button on the tab 

原创粉丝点击