选择框选项的原型库组件
一个用户界面问题...
有两个选择框,其间有两个按钮“<<”和“>>”。当你点击“<<”时按钮将所选项目从右侧的选择项目向左移动,同样从左向右“>>”。我不确定这种设置在行话或术语中被称为什么;)
我想知道是否已经存在这样的原型组件?或者使用原型库执行此操作的优化方法?
谢谢,J
An UI question...
There are two select boxes between which there are two buttons "<<" and ">>". When you hit the "<<" button the selected items from the select item on the right moves to the left and similarly from left to right ">>". I am not sure what this kind of set up is called in terms of or jargon or terminology ;)
I wanted to know if there is a prototype component like this existing already? or an optimized way of doing this with Prototype library?
Thanks, J
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,您所需的 UI 问题没有固定的术语。您仍然可以将其称为“将所选项目从一个列表框移动到另一个列表框”。
作为参考,您可以查看此示例,它是使用纯 JavaScript 构建的。
另外,我非常确定有某种方法可以使用 Prototype & 构建此类功能。 Scriptaculous 库以及效果。您很可能需要“Sortables”对象。
希望有帮助。
There is no fixed terminology of your required UI problem, so far to my knowledge. Still you may call it as "Moving selected Items from one Listbox to another".
For reference, you can see this example, which is built using plain JavaScript.
Also I am pretty sure that there is some way to build this type of functionality using Prototype & Scriptaculous libraries, along with the effects. You will require the "Sortables" object, most probably.
Hope it helps.