jQRangeSlider
jQRangeSlider copied to clipboard
Single sliders possible?
Would love to use this plugin on my project, but i also need single sliders inputs, any plans to support that?
Thanks.
I've no plan for that. But you can use standard jquery slider.
Shame, I also need a single slider. jQuery slider doesn't work properly on touch devices.
Maybe just an option to lock the first knob at 0, and hide it?
The best way that I can advise to do this is set the default value to 0 and in the css make the left handle display: none. The only issue after that is if the user clicks the bar to move it then the left handle can move that. If you know how to disable the bar sliding on click then that is a work around. I personally don't know how. So just something to ponder.
Maybe add an option to disable the click to move the bar so the user only has the option to use handles/labels and nothing else.
In my point of view, the best option is to use jquery-ui slider, and modify css to change its look.
+1
I agree that this would be useful. I came to ask the same question.
It's not unreasonable that an application would want both range selection and a regular slider selection on the same page. In this case, you would want them to be styled the same, and also have the same options such as fade in/out of labels and so on.
It would be great if this slider could support a single value.
As it is, I guess we can hack it to fix one end at zero, as someone mentioned, and hide the zero label with css.
Great news: I'm working on it.
It'll simpler and more powerful (at the same time), and will be used as a base for future versions of jQRangeSlider.
Anyone interesting in beta-testing?
@ghusse, I would! And this is important to me for similar reasons: I'd like to have a single look-and-feel for all sliders, range or single-value.
@ghusse missed your previous message. I would also love to test the new version, when it becomes available or as beta tester.
Cheers.
@ghusse I'm also in need of a single slider and would gladly help in testing.
I'm also needing a single slider option! ;)
@ghusse how is the single slider option coming and how can I beta test it? Thanks.
I'm a bit late on this, I did not work further on it for a while. I'll let you know once it'll be ready.
Same here. Yes, I could style the jquery-ui slider, but there is always room for a mistake or a difference. If you do still plan to work on this let us know how things are coming along.
@ghusse kudos on your great work ;) Was wondering about the single value slider tooo .. i guess now we have a lot of fans :D
I'm aware of that, but at the moment I don't have time to work on it!
Thanks for the work @ghusse, had any luck with this yet?
Hi @ghusse, the daterangeslider is great btw. I would be really interested to know if you have had the time to look into a single point slider?
Nope
I thought I could disable 'leftHandle' and 'rightHandle' with 'unbind', but it didn't work. i want to know why..
the best way to come up with was to change css to 'display:none;'. but this causes bugs that the slider handler and the left value labels jump to left before right position...
You cannot. Le 5 mai 2015 5:11 AM, "anqsdwe" [email protected] a écrit :
I thought I could disable 'leftHandle' and 'rightHandle' with 'unbind', but it didn't work. i want to know why..
the best way to come up with was to change css to 'display:none;'. but this causes bugs that the slider handler and the left value labels jump to left before right position...
— Reply to this email directly or view it on GitHub https://github.com/ghusse/jQRangeSlider/issues/66#issuecomment-98919957.
I've quickly put something together for a single point slider with dates and added the ability to zoom in too.
To prevent the slide bug on the single point i set the minimum value to the min bound of the slider.
Here is the fiddle - http://jsfiddle.net/andrewjones83/nqn76g0o/
I understand this is an old thread, however I was wondering if anyone progressed this to the point of having a solution for either locking the left handle or a single slider variant?
Hello,
Sorry, but no.
On Wed, Feb 17, 2016 at 8:13 PM, Dean Hurley [email protected] wrote:
I understand this is an old thread, however I was wondering if anyone progressed this to the point of having a solution for either locking the left handle or a single slider variant?
— Reply to this email directly or view it on GitHub https://github.com/ghusse/jQRangeSlider/issues/66#issuecomment-185355933 .
Hello @ghusse, idk if you keep the track of this improvement and if you have a progress in this feature. Anyway, thinking in a possible solution, I came up with this concept:
http://imgur.com/FVdi9Bf
In some cases, when the min and max values are the same, jQRangeSlider keeps both values in the corresponding bubbles, so instead of that, should use only one. Of course, when the slider buttons are merged, only display a single line, but inspired in the "Symmetric positionning" example, when both values are the same, could show two arrows to split them and use a range mode, also could have a gap between the arrows and scroll without problems.
With this concept, maybe can enable jQRangeSlider as single value with adding a boolean option, but, what do you think about it?
Hello,
I did not work on this, because jQueryUI alread has single sliders. As it's a dependency of jQRangeSlider, I do not want to reinvent the wheel.
On Thu, Jun 16, 2016 at 3:58 AM, José Roberto Sánchez < [email protected]> wrote:
Hello @ghusse https://github.com/ghusse, idk if you keep the track of this improvement and if you have a progress in this feature. Anyway, thinking in a possible solution, I came up with this concept:
http://imgur.com/FVdi9Bf
In some cases, when the min and max values are the same, jQRangeSlider keeps both values in the corresponding bubbles, so instead of that, should use only one. Of course, when the slider buttons are merged, only display a single line, but inspired in the "Symmetric positionning" example, when both values are the same, could show two arrows to split them and use a range mode, also could have a gap between the arrows and scroll without problems.
With this concept, maybe can enable jQRangeSlider as single value with adding a boolean option, but, what do you think about it?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ghusse/jQRangeSlider/issues/66#issuecomment-226369159, or mute the thread https://github.com/notifications/unsubscribe/AAgLjdBqoP7gU9vMp_kKldjEJWDihSHTks5qMK2ygaJpZM4AT0-x .