-
-
Save jonrrivera/b74278867b2d0a54df63bff04dc92b1d to your computer and use it in GitHub Desktop.
Webflow integration with fullpage.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// Initialize fullpage plugin on document ready | |
Webflow.push(function() { | |
$('#fullpage').fullpage(); | |
}); | |
// Define module for Editor compatibility | |
Webflow.define('fullpage-destroy', function() { | |
return { | |
destroy: function() { | |
$.fn.fullpage.destroy('all'); | |
} | |
}; | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment