Search code examples
javascriptsliderjquery-knob

Javascript Knob/Slider Control


I have found an example of a map that uses a knob/slider to control the opacity on a map. I would like to use this same knob/slider but for something different and not part of a map. I have the code (http://www.maptiler.org/google-maps-overlay-opacity-control/) but I'm not sure what I would need to extract to simply keep the knob and be able to use it on a webpage to display (for example) a number between 1 and 1000.

Help appreciated, Thanks


Solution

  • Perhaps jQueryUI's slider would work for you. You can see an example here and read documentation here.