Reputation: 6899
I saw a nice scrolling effect on this website http://www.agileinfoways.com/ and would like to know how to implement. I have never seen it before and I do not know what it is even called. The scrolling is almost mimics a UIScrollView
on the iOS platform. Any advice on how to create this would be helpful. Thanks
Upvotes: 5
Views: 653
Reputation: 291
This site using NiceScroll plugin for JQuery
Plugin GitHub page - https://github.com/inuyaksa/jquery.nicescroll
Initialization code from site, what you gave:
if (jQuery().niceScroll) {
$("html").niceScroll({
scrollspeed: 70,
mousescrollstep: 38,
cursorwidth: 15,
cursorborder: 0,
cursorcolor: '#464646',
cursorborderradius: 0,
autohidemode: false,
horizrailenabled: false
});
}
Upvotes: 1
Reputation: 1908
looking at the js includes, that site is using jquery.nicescroll here's the developer site: http://areaaperta.com/nicescroll/
Upvotes: 1