<input onclick="window.open('http://xml.sz.luohuedu.net/xml/Content.asp')" type="button" value="Open">

解决方案 »

  1.   

    ????
    <script>
    window.open()
    </script>
    好像还没失败过……
      

  2.   

    装了acdsee5简装中文版就开不了了
    或者在myie这样的浏览器里面
      

  3.   

    机器上安装了广告拦截功能也会是open的窗口自动关闭 (看起来就像没开过)  :)
      

  4.   

    万一不行使用target=_blank替代。
      

  5.   

    可以用JS设置IE禁止或允许脚本执行?
      

  6.   

    看看这段代码,能应付一般的广告屏蔽的软件,也能应付myie,不过好像并不能搞定所有的防广告软件<html>
    <head>
    <title>系统加载中……</title>
    </head><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="100%">
      <tr>
        <td width="100%">
        <p align="center"><font size="4" id="info">初始化页面设置 ......</font></td>
      </tr>
    </table>
    <br><br><script language="javascript">
    <!-- var win;

    function owin(){
    win=window.open('indexx.asp','','location=0,scrollbars=0,toolbar=0,toolbars=0,status=0,resizable=1,height=525,width=790,top=80,left=85');
    }

    function openwin(){
    owin();
    setTimeout("test()",1000);
    }

    function test(){

    if (win.closed==true){
    document.all.info.innerHTML="系统初始化出现异常,请点击<a href='javascript:intos();'>这里</a>进入系统";
    return ;
    }

    try{
    win.document.focus();
    window.opener=null;
    window.close();
    win.focus();
    }
    catch(e){
    document.all.info.innerHTML="系统初始化出现异常,请点击<a href='javascript:intos();'>这里</a>进入系统";
    }

    }


    function intos(){
    owin();
    window.opener=null;
    window.close();
    win.focus();
    }


    //--></script><body scroll="no" onload = "javascript:openwin();">
    </br></br></body>
    </html>