Cover Parallax/Darkening not functioning on 3.0.7
-
Cover parallax doesn't seem to toggle anything. Darken doesn't either but in the linked example only Cover is toggled:
-
Cover parallax doesn't seem to toggle anything. Darken doesn't either but in the linked example only Cover is toggled:
@joshsender
Here was it working in a previous test: https://huhclever.com/stage/test
And note the javascript for fading as scroll that was working no longer does..Any help would be amazing! Thank you so much!!
<script> jQuery(window).scroll(function(){ var start = 0, end = 500; var opacity = 1 - (jQuery(window).scrollTop() - start) / (end - start); if (opacity > 1 ) opacity = 1; if (opacity < 0 ) opacity = 0; $(".fadeout").css("opacity", opacity); }); </script> -
can you change all of your custom code to use "jQuery" instead of "$"
like
jQuery(window).scroll(function(){ var start = 0, end = 500; var opacity = 1 - (jQuery(window).scrollTop() - start) / (end - start); if (opacity > 1 ) opacity = 1; if (opacity < 0 ) opacity = 0; $(".fadeout").css("opacity", opacity); });should be
jQuery(window).scroll(function(){ var start = 0, end = 500; var opacity = 1 - (jQuery(window).scrollTop() - start) / (end - start); if (opacity > 1 ) opacity = 1; if (opacity < 0 ) opacity = 0; jQuery(".fadeout").css("opacity", opacity); }); -
Awesome, looks like 3.0.9 fixed all the issues I was seeing since updating to 3!! Thanks for the super fast fixes and pushing those updates out. You're amazing!
-
Ah thanks a lot!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login