Created
February 26, 2016 02:06
-
-
Save danro/54bdf6de2d573e340825 to your computer and use it in GitHub Desktop.
Webflow integration with fullpage.js
This file contains 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