Yes you can. It's best to scroll past the bottom because that will be
sure to compensate for possible errors in offsets as you compute the
height. At least I think I had to do this in one case once upon a
time.

In firefox this will scroll you to the bottom of www.nytimes.com:
document.body.parentNode.scrollTop =
document.body.parentNode.offsetHeight;

Just paste it into firebug or use the bookmarklet:
javascript:void((function(){ document.body.parentNode.scrollTop =
document.body.parentNode.offsetHeight })());

I'm assuming in all this that youre using the css: overflow:scroll or
overflow-x:scroll for the thing you want to scroll to the bottom of
(if it's not the default style for it).

Hope that helps!

Reply via email to