Creating a jscrollpane arrow outsite jspContainer

Is there an easy way to create arrows outside of jspcontainter and horizontally position a vertical scrollbar? Since the container has overflow: hidden with positioning, arrows cannot be displayed outside.

I tried to clone the arrows using the jquery clonefunction function, but js freezes again. Is there a way to add default behavior to user controls outside the container using api?

+3
source share
1 answer

The best way to do this is to not show the arrows on the jScrollPane itself, and then create different elements outside and place them as you wish. Then you can add a click handler to these new elements and use the jScrollPane API and scrollByY in it to scroll through jscrollpane when you click on it.

+2
source

All Articles