Closed fredleput closed 7 years ago
do not use IDs for styling, use CSS classes. Also, you forgot one of the srollbar classes - scrollbar-inner, scrollbar-outer, scrollbar-dynamic, etc...
I cannot get scrollbar working too. Here is my pen https://codepen.io/anon/pen/WONjvX
@xahon I don't see any CSS that limits your .content element's height, also, you init scrollbar on content, which doesn't have scrollbar classes; instead scrollbar class is in INSIDE container. Try to copy HTML/CSS/JS from demo pages
Hi, I don't understand....
HTML markup :
CSS :
JS (after dom is fully loaded) :
$('#scrollable').scrollbar();
Result :
any help appreciated...
Fred.