Hello:
I am new this group, but I would like to get some help with using
Sliders. In
particular, I have found a couple of issues for which I have to make
an exception.
If anyone has any ideas/experience with the following, let me know.

1. When min == max, the "%" operation fails in Slider.toStep()
because this.stepSize is zero. This basically boils down to "x%0"
which
produces a NaN.  This NaN gets propagated all over the place and can
create a certain amount of havoc with the library.
   I have added a test for stepSize being zero, in which case
the function returns 0 (not sure if this is correct value), otherwise
the function returns the standard calculation. However, I still get an
"unknown" error the line before the return statement in
Elements.Style.setStyle().
 I think the value of "value" in "this.style[property] = value;" is
incorrect.
However, I have unable to determine the specifics of the what is going
on.

2. For my application , the Slider min/max values can vary at any
time. Each time these values change, the code reallocates a new slider
using the new min/max values. The problem with new slider is that the
knob gets stuck at the low end. The new slider contains the new
min/max values, but the knob does not move. It's almost like it is
disabled/detached without having done so. Anyone got any clues?

Henry

ps. The platforms on which I have noticed the about are IE7/8 and
Firefox 3.0/3.5. on Vista.

Reply via email to