1$(document).ready(function () { 2 $('#nav-icon0,#nav-icon1,#nav-icon2,#nav-icon3,#nav-icon4').click(function () { 3 $(this).toggleClass('open'); 4 }); 5window.onscroll = function () { 6 myFunction() 7}; 8 9var navbar = document.getElementById("header"); 10var sticky = navbar.offsetTop; 11 12 13 14 $.onlineGonder = function () { 15 var deger = $("form#onlineForm").serialize(); 16 $.ajax({ 17 url: "online-formu", 18 type: "post", 19 data: deger, 20 dataType: "json", 21 success: function (cevap) { 22 if (cevap.hata) { 23 alert(cevap.hata); 24 } else { 25 alert(cevap.ok); 26 } 27 } 28 }); 29 } 30 31function myFunction() { 32 if (window.pageYOffset > sticky) { 33 navbar.classList.add("fixed") 34 } else { 35 navbar.classList.remove("fixed"); 36 } 37} 38 39}); 40 41$(".back-image").each(function () { 42 var getBackground = $(this).attr('data-image'); 43 $(this).css('background-image', 'url(' + getBackground + ')'); 44}); 45 46 47 48 49var u = $("#catch-calendar-slider"); 50 51function d() { 52 var e = $("#catch-calendar-slider .owl-stage .owl-item.active").length; 53 $("#catch-calendar-slider .owl-stage .owl-item").removeClass("firstActiveItem lastActiveItem"), $("#catch-calendar-slider .owl-stage .owl-item.active").each(function (t) { 54 0 === t && $(this).addClass("firstActiveItem "), t === e - 1 && e > 1 && $(this).addClass("lastActiveItem") 55 }) 56} 57u.owlCarousel({ 58 dots: true, 59 nav: false, 60 autoplay: true, 61 loop: true, 62 autoplayTimeout: 3000, 63 autoplayHoverPause: true, 64 margin: 30, 65 responsive: { 66 0: { 67 items: 1 68 }, 69 600: { 70 items: 1 71 }, 72 1000: { 73 items: 2 74 }, 75 1200: { 76 items: 2 77 } 78 } 79}), d(), u.on("translated.owl.carousel", function (e) { 80 d() 81}); 82 83 84if ($('#catch-calendar-slider').length > 0) { 85 $('#catch-calendar-slider').owlCarousel({ 86 dots: true, 87 nav: false, 88 autoplay: true, 89 autoplayTimeout: 3000, 90 autoplayHoverPause: true, 91 margin: 30, 92 responsive: { 93 0: { 94 items: 1 95 }, 96 600: { 97 items: 1 98 }, 99 1000: { 100 items: 2 101 }, 102 1200: { 103 items: 2 104 } 105 } 106 107 }); 108} 109 110if ($('#products-slider').length > 0) { 111 $('#products-slider').owlCarousel({ 112 loop: true, 113 dots: true, 114 nav: false, 115 autoplay: true, 116 autoplayTimeout: 3000, 117 autoplayHoverPause: true, 118 margin: 5, 119 responsive: { 120 0: { 121 items: 2 122 }, 123 600: { 124 items: 2 125 }, 126 1000: { 127 items: 3 128 }, 129 1200: { 130 items: 3 131 } 132 } 133 134 }); 135} 136 137 138if ($('.product-one-slider').length > 0) { 139 $('.product-one-slider').owlCarousel({ 140 loop: false, 141 dots: false, 142 nav: true, 143 autoplay: true, 144 autoplayTimeout: 3000, 145 autoplayHoverPause: true, 146 items: 1, 147 navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'] 148 }); 149} 150 151 152if ($('.one-slider').length > 0) { 153 $('.one-slider').owlCarousel({ 154 loop: true, 155 dots: true, 156 nav: false, 157 autoplay: true, 158 autoplayTimeout: 3000, 159 autoplayHoverPause: true, 160 items: 1, 161 navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'] 162 }); 163} 164 165var e = $(window).width(); 166var t = $(window).height(); 167 168 169$('[data-countdown]').each(function () { 170 var $this = $(this); 171 var finalDate = $(this).data('countdown'); 172 $this.countdown(finalDate, function (event) { 173 $this.html(event.strftime('<li> <span> %D</span> <small>Gün</small> </li> <li><span>%H</span> <small>Saat</small></li> <li><span>%M</span> <small>Dakika</small></li> <li><span>%S</span> <small>Saniye</small></li>')); 174 }); 175}); 176 177$(".megamenu").on("click", function (e) { 178 e.stopPropagation(); 179}); 180 181 182if ($('#home-slider-area').length > 0) { 183 $('#home-slider-area').owlCarousel({ 184 /*animateOut: 'fadeOut', 185 animateIn: 'fadeIn',*/ 186 loop: true, 187 dots: false, 188 nav: true, 189 animateOut: 'fadeIn', 190 animateOut: 'fadeOut', 191 autoplay: true, 192 autoplayTimeout: 3000, 193 autoplayHoverPause: true, 194 items: 1, 195 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'] 196 }); 197} 198 199$("#main #home-slider").css({ 200 height: t 201}); 202$("#main #home-slider .slider-area").css({ 203 204 height: t 205}); 206 207$("#main #home-slider .slider-area .back-image").css({ 208 209 height: t 210}); 211 212$("#main #home-slider .slider-area .content .text-container").css({ 213 214 height: t 215}); 216 217//references-slider 218if ($('#references-slider').length > 0) { 219 $('#references-slider').owlCarousel({ 220 loop: true, 221 dots: true, 222 nav: false, 223 autoplay: true, 224 autoplayTimeout: 3000, 225 autoplayHoverPause: true, 226 margin: 30, 227 responsive: { 228 0: { 229 items: 2 230 }, 231 600: { 232 items: 2 233 }, 234 1000: { 235 items: 4 236 }, 237 1200: { 238 items: 6 239 } 240 } 241 242 }); 243} 244 245 246//references-slider 247if ($('.gallery-slider').length > 0) { 248 $('.gallery-slider').owlCarousel({ 249 loop: false, 250 dots: true, 251 nav: false, 252 autoplay: true, 253 autoplayTimeout: 3000, 254 autoplayHoverPause: true, 255 margin: 10, 256 responsive: { 257 0: { 258 items: 2 259 }, 260 600: { 261 items: 2 262 }, 263 1000: { 264 items: 3 265 }, 266 1200: { 267 items: 4 268 } 269 } 270 271 }); 272} 273 274 275 276 277 278if ($(".product-one-slider").length > 0) { 279 $('.product-one-slider ').lightGallery({ 280 selector: '.pic a', 281 download: false, 282 zoom: false, 283 fullScreen: false, 284 autoplayControls: false, 285 autoplay: false, 286 slider: false, 287 share: false 288 }); 289} 290 291if ($(".galeri-lightgallery").length > 0) { 292 $('.galeri-lightgallery ').lightGallery({ 293 selector: '.item .item-container a', 294 download: false, 295 zoom: false, 296 fullScreen: false, 297 autoplayControls: false, 298 autoplay: false, 299 slider: false, 300 share: false 301 }); 302}
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.