Sha256: 64f15ab972ed6b606a0a728bc5c1ef53e27a7568b14e1c492e2e9aee4025017b
Contents?: true
Size: 1.38 KB
Versions: 10
Compression:
Stored size: 1.38 KB
Contents
pageflow.ready = new $.Deferred(function(readyDeferred) { window.onload = function() { pageflow.features.detect().then(function() { $('body').one('pagepreloaded', function() { readyDeferred.resolve(); }); $('[data-role=slideshow]').each(function() { var configurationsById = _.reduce(pageflow.pages, function(memo, page) { memo[page.id] = page.configuration; return memo; }, {}); pageflow.slides = new pageflow.Slideshow($(this), configurationsById); pageflow.history = new pageflow.History(pageflow.slides); }); $('.header').header({ slideshow: pageflow.slides }); $('.navigation').navigation(); $('.navigation_mobile').navigationMobile(); $('.overview').overview(); $('.multimedia_alert').multimediaAlert(); $("body").on('click mousedown', 'a, [tabindex]', function() { $(this).blur(); }); $("body").on('keypress', 'a, [tabindex]', function(e) { if (e.which == 13) { $(this).click(); } }); $("body").on("keyup", "a, [tabindex]", function (e) { e.stopPropagation(); }); $(".content_link").attr("href","#firstContent"); $(".content_link").click(function(e) { $("#firstContent").focus(); e.preventDefault(); return false; } ); }); }; }).promise();
Version data entries
10 entries across 10 versions & 1 rubygems