Hi,
I have two minor problems with scriptaculous sliders:
a) when a list of allowed values is provided and that list contains 0
the value 0 is not usable
This can be seen in the slider_test.html functional tests, slider 5
(multiple handles and predefined values), which allows values
[0,0.2,0.4,0.6,0.8]. I cannot move any of the sliders to position 0
(using mozilla 1.7.8, same for firefox 1.0.4 and internet explorer 6)
Is that a bug or am I missing something?
b) When I have a slider with two restricted controls, and I move both
sliders to the right most postition, I''m trapped as soon as I try to
move the slider to the left again. The top most slider is the second,
that can be moved between the other slider and the end of the track
(that is no movement in this case) and I cannot reach the left slider
since it is overlaped by the right slider. There''s one chance to avoid
the problem: clicking on the track before accessing the right slider
moves the left slider and the slider remain usable.
I guess the problem could be worked around by using differently
shaped sliders.
For now I prevented the sliders to end on top of each other by checking
the slider values and moving the left slider one step to the left, if
both sliders are at the end of the track, but a real solution would be
to move the left slider if both sliders are in the right most position
instead of the right one.
Again the problem can be seen in the slider test page, slider 6 in this
case.
I''m using scriptaculous 1.5.1.
Morus