jQuery UI Widgets Forums Layouts Splitter separate the panels

This topic contains 2 replies, has 2 voices, and was last updated by  Hugo 10 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • separate the panels #62215

    Hugo
    Participant

    Hi guys,
    I can not separate the panels that format, somebody help me please?

    img

    separate the panels #62264

    Nadezhda
    Participant

    Hello Hugo,

    Please, find below an example which shows how to format panels to achieve needed separation.

    <!DOCTYPE html>
    <html lang="en">
    <head>    
        <title></title>
        <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />
        <script type="text/javascript" src="../../scripts/jquery-1.11.1.min.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxsplitter.js"></script>
        <script type="text/javascript" src="../../scripts/demos.js"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                $('#mainSplitter').jqxSplitter({ width: 650, height: 450, orientation: 'horizontal', panels: [{ size: 300, collapsible: false }] });
                $('#top').jqxSplitter({ width: '100%', height: '100%', orientation: 'vertical', panels: [{ size: 300, collapsible: false }] });
                $('#second').jqxSplitter({ width: '100%', height: '100%', orientation: 'vertical', panels: [{ size: 150 }] });
                $('#third').jqxSplitter({ width: '100%', height: '100%', orientation: 'vertical', panels: [{ size: 150 }] });
    
            });
        </script>
    </head>
    <body class='default'>
        <div id="mainSplitter">
            <div>
                <div id="top">
                    <div>
                        <div id="second">
                            <div>
                                <span>Panel 1</span>
                            </div>
                            <div>
                                <span>Panel 2</span>
                            </div>
                        </div>
                    </div>
                    <div>
                        <div id="third">
                            <div>
                                <span>Panel 3</span>
                            </div>
                            <div>
                                <span>Panel 4</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div>
                Bottom
            </div>
        </div>
    </body>
    </html>

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    separate the panels #62588

    Hugo
    Participant

    Thanks @nadezhda

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.