Expanded splitter not resizable

1 posts, 0 answers
  1. PPCnSEO
    PPCnSEO avatar
    16 posts
    Member since:
    Nov 2011

    Posted 06 Jun 2012 Link to this post

    I have some splitters which remember state per user.

    If I collapse a panel then expand it all works fine.

    But if I collapse the panel, reload the page so that its initialised collapsed, then expand it, I am unable to resize it.

    Reloading the page so it starts expanded and all is fine again.

    orientation: "horizontal",
    panes: [
    <? if ($_SESSION['horizontal'] <= 0){$sidebar_state = ", collapsed: true"; $_SESSION['horizontal'] = 100;} ?>
    { collapsible: true<?=$sidebar_state?>,  resizable:true,  size: "<?=$_SESSION['horizontal']?>px" },  
    { collapsible: false, resizable:true} 

Back to Top