在 IE6.0 中这么让open()出来的窗口有滚动条?
在 IE7.0 中这么让open()出来的窗口有滚动条?
在 火狐  中这么让open()出来的窗口有滚动条?

解决方案 »

  1.   

    open("2.html","","scrollbars=1");
    ie6,ff都可以,ie7不知道
      

  2.   

    scrollbars=1 是什么意思? 可以scrollbars=2 或者 scrollbars=3 吗?
      

  3.   

    scrollbars = { yes | no | 1 | 0 } 
    Specifies whether to display horizontal and vertical scroll bars. 
    The default is yes. 
    指定是否要显示的横向和纵向滚动条。 
    默认为yes。 scrollbars=yes与scrollbars=1等效
    scrollbars=no与scrollbars=0等效
      

  4.   

    window.open("http://example.com", "name", "scrollbars=1,width=100,height=100");but note that Firefox will only show scrollbars when the content is larger than the window.
      

  5.   

    当然你也可以这样
    html {    overflow: -moz-scrollbars-vertical;} 强制一下
      

  6.   


    但是. window.open("../score/integraljihua.jsp", "exchangesrc", "width=700,height=500,scrollbars=2");
    我这样写,也可以打开窗口并且有滚动条.
      

  7.   

    在open的那个页面放很多的<br />
      

  8.   


    <script language="javascript">
    window.onload = function(){
    document.body.style.scrollbar3dLightColor = "red";//滚动条颜色
                      document.body.style.scrollbarArrowColor = "red";//箭头颜色
    }
    </script>
      

  9.   

     
    None        不显示任何滚动条。
     
    Horizontal  只显示水平滚动条。
     
    Vertical    只显示垂直滚动条。
     
    Both        同时显示水平滚动条和垂直滚动条。
     
    Auto        如有必要,可以显示水平滚动条、垂直滚动条或同时显示这两种滚动条。要不然也可以不显示任何滚动条。