scroll to simple js code example Example: javascript scroll down window.scrollTo(300, 500); //X=300 and Y=500