将新打开的窗口放置在页面中间window.open
来源:互联网 发布:敏捷网络 编辑:程序博客网 时间:2024/05/16 18:24
function OpenWindow(){var height = 500;var width = 200;var top=Math.round((window.screen.height-height)/2);var left=Math.round((window.screen.width-width)/2);window.open("${path}/input/budgetFeeTypeDialog.jsp", "", "height=" + height + ", width=" + width + ", top=" + top + ", left= " + left + ", toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=yes, status=no");}
height =500;
width=200;
这两个是设置的新页面的大小。其他的不多说明上一篇讲了!
- 将新打开的窗口放置在页面中间window.open
- 将window.open打开的窗口保持在最前端
- 使用window.open()打开新的窗口
- 在页面注册脚本,window.open使弹出的页面显示到屏幕中间
- window.open在当前页面打开网页
- 网页中,新打开窗口改变原来窗口的值window.open
- Web页面打开新的窗体之window.showModalDialog和window.open
- window.open打开的窗口关闭后刷新父页面的子页面
- window.open 打开窗口的参数详解
- window.open()打开的窗口用window.opener()在chrome浏览器下失败的原因
- js window.open新打开窗口总是被浏览器拦截的问题
- window.open 打开页面的方式
- window.open 打开窗口最大化。。。
- window.open 打开窗口最大化。。。
- window.open()实现打开窗口
- window.open 打开最大化窗口
- window.open 打开子窗口,关闭所有的子窗口
- 在此处打开命令窗口 (Open command window here)
- <<道路与梦想>> 读后感
- MySQL GUI TOOL导出(备份)数据库为SQL文件
- directx sdk 安装
- 网页中,新打开窗口改变原来窗口的值window.open
- 用js实现页面布局的滑动门和TAB
- 将新打开的窗口放置在页面中间window.open
- 请教一个问题?忘记登录系统密码了,应该怎么办?
- 僵尸进程
- FTP 不支持请求
- fcntl函数说明
- IT
- javascript prototype介绍的文章
- IIS5.1安装说明
- sleep 函数的简单用法