Simple Pinning

Two examples of basic pinning.

  1. A pin of a scene that has a duration will be pinned for the repective ammount of scrolled pixels and then released again.
  2. If no duration is defined, the pinned element will never be released unless scrolling back past the trigger position.

Note that the first pin pushes down the following elements. A gap with the size of the scene's duration appears.
This can be disabled using the option pushFollowers: false. For scenes with a duration of 0 "pushFollowers" is always disabled.

view source

Stay where you are (at least for a while).

view source

Take me with you!

view source

Este sitio web utiliza cookies para que usted tenga la mejor experiencia de usuario. Si continúa navegando está dando su consentimiento para la aceptación de las mencionadas cookies y la aceptación de nuestra política de cookies, pinche el enlace para mayor información.plugin cookies

Aviso de cookies