Run
Online Code Editor
It is an example of using the scrollLeft() method.
Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii, Welcome to the javaTpoint.com. This site is developed so that students may learn computer science related technologies easily. The javaTpoint.com is always providing an easy and in-depth tutorial on various technologies. No one is perfect in this world, and nothing is eternally best. But we can try to be better.
Click the below button to set the position of the horizontal scrollbar.
Set the horizontal position of the scrollbar