Rangeinput(Jquery Flow Tools)1 个范围内有 2 个句柄,可能吗?
根据此插件 http://flowplayer.org/tools/demos/rangeinput/index.html html
有人知道如何向范围添加第二个句柄吗?我在官方网站上问过这个问题,但仍然没有答案:(
As per this plugin http://flowplayer.org/tools/demos/rangeinput/index.html
Does anybody know how to add second handle to the range? I've asked this on official site but still no answer :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我所做的就是创建两个范围,然后将它们移到另一个的顶部,再加上一些代码来防止最小值超过最大值:
这与 jQuery 工具网站的第一个示例配合良好,并且您将获得两个句柄。
防止左侧超越右侧的事件处理程序:
这样我就不会破坏 HTML5 语义,并且可以获得两个句柄。
What I do is make two ranges then move them one on top of the other, plus some code to prevent the minimum to go over the maximum:
This works fine with the first example from the jQuery tools website, and you get two handles.
The event handler to pervent the left from overtaking the right:
This way I don't break the HTML5 semantics and I get two handles.