I have a list of images on a page. As I scroll through the page I would like to show some options in a naviationbar of the image currently in the viewport. Therefore I need to get the image element currently in the viewport, is this possible ?
Anything is possible. whathaveyoutried.com
以上就是How can I get the element visible in the viewport? jQuery的详细内容，更多请关注web前端其它相关文章！