DEMO for split.panel.js

Drag the split bar to resize the panel, double click the split bar to swap the size of the panel.

The background color of the left zone is light yellow, and the right is light blue by customizing the styles

The 1st panel.

The minum size of the right zone is 100px.

The 2nd panel

dblclick to swap manually

The 3rd panel (minum size is 26px)

The 4th panel