zoukankan      html  css  js  c++  java
  • jquery.layout框架分割线

    css

    <link href="${base}/res/common/css/jquery.layout/jquery.layout.css" rel="stylesheet" type="text/css">

    js

    <script type="text/javascript" src="${base}/res/common/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="${base}/res/common/js/jquery.layout/jquery.ui.latest.js"></script>
    <script type="text/javascript" src="${base}/res/common/js/jquery.layout/jquery.layout.1.4.4.js"></script>
    
    <SCRIPT type="text/javascript">
    /* left-menu-two start */
    var myLayout;
    $(document).ready(function () {
        /* $('body').layout(); */
        myLayout = $("body").layout({
            minSize:            25
        ,    north__size:        130
        ,    north__resizable:            false    // OVERRIDE the pane-default of 'resizable=true'
        ,    north__spacing_open:        0        // no resizer-bar when open (zero height)
        ,    west__size:            200
        ,    center__minHeight:    200
        ,    center__minWidth:    '30%'
        ,    spacing_closed:        8
        ,    initClosed:            false
        ,    maskContents:        true // IMPORTANT - enable iframe masking - all panes in this case
        //,    onopen:                loadIframePage // same callback for ALL borderPanes
        ,    east__resizeWhileDragging: true    // slow with a page full of iframes!
        ,    east__initClosed:    true
        ,    south__initClosed:    true
        /*
        ,    west__initClosed:    false
        ,    west__maskIframesOnResize: false
        */
        });
    });
    /* left-menu-two stop */
    </SCRIPT>

    html

      <div class="ui-layout-center">
            <iframe id="menuIframe" name="menuIframe" width="100%" height="100%"
                frameborder="0" src="v_child_list.do"></iframe>
        </div>
        <div class="ui-layout-west">
            <ul id="tree" class="ztree" style="overflow:auto;"></ul>
        </div>
  • 相关阅读:
    Java 对象的序列化和反序列化
    Java 数组元素倒序的三种方式
    Java实现字符串倒序输出的几种方法
    sql ,内连接,外连接,自然连接等各种连接
    linux上 安装软件
    打乱数组
    java集合类
    我换了新博客啦
    代理模式
    抽象工厂模式
  • 原文地址:https://www.cnblogs.com/luoxiaolei/p/5193105.html
Copyright © 2011-2022 走看看