window.open()
2015-07-01 14:35
344 查看
if (document.all) {
//IE
feature = "dialogWidth:1002px;dialogHeight:590px;status:no;help:no";
window.showModalDialog("${basePath}/page/toservice.html", null, feature);
}else {
//非IE
feature = "width=1002,height=590,menubar=no,toolbar=no,location=no,scrollbars=no,status=no,modal=yes";
window.open("${basePath}/page/toservice.html", null, feature);
}
//IE
feature = "dialogWidth:1002px;dialogHeight:590px;status:no;help:no";
window.showModalDialog("${basePath}/page/toservice.html", null, feature);
}else {
//非IE
feature = "width=1002,height=590,menubar=no,toolbar=no,location=no,scrollbars=no,status=no,modal=yes";
window.open("${basePath}/page/toservice.html", null, feature);
}
相关文章推荐
- Linux: 一行命令去除文件中所有空行
- SuSE Linux安装多MySQL实例
- linux之akw
- Linux Logwatch的简单配置与使用
- freerdp linux编译
- shell查找文件并删除
- 记录一些有用的学习的网站
- 在Mac OS上安装Hadoop1.0.0
- 本地日志数据实时接入到hadoop集群的数据接入方案
- 3D-HEVC运行window & linux
- 本地日志数据实时接入到hadoop集群的数据接入方案
- CentOS 6 通过DVD快速建立本地YUM源
- linux命令笔记之ls
- centos6.4安装配置ISCSI
- “UEFI虚拟机”以及“EFI SHELL”介绍
- 嵌入式Linux启动过程中的问题积累
- linux用户和组
- 查看Linux系统版本,适用于RedHat,CentOS
- 进程间通信——使用WM_COPYDATA消息通信
- 进程间通信——使用WM_COPYDATA消息通信