• 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>
  • 相关阅读:
    DB2创建序列
    hibernate注解影射表
    自定义异常类一
    【JVM】java方法区
    【JVM】java棧
    (2)java堆内存
    (1)java虚拟机概念和结构图
    枚举应用五
    设计模式之命令模式学习理解
    eclipse中javadoc给项目生成api文档
  • 原文地址:https://www.cnblogs.com/luoxiaolei/p/5193105.html
Copyright © 2020-2023  润新知