dcsimg

How can I perform a horizontal scroll of the whole page from JavaScript?

Firat Tiryaki

Simply give the scroll method the coordinates

window.scroll(x,y);

window.scroll(0,500);