jQuery-slimScroll
jQuery-slimScroll copied to clipboard
Slimscroll not attached to the element
I have an issue with slimscroll. The scroll bar is all the way to the right of the document when the selector is 400px wide to the left set with absolute postion.
Any clues?
$(document).ready(function(e){
$('.bloqueL').slimscroll({
color: '#212121',
size: '10px',
height: '100%',
alwaysVisible: true
});
});
my container and the css
<div id="boxL" class="bloqueL" ondrop="drop(event)" ondragover="allowDrop(event)" ondragleave="dragLeave(event)">
.bloqueL{
position: absolute;
left: 0px;
top: 0px;
bottom: 0px;
width: 420px;
min-height: 10px;
overflow-x: hidden;
overflow-y: hidden;
}