1

I'm looking for a sample/code snippet for a Mondrian style page layout for Dojo (Mondrian, not as the software, but the French Artist). Users should be able to click on a border to split the available rectangle and have a handle to move the divider and some mechanism (e.g. dragging to the edge) to delete a divider. I plan to use that for a browser based form layout. So the wireframe would look like a Mondrian painting: Mondrian painting

stwissel
  • 20,110
  • 6
  • 54
  • 101

2 Answers2

3

You can find a sample javascript code which should help you.

http://www.compositionwithjavascript.com/

Emir Akaydın
  • 5,708
  • 1
  • 29
  • 57
1

When I wrote BorderContainer, I used a Mondrian-like image as one of the tests to show constraints. It uses nested BorderContainers (5 region layout) It's not nearly as pretty as Emir's link.

peller
  • 4,435
  • 19
  • 21