showModalDialog 和 window.open 的区别
来源:互联网 发布:网络开关控制器 编辑:程序博客网 时间:2024/06/07 05:43
一个是模态的,一个是非模态的 一个只能操作当前窗口,只有关闭它才能操作其它的窗口。而window.open可以操作其它窗口window.open是打开新窗口
window.showModalDialog(URL,dialogArgments.features) 打开一个新窗口 URL为要开启的网页。 dialogArgments为设定好传递给新视窗网页的参数,可以为任意数据类型。 feature 与open()的类似,都是格式方面的设定。调用格式为featureName1:featureValue1:(分号)featureName2:featureValue2: certer , dialogHeight, dialogLeft,dialogTop,dialogWidth,help(是否显示help按钮,下同),status,resizeable 值=1为yes,0为no. 我认为最重要的是dialogArgments,可以传递值到新的窗口。 第二重要就是 它的返回值 window.returnValue.可以在showModalDialog开启的窗口关闭后前,回传一个任意类型的值
- showModalDialog 和 window.open 的区别
- window.open、window.showModalDialog和window.showModelessDialog 的区别
- window.open、window.showModalDialog和window.showModelessDialog 的区别
- window.open、window.showModalDialog和window.showModelessDialog 的区别
- window.showModalDialog模式对话框 和 window.open的区别
- window.showModalDialog 和 window.open的区别以及用法
- window.showModalDialog模式对话框 和 window.open的区别
- window.showModalDialog和window.open的参数区别
- window.showModalDialog以及window.open的区别
- js中window.open和showModalDialog的区别
- ShowModalDialog与window.open的区别
- [转]ShowModalDialog与window.open的区别
- ShowModalDialog与window.open的区别
- showModalDialog与Window.open的区别
- ShowModalDialog与window.open的区别
- showModalDialog 和open.window的不同
- window.open()和window.showModalDialog()方法有什么区别
- 关于初用window.open和window.showModalDialog使用的区别
- sqlserver 触发器 判断是插入 删除 还是修改 的例子
- js验证输入是否为手机号码或电话号码
- Oracle Tiger触发器实例
- 用Java 开发 WebService Axis简单实例
- 如何制定自己的SQL Server 2000触发器
- showModalDialog 和 window.open 的区别
- 浙大acm
- 键盘上的PrintScreen(印屏幕)键功能
- mp3信息解析源代码
- 支持MyIE/Green Browser浏览器的Google PR插件
- 软件架构和软件框架-用例模型设计应用(1)
- 重新上csdn
- 花开花落又四年
- error LNK2019 CEikGlobalTextEditor 解决办法