mardi 21 avril 2015

Prevent scrolling back to first slide after scrolled past

Vote count: 0

I'm using fullpage.js and was wondering how I would go about preventing the user from scrolling back to the initial (first) slide after they've scrolled past it?

I still want to be able to scroll between all subsequent slides as intended, but essentially remove the first slide once past it so that it cannot be scrolled back up (basically making the second slide the first, as if the first is no longer there).

Hopefully this makes sense? The first slide is basically an intro/video slide and I only want it shown on initial page load, then after scrolled passed for it to no longer be accessible.

asked 3 mins ago



Prevent scrolling back to first slide after scrolled past

Aucun commentaire:

Enregistrer un commentaire