S
S
Sergey Shilov2014-03-19 13:06:07
css
Sergey Shilov, 2014-03-19 13:06:07

How to perform an action by scrolling to a certain DIV ?

I don’t know how to google correctly, so I ask you, colleagues.
On all sorts of landing pages, you can often see how the animation is performed when a person scrolls to a certain diva, so: how is this implemented? Or leave links to examples.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaly Kirenkov, 2014-03-19
@Olivoin

The use of scrollTop takes place when there are literally a couple of elements on the page that need to be tracked, otherwise there is a lot of script, and moreover, it is repetitive.
I would recommend using the
jQuery Waypoints plugin

F
freddy, 2014-03-19
@mfred

e.g. nick-jonas.github.io/windows

K
Krickt, 2014-03-19
@shiza36

api.jquery.com/scrollTop

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question