window.open("xxx.asp","desktop","fullscreen=1")

解决方案 »

  1.   

    function Page_Load()
    {
    var agent = navigator.userAgent;
    var opentUrl = "index.aspx";
    if (agent.lastIndexOf('Windows NT 5.2') != -1 || agent.lastIndexOf('Windows NT 5.1') != -1) { //win2003 | WinXP
    var w=window.open(opentUrl,"","location=no,menubar=no,toolbar=no,status=no");
    w.moveTo(-10,-50);
    w.resizeTo(screen.width+10,screen.height+50);
    parent.opener = null;
    parent.close();
    }
    else if (agent.lastIndexOf('Windows NT 5.0') != -1 ||  agent.lastIndexOf('Windows 98') != -1) { //Win2000|Win98
    window.open(opentUrl,'','fullscreen=1');
    parent.opener = null;
    parent.close();
    }
    }
      

  2.   

    <script>
    <!--function fullwin(targeturl){
    window.open(targeturl,"","fullscreen,scrollbars")
    }
    //-->
    </script>