现在的位置: 首页 > 综合 > 正文

showModalDialog参数说明

2013年07月29日 ⁄ 综合 ⁄ 共 505字 ⁄ 字号 评论关闭
showModalDialog() (Internet Explorer 4 and above)
showModelessDialog() (Internet Explorer 5 and above) vReturnValue = window.showModalDialog(sURL[, vArguments][, sFeatures]);
vReturnValue = window.showModelessDialog(sURL[, vArguments][, sFeatures]); 其中:
vArguments 是要傳到子窗口的參數;
sFeatures 指定子窗口顯示的狀太,與 window.open() 的相似; sFeatures 所用的參數:
dialogHeight: iHeight
dialogWidth: iWidth
dialogLeft: iXPos
dialogTop: iYPos
center: {yes | no | 1 | 0 }
help: {yes | no | 1 | 0 }
resizable: {yes | no | 1 | 0 } (Internet Explorer 5 and above)
status: {yes | no | 1 | 0 } (Internet Explorer 5 and above)
【上篇】
【下篇】

抱歉!评论已关闭.