- Регистрация
- 06.08.2013
- Сообщения
- 94
- Благодарностей
- 5
- Баллы
- 8
Hi,
I'm looking to implement mouse scrolling to the bottom of the page, pausing for 2 seconds each time to allow everything to load before scrolling again. The challenge is how to detect when I've reached the bottom of the page. Considering that this script needs to work on hundreds of different page types, I can't use an HTML selector as a reference point. It's not an infinite scroll scenario, and no new elements are loaded when scrolling, so I can't count the DOM elements either. How can I achieve this?
I'm looking to implement mouse scrolling to the bottom of the page, pausing for 2 seconds each time to allow everything to load before scrolling again. The challenge is how to detect when I've reached the bottom of the page. Considering that this script needs to work on hundreds of different page types, I can't use an HTML selector as a reference point. It's not an infinite scroll scenario, and no new elements are loaded when scrolling, so I can't count the DOM elements either. How can I achieve this?