function openWin() {
           var url='Add.aspx';                             //转向网页的地址;
           var name='add';                            //网页名称,可为空;
           var iWidth=720;                          //弹出窗口的宽度;
           var iHeight=600;                         //弹出窗口的高度;
           //获得窗口的垂直位置
           var iTop = (window.screen.availHeight - 30 - iHeight) / 2;
           //获得窗口的水平位置
           var iLeft = (window.screen.availWidth - 10 - iWidth) / 2;
          
window.open(url, name, 'height=' + iHeight + ',,innerHeight=' + iHeight
+ ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop +
',left=' + iLeft +
',status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no');

          // window.open("AddScfj.aspx", "newWindows",
'height=100,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,
resizable=no,location=no, status=no');
       }

最新文章

  1. .NET LINQ 投影运算
  2. 第一章 删掉centos原有的openjdk并安装sun jdk
  3. 新平台,新版本,ComponentOne 持续发力
  4. MySQL数据库的基本数据类型
  5. Javascript写入txt和读取txt文件示例
  6. Report_矩阵报表的实现(案例)
  7. poj1942 Paths on a Grid
  8. LNMP环境下压力测试时的主要调试参数
  9. (搬运)《算法导论》习题解答 Chapter 22.1-1(入度和出度)
  10. Thread类常用方法
  11. SQL数据插入
  12. easyui datagrid 后台返回所有数据,前台分页
  13. HDU 5178 pairs【二分】||【尺取】
  14. 使用GetAdaptersInfo时,网卡类型的值为71
  15. Intellij-配置JDK版本和编译版本
  16. web全栈架构师[笔记] — 02 数据交互
  17. 2331: [SCOI2011]地板 插头DP
  18. DSO安装试运行
  19. stenciljs 学习五 事件
  20. MySQL 5.1完全卸载

热门文章

  1. struts2学习(12)struts2验证框架2.自定义验证
  2. Vmware虚拟机linux上网问题
  3. 【UVALive】3029 City Game(悬线法)
  4. Mysql--可用的 MySQL 产品和专业服务
  5. 转 :关于springmvc使用拦截器
  6. git 一些用法
  7. leetcode671
  8. 语义分析:C语言表达式的语法树生成——Python实现
  9. PDO execute 执行错误
  10. VRRP概述