splitterInit.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. var myLayout;
  2. jQuery(document).ready(function ($) {
  3. myLayout = $('body').layout({
  4. //Defining panes
  5. west__paneSelector: "#sidebar"
  6. , north__paneSelector: "#header"
  7. , center__paneSelector: "#content"
  8. // some resizing/toggling settings
  9. , north__resizable: false // OVERRIDE the pane-default of 'resizable=true'
  10. , north__spacing_open: 0 // no resizer-bar when open (zero height)
  11. , west__slideable: false
  12. , west__spacing_closed: 6
  13. , west__spacing_open: 4
  14. ,
  15. // some pane-size settings
  16. west__minSize: 280
  17. , north__minSize: 99
  18. // some pane animation settings
  19. , west__animatePaneSizing: false
  20. , west__fxSpeed_size: "normal"
  21. , west__fxSpeed_open: 10
  22. , west__fxSettings_open: {easing: ""}
  23. , west__fxName_close: "none"
  24. , stateManagement__enabled: true // automatic cookie load & save enabled by default
  25. , stateManagement__cookie__name: "sidebar_state"
  26. });
  27. });