1(function($) { 2 "use strict"; 3 $=jQuery; 4 jQuery(document).ready(function($){ 5 //Short Code 6 $('.module-shortcode').fitVids(); 7 $('.shortcode-widget-content').fitVids(); 8 $('.bk_accordions').each(function(){ 9 var accordions_id=$(this).attr('id'); 10 if(accordions_id){ 11 $('#'+accordions_id).accordion({ 12 icons:{'header':'ui-icon-plus sprites','activeHeader':'ui-icon-minus sprites'}, 13 collapsible:true 14 }); 15 } 16 }); 17 $('.bk_tabs').each(function(){ 18 var tabs_id=$(this).attr('id'); 19 if(tabs_id){ 20 $('#'+tabs_id).tabs(); 21 } 22 }); 23 24 // Parallax 25 // Single Parallax 26 var bkscParallax = $('.bkparallaxsc'); 27 var bkscParallaxImg = new Array(); 28 $.each( bkscParallax, function( index, value ) { 29 bkscParallaxImg[index] = $(this).find('.parallaximage'); 30 }); 31 $(window).scroll(function() { 32 $.each( bkscParallaxImg, function( index, value ) { 33 if ( bkscParallaxImg[index].length !== 0 ) { 34 //console.log(bkscParallaxImg.offset().top); 35 var bkBgy_p = -( ($(window).scrollTop() - bkscParallaxImg[index].offset().top) / 3.5), 36 bkBgPos = '50% ' + bkBgy_p + 'px'; 37 bkscParallaxImg[index].css( "background-position", bkBgPos ); 38 } 39 }); 40 }); 41 }); 42})(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.