加入收藏-方便您以后查找网页特效哦  
  你的位置:主页>>JS技巧>>showModaldialog  
   
 

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)

 
     
  加入如下代码到body区域


 

     
   
  COPYRIGHT © 2003-2005 ALL RIGHTS RESERVED  
业务联系广告服务 网站建设 关于我们 免责声明

月光宝盒工作室
800*600