This example uses the resize
callback on the jQuery UI resizable "widget" to resize the layout while dragging the borders. Combined with some custom CSS rules, this makes for a very elegant resizable border layout. Please take care while using the resize
event handler as recalculating the layout every pixel is expensive and older browsers might not have smooth resizing as a result.