1;(function ($) { 2//portfolio bxslider 3 var sliderActive = false; 4 var slider; 5 function createSlider() { 6 slider = jQuery('.w-portfolio .w-portfolio-list').bxSlider({ 7 speed: 3000, 8 minSlides: 4, 9 maxSlides: 4, 10 slideWidth: 500, 11 slideMargin: 0, 12 pager: false, 13 auto: true, 14 infiniteLoop: true, 15 preloadImages: 'all', 16 autoHover: true 17 }); 18 return true; 19 } 20 if (window.innerWidth > 480) { 21 sliderActive = createSlider(); 22 } 23 $(window).resize(function () { 24 if (window.innerWidth > 480 && sliderActive == false) { 25 sliderActive = createSlider(); 26 } 27 else if (window.innerWidth <= 480 && sliderActive == true){ 28 slider.destroySlider(); 29 sliderActive = false; 30 } 31 }); 32 //END portfolio bxslider 33 function heightDevelopers() { 34 var width = $('.banner_item').width(); 35 $('.banner_item').css({ 36 height: width 37 }); 38 var widthWindow = $(window).width(); 39 $('.banner_item img').css({ 40 minHeight: width, 41 minWidth: width 42 }) 43 } 44 45 heightDevelopers(); 46 $(window).on("resize", function () { 47 heightDevelopers(); 48 }); 49 50 function headerWidth() { 51 var width = $(window).width(); 52 var widthBody = $('.l-canvas').width(); 53 if (width < 470) { 54 $('.fb-like').css({ 55 width: widthBody - 20, 56 overflow: 'hidden', 57 display: 'inline-block' 58 }); 59 } 60 } 61 62 headerWidth(); 63 $(window).on("resize", function () { 64 headerWidth(); 65 }); 66 $('.find_us').on('click', function () { 67 $(this).toggleClass('opened'); 68 $(this).find('.header_social').toggle(200); 69 }); 70 $(".footer-signup-input").keypress(function (event) { 71 if (event.which == 13) { 72 event.preventDefault(); 73 $(".footer-signup-form").submit(); 74 } 75 }); 76 new WOW().init(); 77 var windowWidth = $(window).width(); 78 var bannerItemLastTop = $('.find_us').siblings('.l-submain-h').find('.banner_item').last(); 79 var bannerItemLastFirstTop = $('.find_us').siblings('.l-submain-h').find('.banner_item').eq(-2); 80 var bannerItemLastSecondTop = $('.find_us').siblings('.l-submain-h').find('.banner_item').eq(-3); 81 var bannerItemLastThirdTop = $('.find_us').siblings('.l-submain-h').find('.banner_item').eq(-4); 82 if (windowWidth > 1200) { 83 var interval; 84 $('.tech_item').mouseover(function () { 85 var techItem = $(this); 86 interval = setTimeout( 87 function () { 88 techItem.find('.tech_name').fadeIn(); 89 }, 1000); 90 }); 91 $('.tech_item').mouseout(function () { 92 $(this).find('.tech_name').hide(); 93 clearInterval(interval); 94 }); 95 } 96 if (windowWidth < 767) { 97 bannerItemLastTop.hide(); 98 bannerItemLastFirstTop.hide(); 99 bannerItemLastSecondTop.hide(); 100 } 101 if ((windowWidth < 1023) && (windowWidth > 768)) { 102 bannerItemLastTop.hide(); 103 bannerItemLastFirstTop.hide(); 104 bannerItemLastSecondTop.hide(); 105 bannerItemLastThirdTop.hide(); 106 } 107 var owl = $('#owl_stack'); 108 owl.owlCarousel({ 109 margin: 1, 110 loop: true, 111 nav: true, 112 mouseDrag: false, 113 responsive: { 114 320: { 115 items: 3 116 }, 117 460: { 118 items: 4 119 }, 120 580: { 121 items: 5 122 }, 123 700: { 124 items: 6 125 }, 126 820: { 127 items: 7 128 }, 129 940: { 130 items: 8 131 }, 132 1060: { 133 items: 9 134 }, 135 1180: { 136 items: 10 137 }, 138 1300: { 139 items: 11 140 }, 141 1420: { 142 items: 12 143 }, 144 1540: { 145 items: 13 146 }, 147 1660: { 148 items: 14 149 }, 150 1780: { 151 items: 15 152 }, 153 1900: { 154 items: 16 155 } 156 } 157 }); 158 159 var owlStep = $('#owl_step'); 160 owlStep.owlCarousel({ 161 margin: 0, 162 loop: true, 163 mouseDrag: false, 164 responsive: { 165 320: { 166 items: 1 167 }, 168 767: { 169 items: 3 170 } 171 } 172 }); 173 174 var owlClients = $('#owl_clients'); 175 owlClients.owlCarousel({ 176 margin: 0, 177 loop: true, 178 nav: true, 179 mouseDrag: false, 180 responsive: { 181 320: { 182 items: 3 183 }, 184 440: { 185 items: 4 186 }, 187 767: { 188 items: 5 189 }, 190 992: { 191 items: 6 192 }, 193 1100: { 194 items: 7 195 } 196 197 } 198 }); 199 $('body').on('mouseover', '.color_banner', function () { 200 $(this).siblings('.banner_info').show(); 201 }); 202 $('body').on('mouseout', '.color_banner', function () { 203 $(this).siblings('.banner_info').hide(); 204 }); 205 $('.mui-textfield--float-label span input, .mui-textfield--float-label span select').unwrap(); 206 207 $(window).load(function () { 208 // The slider being synced must be initialized first 209 $('#carousel').flexslider({ 210 animation: "slide", 211 controlNav: false, 212 animationLoop: false, 213 slideshow: false, 214 itemWidth: 210, 215 itemMargin: 5, 216 asNavFor: '#slider' 217 }); 218 219 $('#slider').flexslider({ 220 animation: "slide", 221 controlNav: false, 222 animationLoop: false, 223 slideshow: false, 224 sync: "#carousel" 225 }); 226 }); 227 $('.title a').bind('click', function(e) { 228 var anchor = $(this); 229 $('html, body').stop().animate({ 230 scrollTop: $(anchor.attr('href')).offset().top - 160 231 }, 1000); 232 e.preventDefault(); 233 }); 234})(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.