input Button使用小技巧
来源:互联网 发布:发布淘宝类目如何选择 编辑:程序博客网 时间:2024/05/01 11:45
- <INPUT onclick=document.all.WebBrowser.ExecWB(1,1)type=buttonvalue=打开name=Button1>
- <INPUT onclick=document.all.WebBrowser.ExecWB(4,1)type=buttonvalue=另存为name=Button2>
- <INPUT onclick=document.all.WebBrowser.ExecWB(10,1)type=buttonvalue=属性name=Button3>
- <INPUT onclick=document.all.WebBrowser.ExecWB(6,1)type=buttonvalue=打印name=Button>
- <INPUT onclick=document.all.WebBrowser.ExecWB(8,1)type=buttonvalue=页面设置name=Button4>
- <INPUT onclick=window.location.reload()type=buttonvalue=刷新name=refresh>
- <INPUT onclick="window.external.ImportExportFavorites(true,'');"type=buttonvalue=导入收藏夹name=Button5>
- <INPUT onclick="window.external.ImportExportFavorites(false,'');"type=buttonvalue=导出收藏夹name=Button32>
- <INPUT onclick="window.external.AddFavorite(location.href, document.title)"type=buttonvalue=加入收藏夹name=Button22>
- <INPUT onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)"type=buttonvalue=整理收藏夹name=Submit2>
- <INPUT onclick='window.location="view-source:" + window.location.href'type=buttonvalue=查看源文件name=Button7>
- <INPUT onclick="window.external.ShowBrowserUI('LanguageDialog', null)"type=buttonvalue=语言设置name=Button6>
- <INPUT onclick="document.execCommand('Cut')"type=buttonvalue=剪切>
- <INPUT onclick="document.execCommand('Copy')"type=buttonvalue=拷贝>
- <INPUT onclick="document.execCommand('Paste')"type=buttonvalue=粘贴>
- <INPUT onclick="document.execCommand('Undo')"type=buttonvalue=撤消>
- <INPUT onclick="document.execCommand('Delete')"type=buttonvalue=删除>
- <INPUT onclick="document.execCommand('Bold')"type=buttonvalue=黑体>
- <INPUT onclick="document.execCommand('Italic')"type=buttonvalue=斜体>
- <INPUT onclick="document.execCommand('Underline')"type=buttonvalue=下划线>
- <INPUT onclick="document.execCommand('stop')"type=buttonvalue=停止>
- <INPUT onclick="document.execCommand('SaveAs')"type=buttonvalue=保存>
- <INPUT onclick="document.execCommand('Saveas',false,'c:\\test.htm')"type=buttonvalue=另存为>
- <INPUT onclick="document.execCommand('FontName',false,fn)"type=buttonvalue=字体>
- <INPUT onclick="document.execCommand('FontSize',false,fs)"type=buttonvalue=字体大小>
- <INPUT onclick="document.execCommand('refresh',false,0)"type=buttonvalue=刷新>
- <INPUT onclick=window.location.reload()type=buttonvalue=刷新>
- <INPUT onclick=history.go(1)type=buttonvalue=前进>
- <INPUT onclick=history.go(-1)type=buttonvalue=后退>
- <INPUT onclick=history.forward()type=buttonvalue=前进>
- <INPUT onclick=history.back()type=buttonvalue=后退>
- <INPUT onclick='window.external.ImportExportFavorites(true,"http://localhost";);'type=buttonvalue=导入收藏夹>
- <INPUT onclick='window.external.ImportExportFavorites(false,"http://localhost";);'type=buttonvalue=导出收藏夹>
- <INPUT onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)"type=buttonvalue=整理收藏夹>
- <INPUT onclick="window.location = 'view-source:'+ window.location.href"type=buttonvalue=查看源文件>
- <INPUT onclick="window.external.ShowBrowserUI('LanguageDialog', null)"type=buttonvalue=语言设置>
- <INPUT onclick="window.external.AddFavorite('http://www.jenfy.cn', 十万个为什么)"type=buttonvalue=加入收藏夹>
- <INPUT onclick="window.external.addChannel('http://www.jenfy.cn')"type=buttonvalue=加入到频道>
- <INPUT onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.jenfy.cn/')"type=buttonvalue=设成主页>