S
S
SergZay2014-05-07 06:06:03
css
SergZay, 2014-05-07 06:06:03

How to finalize the landing page menu?

I make up a website, landing page. I am using twitter bootstrap. When scrolling down, I would like the list class to change to "active".
If I understand correctly, then you need to hang an html anchor on each part of the page. I made a menu when the class is clicked, and the cap immediately disappears. It only appears when you swipe your mouse over it.
Question:
How to make the list class change to "active"
1) When you click on the + link, it immediately jumps to that part of the page.
2) When scrolling to part of the page.
Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
L
lnked, 2014-05-07
@SergZay

lnked.ru/js/vybor_punkta_menyu_pri_skrollinge
try my implementation, it can also be done with the history api if necessary, I will give an example in the same plugin implemented

Y
Yuri Lobanov, 2014-05-07
@iiil

Do you have the letter "y" on your keyboard?

S
SergZay, 2014-05-07
@SergZay

Thanks to all.

N
Nikita Ryabin, 2014-06-29
@nick977

getapitchdeck.com/demo/? Here is an example of such a page in another topic, see how it is implemented.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question