1jQuery.noConflict(); 2 3(function($) { 4 5//Desktop Promos Scroll 6// 7 var limit = $('header.header').height() + $('#main-content-wrapper').height() - $('#promos2').height() - 270; 8 $(window).scroll(function(){ 9 var scrollPx = $(this).scrollTop(); 10 if ( scrollPx < limit ) { 11 $('#promos2').css({ 12 'transform': 'translateY(' + scrollPx + 'px)' 13 }); 14 } 15 }); 16 17//Services tooltip Title descriptions 18 $( "h3.im-services-subhead" ).each(function( ) { 19 if($(this).next().is('div.serv_subcat_desc')){ 20 var tooltipHeader = $(this).text(); 21 var toolTip = $(this); 22 var tooltipContent = $(this).next().html(); 23 24 $(toolTip).find('.newTooltip').append( '<span><h3>' + tooltipHeader + '</h3>' + tooltipContent + '</span>' ); 25 $('div.serv_subcat_desc').css('display', 'none'); 26 } 27 else{ 28 $(this).find('span').remove(); 29 } 30 }); 31 32//Services tooltip service descriptions 33 $('h3 > span.newTooltip img').hover(function() { 34 $(this).next().css({'opacity': '1', 'z-index': '10000'}); 35 }, function() { 36 $(this).next().css({'opacity': '0', 'z-index': '0'}); 37 38 }); 39 40 41//Services tooltip service descriptions 42 $( "div.serv-col.serv-title" ).each(function( ) { 43 if($(this).next().next().is('div.serv-col.serv-desc')){ 44 var tooltipPlus = $(this).find('span.newTooltip'); 45 var tooltipService = $(this).text(); 46 var tooltipDesc = $(this).next().next().html(); 47 48 $('div.serv-col.serv-desc').css('opacity', '0'); 49 $(this).parent().find('.serv-desc').prepend('<p class="desc-title">' + tooltipService + '</p>'); 50 } 51 else{ 52 $(this).find('span.right').remove(); 53 } 54 }); 55 56 $("div.serv-title").each(function() { 57 $(this).add($(this).next('.serv-price')).wrapAll('<div class="service-wrapper"></div>'); 58 }); 59 60 61 $('span.right.newTooltip img').hover(function() { 62 var tooltipService = $(this).parent().parent().text(); 63 $(this).parent().parent().parent().parent().next().css({'opacity': '1', 'z-index': '10000'}); 64 }, function() { 65 $(this).parent().parent().parent().parent().next().css({'opacity': '0', 'z-index': '0'}); 66 67 }); 68 69$( document ).ready(function() { 70// andherewego.exe 71 72 73//*Services navigation 74$( "li.category-header > a" ).click(function() { 75 $( this ).removeAttr('href').parent().find('ul').slideToggle( "slow", function() { 76 }); 77}); 78 79 80//Locations gallery 81$('.location_image_gallery').slick({ 82 slidesToScroll: 1, 83 infinite: true, 84 centerMode: false, 85 slidesToShow: 1, 86 arrows: false, 87 autoplay: true, 88 dots: true, 89 }); 90 91//$('.location_image_gallery').slickLightbox(); 92 93 94//Accolades 95 $('.accolades-content').slick({ 96 arrows: true, 97 vertical: true, 98 slidesToShow: 2, 99 cssEase: 'ease-in', 100 centerMode: false, 101 //adaptiveHeight: true, 102 initialSlide: 0, 103 swipe: true, 104 responsive: [{ 105 breakpoint: 1023, 106 settings: { 107 slidesToShow: 3, 108 arrows: false,//arrows hidden on mobile. If they need the arrows, then more adjustments need to be made for iPhone 109 } 110 111 }] 112 113 }); 114 115//Promos small & medium 116$('#promos-container').slick({ 117 slidesToScroll: 1, 118 infinite: false, 119 centerMode: false, 120 slidesToShow: 3, 121 initialSlide: 0, 122 variableWidth:true, 123 //arrows: true, 124 responsive: [ 125 { 126 breakpoint: 639,//639px down 127 settings: { 128 centerMode: true, 129 slidesToShow: 1, 130 } 131 } 132 ] 133 134 }); 135 136 137 138 139// end it all 140}); 141})(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.