• window.external对象那点东西...


    1、window.external...
    
    <INPUT onclick='window.external.ImportExportFavorites(true,"http://localhost");' type=button value=导入收藏夹> 
    <INPUT onclick='window.external.ImportExportFavorites(false,"http://localhost");' type=button value=导出收藏夹> 
    <INPUT onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=整理收藏夹> 
    <INPUT onclick="window.external.ShowBrowserUI('语言Dialog', null)" type=button value=语言设置> 
    <INPUT onclick="window.external.AddFavorite('http://blog.csdn.net/Opossum/', '研究,研讨')" type=button value=加入收藏夹> 
    <INPUT onclick="window.external.addChannel('http://blog.csdn.net/Opossum/')" type=button value=加入到频道> 
    
    有联系:
    
    <INPUT onclick="the.style.behavior='url(#default#habitatpage)'; the.setHomePage('http://blog.csdn.net/Opossum/')" type=button value=设成主页>
    
    2、history...
    
    <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.behind() type=button value=后退>
    
    3、document.execCommand...
    
    <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=刷新> 
    
    4、 window.location...
    
    <INPUT onclick=window.location.reload() type=button value=刷新 title=refresh> 
    <INPUT onclick='window.location="view-source:" + window.location.href' type=button value=查看源文档 title=Button7> 
    
    5、WebBrowser.ExecWB...
    
    <OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(2,1) type=button value=关闭所有><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(6,6) type=button value=直接打印><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(7,1) type=button value=打印预览><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(8,1) type=button value=PAGE设置><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(17,1) type=button value=全选><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(22,1) type=button value=刷新><br />
    <input title=Button onClick=document.all.WebBrowser.ExecWB(45,1) type=button value=关闭>
    

  • 相关阅读:
    mysql启动失败
    mini.open参数传递
    json的key动态赋值
    Python文件格式 .py .pyc .pyw .pyo .pyd的主要区别
    centos 7.2 安装mongodb 3.4.4免编译
    tomcat 8.0安装ssl证书,及centos7.2 的openssl升级到最新版本,及ERR_SSL_OBSOLETE_CIPHER错误解决
    云服务器 Centos7.0 部署
    笔记
    oracle 视图的创建,游标,left join
    在Extjs中对日期的处理,以及在后端数据在SQL语句的判断处理
  • 原文地址:https://www.cnblogs.com/keke/p/1847757.html
Copyright © 2020-2023  润新知