jQuery scroll .scrollTop() .scrollLeft()
jQuery .scrollTop() gets or sets the vertical position of the scroll bar for the target element; jQuery .scrollLeft() gets or sets the horizontal position of the scroll bar for the target element; Also check jQuery scroll event; js: html: