• js 整站模式窗口打开


    js 整站模式窗口打开 只能在IE下使用。
    <OBJECT  classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2   height=0   id=WB   width=0> </OBJECT> 
    <input   type= "button"   value= "" id="closes"  style="display: none" onclick= "WB.ExecWB(45,1) "> 
        
    <script language="JavaScript">
            
    function window.onload() {
                
    var redirectUrl = "syslogin.aspx";
                
    var width = screen.width;
                
    var height = screen.height;
                
    if (height == 800) height -= 90;
                
    if (height == 768) height -= 75;
                
    if (height == 600) height -= 60;
                
    var szFeatures = "top=0,";
                szFeatures 
    += "left=0,";
                szFeatures 
    += "width=" + width + ",";
                szFeatures 
    += "height=" + height + ",";
                szFeatures 
    += "directories=no,";
                szFeatures 
    += "status=no,";
                szFeatures 
    += "menubar=no,";

                
    if (height <= 600) szFeatures += "scrollbars=yes,";
                
    else szFeatures += "scrollbars=no,";
                szFeatures 
    += "resizable=yes"//channelmode
                window.open(redirectUrl, "", szFeatures);
                document.getElementById(
    "closes").click();
            }

    </script> 


     http://hi.baidu.com/jnshiyanlvting/blog/item/6cca64df24e7f6e274c63862.html

    作者:罗敏贵
    邮箱:minguiluo@163.com
    QQ群:34178394 建群 主要是寻找志同道合的人士一起学习和讨论自己的所学所思
    出处:http://luomingui.cnblogs.com/
    说明:专注于微软平台项目架构、熟悉设计模式、架构设计、敏捷个人和项目管理。现主要从事WinForm、ASP.NET、等方面的项目开发、架构、管理工作。文章为作者平时里的思考和练习,可能有不当之处,请博客园的园友们多提宝贵意见。
    知识共享许可协议本作品采用知识共享署名-非商业性使用-相同方式共享 2.5 中国大陆许可协议进行许可。

  • 相关阅读:
    软件包的作用
    Sqlserver2008 表分区教程
    C#通用类型转换 Convert.ChangeType
    缓存 HttpContext.Current.Cache和HttpRuntime.Cache的区别
    用户信息 Froms验证票证
    .NET4.0 __doPostBack未定义
    TFS2012 安装 配置笔记
    MVC学习笔记一
    新博客..第一天..
    ORACLE多表查询优化
  • 原文地址:https://www.cnblogs.com/luomingui/p/2145764.html
Copyright © 2020-2023  润新知