javascript - How can I tell if a DOM element is visible in the current viewport?

preview_player
Показать описание
#short
#javascript
#html
#firefox
#dom
#browser
Is there an efficient way to tell if a DOM element (in an HTML document) is currently visible (appears in the viewport)?
(The question refers to Firefox.)
Рекомендации по теме
join shbcf.ru