用!!!showModalDialog('xxx.html')

解决方案 »

  1.   

    用 showModalDialog('aaa.html')呀。
      

  2.   

    我还要控制他的位置,以及工具栏等样式,你有showModaldialog()的详细说明吗?
      

  3.   

    楼上的说法也是一种办法,但是不怎么好用,毕竟弹出来的是类似网页的对话框。
    现在我给你一个真正的总在里前的弹出网页:
    要完成此效果把如下代码加入到<head>区域中<script language="JavaScript">
    aa=window.open("link.htm"); //这里的参数你自己加
    aa.blur();
    self.focus();
    aa.resizeTo(640,480);
    aa.moveTo(screen.availWidth/2-320,screen.availHeight/2-240);
    ontopIntervalHandle = aa.setInterval("window.opener.aa.focus();",10);
    </script>
      

  4.   

    好的呀!
    aa=window.open("link.htm","win","fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");
      

  5.   

    window.showModalDialog(sURL,[,vArguments][,sFeatures])
    sURL: 网页文件
    vArgument: 窗口间通信的字符串
    sFeatures: 
       dialogHeight:
       dialogWidth:
       dialogLeft:
       dialogTop:
       border: thick|thin
       center: yes|no
       help: yes|no
       maximize: yes|no
       minimize: yes|no
    自己去试吧。本来你可以去msdn自己找的,我都帮你写了。命苦呀.....
       
      

  6.   

    thank you !lanbor(兰波) ,我就是看过csdn才来得呀