javascript - Scroll from corner to corner -


i wondering how scroll left-top corner right-bottom corner.

from top bottom default.

$(function() {     $("body").mousewheel(function(event, delta) {        this.scrollleft -= (delta * 30);        event.preventdefault();     });  }); 

how can make scroll corner corner?


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -