javascript - jquery real event, when the page scrolls to the top of each DIV, execute an event
我想大声告诉你
我想大声告诉你 2017-05-18 10:50:45
0
1
615

jquery True event, when the page scrolls to the top of each p, execute an event

我想大声告诉你
我想大声告诉你

reply all(1)
为情所困

You $("p") can get all p. Then postion().top will have their top, and then in your scroll event, judge that the current scroll height exceeds that, and trigger something

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template