Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reveal happening late #12

Closed
srikat opened this issue Jan 29, 2014 · 1 comment
Closed

Reveal happening late #12

srikat opened this issue Jan 29, 2014 · 1 comment
Labels

Comments

@srikat
Copy link

srikat commented Jan 29, 2014

I am trying to use this script to fade in WordPress blog posts as they come into view.

One issue I find is that when we reach the end of a post (when scrolling slowly) the one below is not immediately fading into the view. Therefore there is a possibility of visitors thinking that there's no further content below.

I have recorded a video explaining this: http://youtu.be/iflP2atnL1U

Any ideas?

It is possible to control this when using Waypoints using the 'offset' parameter. I wrote about this here: http://sridharkatakam.com/scroll-animations-wordpress-using-animate-css-jack-box-waypoints/

@jtwalters
Copy link

Have you tried adjusting the vFactor parameter?

  //  if 0, the element is considered in the viewport as soon as it enters
  //  if 1, the element is considered in the viewport when it's fully visible
      vFactor: 0.60

A value closer to zero sounds like it would accomplish what you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants