<a onClick=javascript:open('要显示的页面','','scrollbars=yes,width=400,height=300')>go</a>

解决方案 »

  1.   

    是javascript 就可以实现啦
    window.open('index.html','','width=400,height=300')
    netscape 也支持 的啊。
    这些只是看需要而已,不一定是为了显示面积
      

  2.   

    window.open('../IMAGE/daili4.gif ','诚征代理','width=365,height=420,left=30,top=10 ,scrollbars=no');
      

  3.   

    多谢各位顶帖!!!
    事情是这样的,boss说做oa,想把主界面的菜单栏、地址栏、工具栏都去掉(为了增加显示面积)。我总觉得怪怪的,但又说不出很具体的理由。
    还请各位做过这方面的朋友多给点意见!
    thank u!!!
      

  4.   

    window.open('URL','','fullscreen=yes');
    或者
    window.open('URL','','channelmode=yes');
    详细参数说明:
    open--------------------------------------------------------------------------------DescriptionOpens a new window and loads the document given by URL, or a blank document if a URL is not provided. Syntax
    window = object.open([URL [, name [, features [, replace]]]])Parameter Description 
    URL  String specifying the URL of the document to display. If no URL is specified, a new window with about:blank will be displayed.  
    name  Optional. String specifying the name of the window. This name is used for TARGET on a FORM or an A.  
    features  Optional. String specifying the window ornaments to display. The following table lists the supported features. Syntax  Description 
    fullscreen={ yes | no | 1 | 0 }  Specifies whether to display the browser in a full-screen or normal window. Default is no. 
    Use full-screen mode carefully. Because this mode hides the browser's title bar and menus, you should always provide a button or other visual clue to help the user close the window. ALT+F4 will also close the new window.
     
    channelmode={ yes | no | 1 | 0 }  Specifies whether to display the window in theater mode and show the channel band.  
    toolbar={ yes | no | 1 | 0 }  Specifies whether to display the browser toolbar, making buttons such as Back, Forward, and Stop available.  
    location= { yes | no | 1 | 0 }  Specifies whether to display the input field for entering URLs directly into the browser.  
    directories = { yes | no | 1 | 0 }  Specifies whether to add directory buttons. Default is no. 
    status={ yes | no | 1 | 0 }  Specifies whether to add a status bar at the bottom of the window. Default is yes. 
    menubar={ yes | no | 1 | 0}  Specifies whether to display the menu bar. Default is yes. 
    scrollbars={ yes | no | 1 | 0}  Specifies whether to display horizontal and vertical scroll bars. Default is yes. 
    resizable={ yes | no | 1 | 0}  Specifies whether to display resize handles at the corners of the window.  
    width=number  Sets the width of the window, in pixels. Minimum value should be 100. 
    height=number  Specifies the height of the window, in pixels. Minimum value should be 100. 
    top=number  Specifies the top position, in pixels. This value is relative to the upper-left corner of the screen. 
    left=number  Specifies the left position, in pixels. This value is relative to the upper-left corner of the screen. 
     
    replace  Optional. A boolean value specifying whether the URL that is loaded into the new page should create a new entry in the window's browsing history or replace the current entry in the browsing history. If true, no new history entry is created.  Return ValueReturns a reference to the new window. Use this reference to script properties and methods on the new window. ResA name for the new window can be used as a target for a form or an A element. By default, the open() method creates a window that has a default width and height and the standard menu, toolbar, and other features of Internet Explorer. You can alter this set of features by using the features parameter. This parameter is a string consisting of one or more feature settings. The replace parameter controls whether the new window is put into the browser history list. For example, the following creates a new window that contains Sample.htm. The new window is 200 by 400 pixels, has a status bar, but does not have a toolbar, menu bar, or address field. window.open("sample.htm",null,
        "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");Applies Towindow 
      

  5.   

    在javascript中打开窗口的时候用
    window.open('page.html','','width=300,height=200')
      

  6.   

    window.open("mainindex.jsp","main_window_jsp","status=yes,toolbar=no,scrollbar=no,resizable=yes,menubar=no,location=no,top=0,left=0");
      

  7.   

    支持
    回复人: gjd111686(数字金刚) ( ) 信誉:100 -----------------------------------------------
    window.open('URL','','fullscreen=yes');
    或者
    window.open('URL','','channelmode=yes');
      

  8.   

    window.open('body02.html','doAdd', 'width=700,height=498,directories=false,location=false,menubar=false,resizeable=false,scrollbars=yes,toolbar=false').focus();
    参 数 设定值 含 义 
    toolbar yes/no 建立或不建立标准工具条 
    location yes/no 建立或不建立位置输入字段 
    directions yes/no 建立或不建立标准目录按钮 
    status yes/no 建立或不建立状态条 
    menubar yes/no 建立或不建立菜单条 
    scrollbar yes/no 建立或不建立滚动条 
    revisable yes/no 能否改变窗口大小 
    width  确定窗口的宽度 
    Height 确定窗口的高度。
    fullscreen=3, 窗口上的按钮不存了。(关闭,放大,等)
    resizable=1, 窗口可以最大化。0是不可以最大化
      

  9.   

    <a onClick=javascript:open('willOpenPage','','scrollbars=yes,width=400,height=300')>go</a>
      

  10.   

    试试这个:<script language="JavaScript1.2">
    <!--
    var width=800;
    var height=600;
    width = screen.width;
    height= screen.height;var status = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,top=0,left=0,width="+width+",height="+height;
    function OpenWindows(url,widthx,heighx){
    var newwin=window.open(url,"_blank",status);
    return false; 
    }
    OpenWindows("login.jsp");
    //-->
    </script>
      

  11.   

    window.open('body02.html','doAdd', 'width=700,height=498,directories=false,location=false,menubar=false,resizeable=false,scrollbars=yes,toolbar=false').focus();
    参 数 设定值 含 义 
    toolbar yes/no 建立或不建立标准工具条 
    location yes/no 建立或不建立位置输入字段 
    directions yes/no 建立或不建立标准目录按钮 
    status yes/no 建立或不建立状态条 
    menubar yes/no 建立或不建立菜单条 
    scrollbar yes/no 建立或不建立滚动条 
    revisable yes/no 能否改变窗口大小 
    width  确定窗口的宽度 
    Height 确定窗口的高度。
    fullscreen=3, 窗口上的按钮不存了。(关闭,放大,等)
    resizable=1, 窗口可以最大化。0是不可以最大化