Results 1 to 1 of 1
Jul 30, 2008, 15:03 #1
- Join Date
- Aug 2001
- 0 Post(s)
- 0 Thread(s)
I have a div element with an overflow, which I want to identify the last element in view. For example if you scroll half way down, how can you get the id of the last element displayed.
<tr id="itemID"><td>Last Item within view</td></tr>
Because I don't know which element that might be? I can loop through each item and verify all offsets that are within a given range say offsetHeight +/- 10px. Are there any other ways to do this?