If I use 10 sliders in a survey consisting of 10 questions, and need to know if a given question has been answered, I can I tell if the user has touched the slider, or if they just set it to the initial value because that was their response? I need all the sliders to use the same skin. How can I tell if a given one has been manipulated or simply ignored?
I am the original poster: I have an idea, but it’s a real kluge. I’m interested to see if the developers have considered this problem.
If I use 10 sliders in a survey consisting of 10 questions, and need to know if a given question has been answered, I can I tell if the user has touched the slider, or if they just set it to the initial value because that was their response?
How can I tell if a given one has been manipulated or simply ignored?
You can check, whether the event was called.
[code]
slider1.attachEvent(“onSlideEnd”, doOnChange);
slider2.attachEvent(“onSlideEnd”, doOnChange);
…
slider10.attachEvent(“onSlideEnd”, doOnChange);
function doOnChange(){
if(this == slider1){…}
}) [/code]
I need all the sliders to use the same skin.
You can use general skin ‘dhx_skyblue’ for all the components, even sliders.
But if you want some other skin to your sliders, you need to apply this skin to all sliders manually.