We have a scrollable div that has CSS hieght:40px;. Inside it are multiple LI height:20px
hieght:40px;
height:20px
I'd have thought the best way to do it is in your scroll event capture the scrollTop value of the div and compare it to the top of each li element (maybe add the height so you can see if the element is completely out of view).