frame中要自由调整页面大小,又可收起\展开页面
如猫扑 一样 

解决方案 »

  1.   

    如猫扑的 大杂烩 
    http://dzh.mop.com/
      

  2.   


    <frameset rows="70%,30%" cols="*" framespacing="0" " frameborder="NO"
    name="policephone" border="0">
    var screen=false;i=0;width=0;
    function  shiftwindow()
    {
    if((screen==false) && (parent.policephone.rows=='30%,70%'))
    {
        
    screen = true;
    }
    if(screen==false)
    {
    parent.policephone.rows='30%,70%';
    screen=true;
    }
    else if(screen==true)
    {
    parent.policephone.rows='70%,30%';
    screen=false;
    }
    }
      

  3.   

    我现在已经实现了点击中间的分栏按钮就自动收起|展开的功能 但frame中的左右拉动无法让分栏的按钮也跟着移动 
    这是我的框架 <frameset id="allFrame" rows="*" cols="215,8,*,8,200" framespacing="1" frameborder="yes" border="1" bordercolor="white">
          <frame src="<%=request.getContextPath()%>/pages/frame/left.jsf" name="leftFrame" scrolling="auto"  id="leftFrame"/>
          <frame src="<%=request.getContextPath()%>/pages/frame/left_bar.jsp" name="leftBarFrame" scrolling="no"  id="leftBarFrame" />
          <frame src="<%=request.getContextPath()%>/pages/frame/ctx.jsf" name="mainFrame" id="mainFrame" />
      <frame src="<%=request.getContextPath()%>/pages/frame/right_bar.jsp" name="rithBarFrame" scrolling="no"  id="rightBarFrame" />
      <frame src="<%=request.getContextPath()%>/pages/frame/right.jsf" name="rightFrame" scrolling="auto"  id="rightFrame"/>
        </frameset>
      

  4.   

    研究了 但不知道他中间那个点击和拉动的区域是怎么放进去的 
    打框架上 他只4个框架,中间他只有2个 <frameset name="main" cols="503,*" scrolling="auto"  frameborder="0" border="0" framespacing="1">
    <frame name="leftFrame" id="leftFrame" scrolling="no" src="/leftFrame.jsp?type=2&tp=&refer=http://mop.com/" frameborder=0 scrolling="no" marginwidth="0" marginheight="0" border=0 framespacing="0">
    <frame name="right" id="right" src="http://dzh.mop.com/rightIndex.jsp" scrolling="auto" border=0 frameborder=0 framespacing="0">
    </frameset>一个是左边的一个右边的 中间那个用于拉动和点击收缩展开的区域呢 ?
    中间好像是一个单独的页面 但不知道怎么嵌进去的高手帮我研究哈啊 在线等  谢谢
      

  5.   

    哈哈 今天自己解决了 
    他就是在frame中再嵌套了
    iframe和分割栏
    我已经搞定了还是感谢猫扑