slider ui -- slide vs change event....

slider ui -- slide vs change event....



this is about issue I have posted about before..

namely:  slider works only when you drag handle, i.e., when you drag the slider the divs show and hide as expected (divs change as slider slides..)  but: if I CLICK on any point on slider instead of dragging, divs change ONLY if I click on a precise spot where a div is supposed to switch, otherwise div does not switch..  how do I fix this please??

I have been told to use "change" event, but change event is for when you STOP sliding, right??   

( to make it simpler JS code is in slider2.html..)

thank you very much..