类似的问题有很多人问过了,用模态窗口http://community.csdn.net/Expert/topic/3480/3480264.xml?temp=.704159http://community.csdn.net/Expert/topic/3535/3535328.xml?temp=.8636743

解决方案 »

  1.   

    showModalDialog已经会被很多浏览器屏蔽了
      

  2.   

    <script language="JavaScript">
    <!--
    function openwin(url,name,features)
    {
    var Withwolf=window.open(url,name,features)
    if(!Withwolf)
    {
    Withwolf=window.open(url,name,features)
    }
    if(!Withwolf)
    {
    alert("无法开启新窗口,如果您使用了窗口拦截工具,请将其暂停使用")
    }else{
    Withwolf.focus()
    }
    }
    openwin('','xiaobin','width=400, height=300')
    //-->
    </script>
      

  3.   

    回复人: lfecnu() ( ) 信誉:100 
    方法还可以,其实是无法避免的,因为你的是b/s结构啊,人家装了浏览器插件,你没有办法,除非你也让客户装个你自己的插件,那就没有问题了