This PR introduces a Timeline class to manage pages and maps. It accepts the following options
new Timeline({
project: "divideRule", // The key in `window.data` to be loaded
mapsEl: $(".view"), // The jQuery element to contain maps
pagesEl: $(".pages"), // The jQuery element to contain sections for Scrollify
})
The class performs the following:
Creates map and page elements for the loaded data and appends them to the page
Manages hiding and showing of maps on scrollify events
This PR introduces a Timeline class to manage pages and maps. It accepts the following options
The class performs the following: