web developing
24 Apr
In that case I need to scroll my page onclick event to show the fully loaded content in a <div>, which just loaded content.
That can be done with window.scrollBy(x, y). Where if you’d like to scroll vertically you’ve to change the y value.
Related posts:
One Response for "Scroll the page with JavaScript"
I just used that
But I wonder. . . why do U need to show the whole content? U need a preview of the page or there’s another reason???
Leave a reply