Bookshelf example's
Okay, got it. But how about multiple magazines on one page?
var myYumpu = new Yumpu();
document.addEventListener("DOMContentLoaded", function() {
myYumpu.create_player("#myMagazineContainerNo1", "55929647", {
startpage: 2
});
myYumpu.create_player("#myMagazineContainerNo2", "55929647", {
startpage: 3
});
myYumpu.create_player("#myMagazineContainerNo3", "55929647", {
startpage: 4
});
});I'm kinda lazy, isn't there something less complex? Some kind of 1-liner?
(1) Create a magazine
(2) Create a magazine and set width and height
(3) Create a magazine with an embed hash
Bookshelf example #1
Bookshelf example #2
Additional parameters
Tidy up - disposing mags/bookshelfs at runtime
Example for advanced users: Loading magazine directly in fullscreen mode with a single click on a button
Last updated