samedi 3 janvier 2015

jquery slim scroll bar config not working


Vote count:

0




I am using jaquery.sclimscroll, my config not working.


i would like to




  1. show the scrollbar and rail always.




  2. I want to start my scroll from the bottom.




  3. 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?


Live Demo



asked 17 secs ago







jquery slim scroll bar config not working

Aucun commentaire:

Enregistrer un commentaire