pagePiling.js icon indicating copy to clipboard operation
pagePiling.js copied to clipboard

PagePiling.js not working even using repo example code

Open ricardozea opened this issue 8 years ago • 3 comments

Hello,

PagePiling.js isn't working even using the example code from the repo. Check this demo out: http://codepen.io/ricardozea/pen/a38ac610b5bf994216d3804ee8e432d3

All sections are visible in the beginning.

Am I doing something wrong? Or the script really not working as intended?

Thanks

ricardozea avatar Aug 25 '16 15:08 ricardozea

All sections are visible in the beginning.

Of course, you need to add a background to the section so the ones behind won't be visible.

alvarotrigo avatar Aug 25 '16 15:08 alvarotrigo

Oh ok, that was easy.

I know it sounds obvious to you, you're the creator, but it would be nice if you could clarify this somewhere in your documentation. I see you have something in the Options section, but it's on the JavaScript side, which is fine. The thing is that designers will very likely add backgrounds via CSS or in the markup if they're using video.

Thanks for your fast reply and for this awesome script.

+1

ricardozea avatar Aug 25 '16 15:08 ricardozea

Labeled as a documentation enhancement.

alvarotrigo avatar Aug 25 '16 15:08 alvarotrigo