Jquery code that rolls up and down with the mouse
- 2020-03-30 00:43:12
- OfStack
//Scroll up and down with the mouse
$(window).bind('scroll resize',function(){
$('#sidebar').stop(true, true).animate({
'top': $(document).scrollTop() + 'px'
},500);
}).scroll().resize();