简体   繁体   English

如何创建像Picnik一样的动态菜单?

[英]How to create very dynamic menu like Picnik's?

Picnik's left hand menu: Picnik的左侧菜单:

http://www.picnik.com/app#/create/shapes http://www.picnik.com/app#/create/shapes

Basic features: 基本功能:

  • Accordion like components (but multiple items can be selected) 类似于手风琴的组件(但可以选择多个项目)
  • Each stack has multiple child stacked 每个堆栈都有多个子堆栈
  • The whole menu resizes depending on how many stacks are selected and a scrollbar is also shown if necessary 整个菜单的大小取决于选择的堆栈数量,并在必要时显示滚动条

So how Do I go about creating a menu like this? 那么如何创建这样的菜单呢? Any pointers to boot? 有引导指针吗?

Thanks! 谢谢!

You might try a combination of VBox, collapsible panels and lists ( http://hasseg.org/blog/?p=113 ) That should give you all the tools you need. 您可以尝试将VBox,可折叠面板和列表组合在一起( http://hasseg.org/blog/?p=113 ),这样可以为您提供所需的所有工具。

My Vision of it: (cause I like drawing with pipes and dashes) 我的愿景:(因为我喜欢用管道和破折号绘图)

VBOX-------------------------
|                            |
|  Collapsing Panel--------  |
|  |                       | |
|  |  Tile List----------  | |
|  |  |                  | | |
|  |  |  Tile            | | |
|  |  |  Tile            | | |
|  |   ------------------  | |
|   -----------------------  |
|                            |
|  Collapsing Panel--------  |
|  |                       | |
|  |  Tile List----------  | |
|  |  |                  | | |
|  |  |  Tile            | | |
|  |  |  Tile            | | |
|  |   ------------------  | |
|   -----------------------  |
|                            |
|  Collapsing Panel--------  |
|  |                       | |
|  |  Tile List----------  | |
|  |  |                  | | |
|  |  |  Tile            | | |
|  |  |  Tile            | | |
|  |   ------------------  | |
|   -----------------------  |
 ----------------------------

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM