3 jquery ui slider connected(3 jquery ui 滑块连接)
问题描述
我尝试连接 3 个 jquery ui 滑块.
I try to connect 3 jquery ui sliders.
三个值的总和必须始终保持在 100,因此当一个滑块移动时,其他两个必须移动.
The sum of the 3 values must always stay at 100, so when a slider is moved the two others must moved.
我做了一些东西,它可以工作,但速度很慢:http://jsfiddle.net/vBsTR/2/
I made something, it works but it is very slow: http://jsfiddle.net/vBsTR/2/
如果您只连接一个滑块,它工作正常(尝试移动第一个):http://jsfiddle.net/tyjJx/2/
If you just connect one slider it works fine (try to move the first one): http://jsfiddle.net/tyjJx/2/
有人可以帮忙吗?谢谢!
Can anyone help please? Thanks!
推荐答案
我也在寻找这个问题的答案,最终从头开始编写它
I was looking for an answer to this as well and ended up writing it from scratch
http://jsbin.com/ojeruc/1/edit
这篇关于3 jquery ui 滑块连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:3 jquery ui 滑块连接


- 从原点悬停时触发 translateY() 2022-01-01
- 是否可以将标志传递给 Gulp 以使其以不同的方式 2022-01-01
- 使用 iframe URL 的 jQuery UI 对话框 2022-01-01
- 如何显示带有换行符的文本标签? 2022-01-01
- 为什么悬停在委托事件处理程序中不起作用? 2022-01-01
- 我不能使用 json 使用 react 向我的 web api 发出 Post 请求 2022-01-01
- 如何向 ipc 渲染器发送添加回调 2022-01-01
- 如何调试 CSS/Javascript 悬停问题 2022-01-01
- 为什么我的页面无法在 Github 上加载? 2022-01-01
- 在不使用循环的情况下查找数字数组中的一项 2022-01-01