<SCRIPT  LANGUAGE="JavaScript">  
showModalDialog("javascript:document.write('<iframe  src=\"index.asp\"  width=100%  height=100%></iframe>')",'',"dialogHeight:"+screen.height+";dialogWidth:"+screen.width+";dialogTop:0;dialogLeft:0;resizable:no;scroll:0");  
</SCRIPT>  
 
打开新页面的时候始标题栏终有“网页对话框”字样,请问高手怎样才能修改“网页对话框”为其它文字?谢谢~~

解决方案 »

  1.   

    在加载的页面<title>里用N多个 &nbsp; 把这几个字挤到边上看不到为止.
      

  2.   

    好像没用耶~我加载的页面在iframe里面,大侠~还有没有其它办法,文字不能替换成别的文字吗?
      

  3.   

    showModalDialog还没看到这种效果,顶多是挤过去,不过挤掉还是有几个点在那
      

  4.   

    用这段可以,在index.asp的<title>中间加&nbsp;可以把文字挤出去
    showModalDialog("index.asp",window,"dialogHeight:"+screen.height+";dialogWidth:"+screen.width+";dialogTop:0;dialogLeft:0;resizable:no;scroll:0");
    但是用下面这段就不行,文字仍在那儿,而我确需要使用下面这段,还望高手明示~~
    showModalDialog("javascript:document.write('<iframe src=\"index.asp\" width=100% height=100%></iframe>')",'',"dialogHeight:"+screen.height+";dialogWidth:"+screen.width+";dialogTop:0;dialogLeft:0;resizable:no;scroll:0");
      

  5.   

    showModalDialog("javascript:document.write('<title>meizz                        </title><iframe src=\"index.asp\" width=100% height=100%></iframe>')",'',"dialogHeight:"+screen.height+";dialogWidth:"+screen.width+";dialogTop:0;dialogLeft:0;resizable:no;scroll:0");
    用空格挤