This applet contains a horizontal scrollbar with associated labels (min value, current value, max value, and optional caption)
that can call a Javascript function whenever it's value changes. Click
here if you want try it out or read the documentation.