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

Using with FullPage.js #103

Open
CamDuncalfe opened this issue Jul 31, 2017 · 1 comment
Open

Using with FullPage.js #103

CamDuncalfe opened this issue Jul 31, 2017 · 1 comment

Comments

@CamDuncalfe
Copy link

CamDuncalfe commented Jul 31, 2017

I'm trying to use background check with FullPage.js
Here's what my code looks like:
afterRender: function(){
BackgroundCheck.init({
targets: '.site-header',
images: '.project'
});
},
onLeave: function(index, newIndex, direction){
BackgroundCheck.refresh();
}
I can't figure out how to get the BackgroundCheck.refresh(); to work when the section changes.
Any ideas?

Here's my site

@slaughtr
Copy link

Seems a bit late, as I don't think you're using this script anymore, but my guess would be the multiple instances of '.project' that you have on the site?

Were you getting any console logs?

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

No branches or pull requests

2 participants