I would like to create a jquery-ui slider which is a combination of the "range slider" and "slider scrollbar" examples. Is this possible?
So it would have 3 manipulation points as below:
I want to use the slider to control a canvas. If you move an end it would zoom in/out of the canvas. If you slide the whole bar it would pan.
To answer your question: Yes, this is possible. To answer the underlying but inevitable "How", please take a look at this answer .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.