Hey all,
I’ve successfully added Fullpage.js to my site and it works great. However, when I publish to my live domain (instead of mydomain.webflow.io), the Fullpage doesn’t seem to be working.
Here’s my code (note: I spaced out the script tags so that it would appear in this post):
<script>
if(screen && screen.width > 991) {
document.write('<script type="text/javascript" src="http://expansionscollective.com/testscripts/jquery.fullPage.js"><\/script>');
}
</script>
<script>
$(document).ready(function() {
$('#fullpage').fullpage({
css3: true,
autoScrolling: true,
fitToSection: false,
fitToSectionDelay: false,
scrollBar: true,
easing: 'easeInOutCubic',
easingcss3: 'ease',
animateAnchor: true,
loopBottom: false,
loopTop: false,
loopHorizontal: true,
continuousVertical: false,
continuousHorizontal: false,
scrollHorizontally: false,
interlockedSlides: false,
resetSliders: false,
fadingEffect: true,
normalScrollElements: '#somesectionsID',
scrollOverflow: false,
scrollOverflowOptions: true,
touchSensitivity: 5,
normalScrollElementTouchThreshold: 15,
bigSectionsDestination: null,
});
});
</script>
Not sure, but is it to do with the SRC?
Thanks