JS 操作IE游览器常用函数:window.external,history,document.ex
2010-09-14 13:07:38 来源:WEB开发网1、window.external...
<INPUTonclick='window.external.ImportExportFavorites(true,"http://localhost");'type=buttonvalue=导入收藏夹><INPUTonclick='window.external.ImportExportFavorites(false,"http://localhost");'type=buttonvalue=导出收藏夹><INPUTonclick="window.external.ShowBrowserUI('OrganizeFavorites',null)"type=buttonvalue=整理收藏夹><INPUTonclick="window.external.ShowBrowserUI('LanguageDialog',null)"type=buttonvalue=语言设置><INPUTonclick="window.external.AddFavorite('http://blog.csdn.net/Opossum/','学习,讨论')"type=buttonvalue=加入收藏夹><INPUTonclick="window.external.addChannel('http://blog.csdn.net/Opossum/')"type=buttonvalue=加入到频道>
相关:
<INPUTonclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://blog.csdn.net/Opossum/')"type=buttonvalue=设成主页>
2、history...
<INPUTonclick=history.go(1)type=buttonvalue=前进><INPUTonclick=history.go(-1)type=buttonvalue=后退><INPUTonclick=history.forward()type=buttonvalue=前进><INPUTonclick=history.back()type=buttonvalue=后退>
赞助商链接