Is this possible? Given a div of say max-height 400 with overflow set to scroll. If the inner contents have a height of 1000, how can I determine if an item in the inner div is visible or below/above the overflow?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
jsfiddle: http://jsfiddle.net/4E3DH/3/
position:relative;(or any non static position) for the container is a must.