2

I want to have 2 or more elements that span equal amounts of the window be resizable. When one element is resized, the next adjacent element must adjust its width to take up the available space in the window. Basically, there should never be any free space, all divs must sum up to be 100% of window width.

I have followed the answer here: jQuery UI Resizable alsoResize reverse

I have an updated JSfiddle here that uses current versions of jQueryUI. It works until you set the position:absolute and left positions of one of the divs (try uncommenting the two commented out lines in CSS): http://jsfiddle.net/WpgzZ/678/

Any idea how to get the divs to resize correctly when the above CSS properties are set?

Community
  • 1
  • 1
professormeowingtons
  • 3,504
  • 7
  • 36
  • 50

1 Answers1

1

I found a solution here that involves adding an alsoResizeReverse method to the jQueryUI plugin itself: jQuery UI Resizable alsoResize reverse

Community
  • 1
  • 1
professormeowingtons
  • 3,504
  • 7
  • 36
  • 50