George Grigorita
George Grigorita

Reputation: 1890

jScrollPane - scrollbar doesn't show

I'm trying to use jScrollPane on a CSS class but it's not working. You can view the setup here.

I've included the jScrollPane.css and jScrollPane.js in header, and used this function to apply jScroll to the .content-wrap class.

jQuery(function()
{
jQuery('.content-wrap').jScrollPane({showArrows:true});
});

The script is working but only partially. I can see that the .content-wrap class is being modified by the jScrollPane class but the scrollbar doesn't show up.

Upvotes: 1

Views: 295

Answers (1)

VVV
VVV

Reputation: 7593

After further investigation, I figured out that there is something wrong with your jscrollpane javascript file. Have you been tampering with it? I got suspiscious because it was adding 'classname' attribute.

As you can see in this jsfiddle your scrollbar appears.

All I did was change the source of the scrollpane.js and css to the official one and the scrollbars started to work.

Upvotes: 1

Related Questions