我见过的,但是想不起来代码了。我也记得代码在哪里,但是找起来太麻烦了。我告诉你地方,你自己找吧:
安装Windows Media Sever(版本没记住),然后用远程控制端,你会看到你要的效果。代码在一个比较难找的文件里。用的是控件。
enjoy it! :)

解决方案 »

  1.   

    第一个页面index.htm
    <html>
    <head>
    <title>无标题文档</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <script LANGUAGE="JavaScript" >
    function closewindows()
    { //关闭窗口
     document.all.WebBrowser.ExecWB(45,1);
    }
    function openmainwindows()
    {//打开主界面窗口
      window.open('main.htm','','resizable=1,scrollbars=0,status=1,menubar=no,toolbar=no,location=no, menu=no');
    }
    </script>
    </head><body bgcolor="#FFFFFF" text="#000000">
    <object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
    </object>
    <script LANGUAGE="JavaScript" >
    openmainwindows();
    closewindows();
    </script>  
    </body>
    </html>把文中的main.htm改为你的主页面名
      

  2.   

    使用window.open 来打开自己并将原来的页面关闭就可以了。