My goal should be obvious:
I have two rectangular panels (divs) that are adjacent (left and right) to one another. I would like to grab the boundary between the two and expand the left panel eastward, so that its right edge moves east, while the right panel's left edge also moves east, and vice versa. This is a common feature in many application UI, to change the relative width of adjacent panels interactively.
I am using the JQuery Resizable function, which has a alsoResize option. I have tried Simen Echholt's alsoResizeReverse function, documented here: jQuery UI Resizable alsoResize reverse
It does a very cool thing, but not specifically what I'm looking for.
If anyone had an elegant solution, or could explain what mod to apply to the alsoResizeReverse function to make this work ?
East-west (vertical boundary) resizing is my primary goal, but north-south (horizontal) would be useful as well. A generic solution is best.
thanks
Philippe