Hoe to add button to scroll on image?

I am using https://github.com/peachananr/panorama_viewer to display a scrollable panorama on my website, Now I want to add two buttons on each side of the image to scroll horizontally when clicking on this button. How can I achieve this? Now the image is scrolling with mouse dragging.enter image description here


Source: javascript

Leave a Reply