JScrollPane jquery plugin, jspDrag cannot exceed end

After some time today, I mocked the fast modular slider for one of my client sites. I wanted to vote for the scrollbars, so I went ahead and picked up a jQuery plugin called "jScrollPane", available here: http://jscrollpane.kelvinluck.com/ . It just did the trick, and I was able to stylize the scroll bar with pictures. The only problem I am facing is that the scrollbar does not extend beyond the middle, it scrolls the modules horizontally. Here is a quick jsFiddle to describe my problem: http://jsfiddle.net/95fG6/ . I am sure that this is easily solvable and that I just need to set the parameter in .js for it to work. But I am quickly not familiar with the plugin, so I have no idea how to proceed.

Thanks everyone! Thanks for taking the time!

Shad

+4
source share
1 answer

better resize to red

.jspDrag { background: red no-repeat; padding: 0px; height: 21px !important; width: 400px !important; cursor: pointer; } 

I hope this can be useful for you. Demo script

0
source

Source: https://habr.com/ru/post/1440402/


All Articles