Sha256: f81d5102d05c935e44e385caf79630c8c9ba3f857aaf3b9df48907f89117734b
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
pageflow.pageType.register('internal_links_list', _.extend({ prepareNextPageTimeout: 0, enhance: function(pageElement, configuration) { pageElement.on('click', 'nav a[data-page]', function() { pageflow.slides.goToByPermaId($(this).data('page'), { transition: $(this).data('pageTransition') }); return false; }); }, preload: function(pageElement, configuration) { return pageflow.preload.backgroundImage(pageElement.find('.background_image')); }, update: function(pageElement, configuration) { pageElement.find('h2 .tagline').text(configuration.get('tagline') || ''); pageElement.find('h2 .title').text(configuration.get('title') || ''); pageElement.find('h2 .subtitle').text(configuration.get('subtitle') || ''); pageElement.find('.contentText p').html(configuration.get('text') || ''); this.updateCommonPageCssClasses(pageElement, configuration); pageElement.find('.shadow').css({ opacity: configuration.get('gradient_opacity') / 100 }); } }, pageflow.commonPageCssClasses));
Version data entries
2 entries across 2 versions & 1 rubygems