scroll with js code example
Example 1: javascript scroll to element
document.getElementById("divId").scrollIntoView();
Example 2: scroll js
window.scroll(x-coord, y-coord)
window.scroll(options)
document.getElementById("divId").scrollIntoView();
window.scroll(x-coord, y-coord)
window.scroll(options)