window.open居中显示,模式窗口
来源:互联网 发布:淘宝账号被永久封号 编辑:程序博客网 时间:2024/06/05 20:21
var url="";//地址
var height = 500;
var width = 400;
var left = (screen.availWidth - width) / 2;
var top = (screen.availHeight - height) / 2;
if (top < 0) {
top = 0;
}
if (left < 0) {
left = 0;
}
var openWin = window.open(url, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=' + width
+ ',height=' + height + ',left=' + left + ',top=' + top);
window.onfocus = function() {//模仿模式窗口
openWin.focus();
}
- window.open居中显示,模式窗口
- window.open弹出窗口居中显示
- window.open打开窗口居中显示
- window.open 居中显示
- 在Javascript 中实现window.open弹出窗口居中显示
- 在Javascript 中实现window.open弹出窗口居中显示
- window.open 弹出居中窗口
- window.open模式窗口
- window.open的弹出窗口居中
- 弹出窗口居中(window.open)
- open.window弹出窗口实现居中
- JS中window.open弹出窗口居中
- window.open()弹出居中的窗口
- JS中window.open弹出窗口居中
- window.open实现模式窗口
- window.open打开页面居中显示
- window.open打开页面居中显示
- 用window.open实现全屏显示窗口
- 常见时区缩写
- 修改hosts文件无效解决办法
- VS 2010编译Gh0st 3.6
- Retrieving Media from a Content Resolver
- 借船过河:一个据说能看穿你的人性和欲望的心理测试
- window.open居中显示,模式窗口
- 如何使用EnumSet实现基于bit field的enum set?
- tyvj-1144 股票 DP
- Android系列教程之七:EditText使用详解-包含很多教程上看不到的功能演示
- 通过帧标签获取对应的帧
- 不要在功能上竞争
- 移植ads7846驱动到tiny6410(tiny6410)
- ubuntu 11.10 中eclipse 修改代码悬浮提示窗口颜色
- java文件操作