jQWidgets Forums

jQuery UI Widgets Forums Layouts Splitter Fluid Layout Issue on Browser Re-size issue

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • mullai.b
    Participant

    Please find the source code. In the below fluid layout, if browser is re size the splitter panel is hidden up

    Here is my code:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”

    “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

    <html xmlns=”http://www.w3.org/1999/xhtml” lang=”en” xml:lang=”en”>

    <head>

    <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />

    <meta name=”keywords” content=”jQuery Splitter, Splitter Widget, Splitter, jqxSplitter” />

    <meta name=”description” content=”test nested vertical and horizontal splitters” />

    <title id=’Description’>Fluid Held</title>

    <link rel=”stylesheet” href=”jqwidgets/styles/jqx.xeroxbase.css” type=”text/css” />

    <script type=”text/javascript” src=”scripts/jquery-1.8.3.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=”jqwidgets/jqxtabs.js”></script>

    <style type=”text/css” media=”screen”>

    html, body

    {

    height: 100%;

    width: 100%;

    margin: 0px;

    padding: 0px;

    overflow: hidden;

    }

    </style>

    <script type=”text/javascript”>

     

    $(document).ready(function () {

    $(‘#MainSplitter’).jqxSplitter({

    width: ‘100%’,

    height: ‘100%’,

    orientation: ‘vertical’,

    panels: [{ size: ‘15%’, collapsible: true },

    { size: ‘85%’, collapsible: false}]

    });

     

     

    $(‘#HoriSplitter’).jqxSplitter({

    width: ‘100%’,

    height: ‘100%’,

    orientation: ‘horizontal’,

    panels: [{ size: ‘70%’, collapsible: false },

    { size: ‘30%’, collapsible: true}]

    });

     

    });

    </script>

    </head>

    <body>

    <div style=”position: absolute; width: 100%; height: 100px; background:#666666;”>

    Header

    </div>

    <div style=”position: absolute; box-sizing: border-box; padding-top: 100px; padding-bottom: 50px;

    width: 100%; height: 100%;”>

     

    <!———————>

     

    <div id=”MainSplitter”>

     

    <div> Left</div>

     

    <div>

    <div id=”HoriSplitter”>

    <div> Top</div>

    <div >

    Middle

    </div>

    </div>

    </div>

    <!———————>

     

    </div>

    <div style=”position: absolute; bottom: 0; background:#666666; width: 100%; height: 50px;”>

    Footer

    </div>

    </body>

    </html>


    Peter Stoev
    Keymaster

    Hi,

    I suggest you to upgrade to the latest version – jQWidgets 2.9.2. The reported behavior cannot be reproduced with the current version of the Splitter.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.