java script slowly scroll to the bottom of apge code example Example: js scroll to bottom window.scrollTo(0,document.body.scrollHeight);