S
S
Sergey2011-09-17 15:13:00
JavaScript
Sergey, 2011-09-17 15:13:00

What is the site element called?

Here at Yandex, when scrolling, a search bar appears.
On ozone, when scrolling, the menu also remains on top.
Or on metromap.ru - the same nonsense.

What is the name of this feature \ technique \ horseradish?
It is worth considering that it will not scroll immediately. but from a certain place on the page.
So, what to google and read to do the same? (if I know the name, I'll google it myself).

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Petrusha Ukropov, 2011-09-17
@butteff

imakewebthings.github.com/jquery-waypoints/sticky-elements/
imakewebthings.github.com/jquery-waypoints/#examples
I think you will understand the docks, and there are examples there

A
Alexander, 2011-09-17
@Alexx_ps

It is called a fixed block. It's done like this

HTML: <div id='block'>Блок</div>
CSS: #block {position: fixed;}

N
nikel303, 2011-09-17
@nikel303

you can call it a "floating block"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question