我可以用什么来制作类似刀片的 UI?
我正在构建一个网络应用程序,因为大多数任务都涉及用户在发布内容之前回答几个问题,所以我想创建一个 UI,其中每个问题都在一个“刀片”中,当用户单击“确定”时,它会移至下一个问题在下一个“刀片”上
就像旧版的刀片 UI X360 仪表板,只不过用户不会来回移动以选择不同的选项,而是完成该过程。
我能找到的最接近的是 jQuery Accordion,但是如何使其水平,就像在仪表板?
I'm building a webapp and since most of the tasks involve the user answering a few questions before posting his content I wanted to create a UI where each question is in one "blade" and when the user clicks OK it moves to the next question on the next "blade"
Like the blade UI from the old X360 dashboard, except the user doesn't moves back and forth for different options but to complete the process.
The closest I could find was the jQuery Accordion, but how do I make it horizontal like in the dashboard?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只需为每个刀片创建一个 div,将它们全部向左浮动,并在包含的 div 中给它们一个宽度,然后为宽度设置动画。
Just make a div for each blade, float them all left and give them a width in a containing div, then animate the widths.
Wijmo 手风琴将进行垂直和水平操作,它基于 jQuery UI。
http://wijmo.com/
The Wijmo accordion will do vertical and horizontal and it's based off of jQuery UI.
http://wijmo.com/