Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).bind( 'mousewheel', function (e) {
- var nt = $(document.body).scrollTop()-(e.deltaY*e.deltaFactor*100);
- e.preventDefault();
- e.stopPropagation();
- $(document.body).stop().animate( {
- scrollTop : nt
- } , 500 , 'easeInOutCubic' );
- } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement