1(function($) 2{ 3 "use strict"; 4 $(document).ready(function() { 5 6 var countAlgin = $("div.align-true").length; 7 $("div.align-true").each(function (i) { 8 if (i+1 === countAlgin) { 9 var heightInner = $(this).find('.contentBlock').outerHeight(); 10 $(this).find('.inner-container').height(heightInner); 11 } 12 }); 13 // parallax on mouse 14 var mouseonhover = $(".colorSectionFe.background-parallax-mouse").length; 15 $(".colorSectionFe.background-parallax-mouse").each(function (i) { 16 if (i+1 === mouseonhover) { 17 var pixelToMove = 20; 18 $(this).find(".outer-container").mousemove(function(e) { 19 var width = $(this).innerWidth(); 20 var height = $(this).innerHeight(); 21 var newValueX = (e.pageX / width) * pixelToMove; 22 var newValueY = (e.pageY / height) * pixelToMove; 23 $(this).css('background-position', newValueX + '%' + ' ' + newValueY + '%'); 24 }); 25 } 26 }); 27 }); 28})(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.