Prinzhorn / skrollr

Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop. No jQuery. Just plain JavaScript (and some love).
http://prinzhorn.github.io/skrollr/
MIT License
18.53k stars 3.51k forks source link

Sections position absolute + menu with anchors #816

Open Kumkum29 opened 8 years ago

Kumkum29 commented 8 years ago

Hello,

I want to create a "zoom effect" with sections in position "absolute". All the sections are above the others, and the animation is created with a modification of the size and the opacity of the backround of each section. I want create a sticky menu with anchors to access at each section. But, with the position "absolute" of each section, the anchors don't work. The url is changed but we don't access to the section.

Here is the sample code to create the menu with anchors : http://output.jsbin.com/gozota/7

And here is the sample code for my zoom effect :+1: https://ihatetomatoes.net/demos/zoom-into-image-page-scroll/

Is it possible to use some anchors with sections in absolute position?

Thanks for your help.