• 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>
  • 相关阅读:
    递归的一些应用(一)遍历文件夹
    获取指定路径下文件夹所有文件的大小
    JavaScript Color Picker
    在ASP.NET中,用javascript给CuteEditor控件赋值
    通过URL判断文件是否有存在
    语音验证码
    [链接].net 学习网站
    [音乐]梦中的婚礼
    [转载]天堂猎人影院的爱情狩猎
    为应用程序添加消息过滤器
  • 原文地址:https://www.cnblogs.com/luoxiaolei/p/5193105.html
Copyright © 2020-2023  润新知