蒙德里安网页布局
我正在寻找 Dojo 蒙德里安风格页面布局的示例/代码片段(蒙德里安,不是软件,而是 法国艺术家)。用户应该能够单击边框来分割可用的矩形,并具有用于移动分隔线的手柄和用于删除分隔线的某种机制(例如拖动到边缘)。 我计划将其用于基于浏览器的表单布局。所以线框看起来就像蒙德里安的画作:
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:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以找到一个示例 javascript 代码,它应该对您有帮助。
http://www.compositionwithjavascript.com/
You can find a sample javascript code which should help you.
http://www.compositionwithjavascript.com/
当我写 BorderContainer 时,我使用了 Mondrian - 就像图像测试之一 显示约束。它使用嵌套的 BorderContainers(5 个区域布局),它并不像 Emir 的链接那么漂亮。
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.