diff options
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/template/common/splitterInit.js')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/template/common/splitterInit.js | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/template/common/splitterInit.js b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/template/common/splitterInit.js new file mode 100644 index 000000000..090b81485 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/template/common/splitterInit.js @@ -0,0 +1,40 @@ + + var myLayout; + + jQuery(document).ready(function ($) { + + myLayout = $('body').layout({ + //Defining panes + west__paneSelector: "#sidebar" + , north__paneSelector: "#header" + , center__paneSelector: "#content" + + // some resizing/toggling settings + , north__resizable: false // OVERRIDE the pane-default of 'resizable=true' + , north__spacing_open: 0 // no resizer-bar when open (zero height) + , west__slideable: false + , west__spacing_closed: 6 + , west__spacing_open: 4 + + , + // some pane-size settings + west__minSize: 280 + , north__minSize: 99 + + // some pane animation settings + , west__animatePaneSizing: false + , west__fxSpeed_size: "normal" + , west__fxSpeed_open: 10 + , west__fxSettings_open: {easing: ""} + , west__fxName_close: "none" + + + , stateManagement__enabled: true // automatic cookie load & save enabled by default + , stateManagement__cookie__name: "sidebar_state" + }); + + + + + }); + |