Vote count:
0
I am using jaquery.sclimscroll, my config not working.
i would like to
show the
scrollbarandrailalways.I want to start my scroll from the bottom.
once the set to bottom i would like to trigger a function.
js on init:
$(container).slimScroll({
width: '300px',
size: '10px',
position: 'right',
color: '#ffcc00',
alwaysVisible: true, //not working
distance: '20px',
start: 'bottom', //not working
railVisible: true,
railColor: '#222',
railOpacity: 0.3,
wheelStep: 10,
allowPageScroll: false,
disableFadeOut: false
});
$(container).slimScroll().
bind('slimscroll', function(e, pos){
if(pos == 'bottom') {
$.event.trigger('bottomReached');
}
});
how to config this all?
asked 17 secs ago
jquery slim scroll bar config not working
Aucun commentaire:
Enregistrer un commentaire