showModalDialog参数说明
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)
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)