![javascript](https://habrastorage.org/r/w120/webt/59/cc/76/59cc7600c78a2239379574.jpeg)
JavaScript
- 8 ответов
- 0 вопросов
10
Вклад в тег
$(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' );
} )