Sha256: c92e36d63e8dda9676dba935a489b1dfb003c5dc628b550bcdcfba922f5b8d59
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
pageflow.pageType.register('internal_links_grid', _.extend({ prepareNextPageTimeout: 0, enhance: function(pageElement, configuration) { pageElement.on('click', 'nav .thumbnail', 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('p').html(configuration.get('text') || ''); this.updateCommonPageCssClasses(pageElement, configuration); pageElement.find('.shadow').css({ opacity: configuration.get('gradient_opacity') / 100 }); pageElement.find('nav').attr('data-layout', configuration.get('linked_pages_layout')); } }, pageflow.commonPageCssClasses));
Version data entries
2 entries across 2 versions & 1 rubygems