if ($(this).is('[data-zindex]')) {
$(this).css('z-index', $(this).data('zindex'));
}
- console.log('hide ',id);
+ console.log('hide ', id);
$this.hidePlacedLink(this, timeout);
}
});
}
}
return href;
-
},
appendParamsToURL: function (url, params) {
this.fluidbook.resize.resizeLinks();
var $this = this;
+ $("#links .link[data-delay]").each(function () {
+ let $link = $(this);
+ setTimeout(function () {
+ $this.initDelayedLink($link);
+ }, $(this).data('delay') * 1000);
+ });
+
this.animateLinks();
$this.initAnimatedContentsLinks();
this.resize();
},
+ initDelayedLink: function (link) {
+ $(link).addClass('revealed');
+ this.fluidbook.video.initVideos();
+ },
replaceVariableInTextLinks: function () {
$('.textLink').each(function () {