Scrolling dynamically to the end of the page

Posted by vanjadjurdjevic on Stack Overflow See other posts from Stack Overflow or by vanjadjurdjevic
Published on 2010-04-11T09:17:04Z Indexed on 2010/04/11 10:03 UTC
Read the original article Hit count: 260

Filed under:
|
|

I have a link which animates some div's height when its hovered, but the div has a big height and it goes beyond the visible bottom-end of the screen.

I have to scroll to see the data and when I scroll I leave the hover area and the div toggles it's height to 0px.

How to automatically scroll to the end of the div when it toggles?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about scroll