1// JavaScript Document 2(function($){ 3 $(document).ready(function() { 4 var $window = $(window), 5 windowHeight = $window.height(); 6 7 $('.kv_wrapper').each(function() { 8 var $section = $(this); 9 10 $section.data('offset', $section.offset().top); 11 12 $(window).scroll(function() { 13 14 var yPos = +(($window.scrollTop()) / '1.1' ); 15 var backgroundCoords = Math.round(yPos); 16 if( $(window).width() >= 1250 && beng.env.mode != 'edit') { 17 $section.get(0).style.setProperty('transform', 'translateY(' + backgroundCoords + 'px)'); 18 $('#keyvisual').css("height", "calc(100% - " + backgroundCoords + "px)"); 19 } 20 21 if($(window).width() > 1250) { 22 var titlezoom = ((100 - (100 / ($('#keyvisual').height() + 250) * $window.scrollTop())) / 100); 23 var titlescale = (titlezoom >= 0 ? titlezoom : 0); 24 $('.title_wrapper').css({'transform' : 'translateX(-50%) scale(' + titlescale + ')', 'opacity' : titlescale}); 25 } 26 27 28 29 }); 30 }); 31 }); 32 33})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.