D
D
danyfir2018-02-16 23:16:08
css
danyfir, 2018-02-16 23:16:08

How to change block style when scrolling?

Hello! There is a page: ligashowmanspb.keyup.ru/my-product/kerin
It has a left row (with photo) and a right row (with text). If you start scrolling the page, the photo scrolls first, and then the text. This is because the right row (with text) has a fixed position. Accordingly, the visitor will not be able to read the text immediately, they will have to scroll through the pictures for a long time.
Question: how to make it so that when entering the page, the position of the right row (with text) is absolute (i.e. scrolls along with the pictures), and as soon as the text in the right row ends, the position changes to fixed (i.e. the rest of the photos would also continue to scroll, and the text would remain fixed on the screen)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima, 2018-02-17
Dolgoter @DDolgy

waypiont.js. kill it on youtube

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question