How to detect that an Html element is in View?

Posted by Olaseni on Stack Overflow See other posts from Stack Overflow or by Olaseni
Published on 2010-03-31T20:18:18Z Indexed on 2010/03/31 20:23 UTC
Read the original article Hit count: 409

Filed under:
|
|

Using Jquery preferably, how do I detect if an element is within the viewable client area of a browser?

I'm dynamically creating a menu from a dataset, and when the list grows too long, the height of the resulting menu causes part of it to fall below the browser bottom client area. How do I detect this and act accordingly?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about height