I have created a jQuery plugin for adding split panes to you web site or web application.
Split panes can be nested. Component min-width
s and min-height
s are supported. I have not implemented support for max-width
and max-height
, yet.
Component size can be set programmatically.
I’ve tested the code in the latest versions of Chrome, Firefox and Safari on OS X, and in IE8 on XP.
The source code can be found at github.
Please give me you feed back!
Check out the following pages for examples on how to use it:
- Vertical divider with left component fixed
- Vertical divider with right component fixed
- Vertical divider with right and left component widths in percent
- Horizontal divider and top component fixed
- Horizontal divider and bottom component fixed
- Horizontal divider and top and bottom component widths in percent
- Nested split panes
- 3 columns with left and right components fixed (nested)
N.B., not all markup in the examples are needed for setting up the split panes. <div class="pretty-split-pane-frame">
and <div class="pretty-split-pane-component-inner">
are used for styling purposes only. Feel free to use them, but you might want to style things your own way.