You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using inview with fullpage.js and i'm getting into this strange issue sliding left and right:
Basically, when i'm in a specific section i wanna show the .fp-controlArrow only in the first slide, then hide them. So i assigned .hideFpNav to all slides i won't show those arrows, here is the code: $('.hideFpNav').on('inview', function(event, isInView) { if (!isInView) { $(".fp-controlArrow").removeClass("d-none"); console.log("out of view - isInView value: ",isInView); } else { $(".fp-controlArrow").addClass("d-none"); console.log("in view - isInView value: ",isInView); } });
I attach a little gif to explain this behaviour, hope it's clear.
(In the video you'll see 3 slides:
1st: must see arrows
2nd: must hide arrows
3rd: must hide arrows )
The text was updated successfully, but these errors were encountered:
I'm using inview with fullpage.js and i'm getting into this strange issue sliding left and right:
Basically, when i'm in a specific section i wanna show the .fp-controlArrow only in the first slide, then hide them. So i assigned .hideFpNav to all slides i won't show those arrows, here is the code:
$('.hideFpNav').on('inview', function(event, isInView) { if (!isInView) { $(".fp-controlArrow").removeClass("d-none"); console.log("out of view - isInView value: ",isInView); } else { $(".fp-controlArrow").addClass("d-none"); console.log("in view - isInView value: ",isInView); } });
I attach a little gif to explain this behaviour, hope it's clear.
(In the video you'll see 3 slides:
1st: must see arrows
2nd: must hide arrows
3rd: must hide arrows )
The text was updated successfully, but these errors were encountered: