Issue
I have a HTML page with an internal DIV used for content. The internal DIV has its own scrollbars. I would like to automatically scroll to a certain position in the DIV.
How can I do this? (Note that I do NOT want to auto scroll the Window scrollbars - I already know how to do this)
A cross platform solution is needed
Solution
The div has a scrollTop
property that you can set (and its pal, scrollLeft
).
Answered By - kapa
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.