webpage scoll on click code example Example: javascript scroll down window.scrollTo(300, 500); //X=300 and Y=500