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