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:
Asked
Active
Viewed 562 times
1

stwissel
- 20,110
- 6
- 54
- 101
-
1this link may help. http://www.compositionwithjavascript.com/ – Emir Akaydın Oct 27 '11 at 06:19
-
Emir: cool. If you put your answer into an answer instead of a comment I can accept and vote for you – stwissel Oct 27 '11 at 16:49
-
good to hear the link helped. i added my comment as an answer. – Emir Akaydın Oct 28 '11 at 11:20
-
Looking for something similar but only wanted to point out that even though Mondrian lived in Paris quite a few years he was not French. He was a Dutch painter. – zJorge Jul 23 '16 at 03:06
2 Answers
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