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?
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?
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