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
Post a Comment