zoukankan      html  css  js  c++  java
  • 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=关闭>
    

  • 相关阅读:
    cinder支持nfs快照
    浏览器输入URL到返回页面的全过程
    按需制作最小的本地yum源
    创建可执行bin安装文件
    RPCVersionCapError: Requested message version, 4.17 is incompatible. It needs to be equal in major version and less than or equal in minor version as the specified version cap 4.11.
    惠普IPMI登陆不上
    Linux进程状态——top,ps中看到进程状态D,S,Z的含义
    openstack-neutron基本的网络类型以及分析
    openstack octavia的实现与分析(二)原理,架构与基本流程
    flask上下文流程图
  • 原文地址:https://www.cnblogs.com/keke/p/1847757.html
Copyright © 2011-2022 走看看