Skip to content

Instantly share code, notes, and snippets.

@nhylated
nhylated / fullPage-settings.js
Last active June 21, 2018 14:54
fullPage.js fade effect for slides
var SCROLLING_SPEED = 700;
// fullPage.js settings for fading-in slides insead of scrolling them
$('#fullpage').fullpage({
scrollingSpeed: SCROLLING_SPEED,
// Hide the slides container before the next slide loads
onSlideLeave: function(anchorLink, index, slideIndex, direction) {
$.fn.fullpage.setScrollingSpeed(0);
$('.fp-section').find('.fp-slidesContainer').hide();
@nhylated
nhylated / Output
Created January 21, 2015 17:27
Example for iterating over a Map of Collections using the Pebble Java templating library
<h2>2001</h2>
<p>A Space Odyssey</p>
<h2>1990</h2>
<p>1990-1</p>
<p>1990-2</p>