1 2//Initialing Lazyload 3$(document).ready(function () { 4 5 // --------------------end flickity full slider ---------------- 6 $.each($(".images__carousel"), function () { 7 var $itemsImage = $(this).children(".images__carousel__item"); 8 for(var i = 0 , len = $itemsImage.length;i<len;i+=3){ 9 $itemsImage.slice(i,i+3).wrapAll("<div class='images__carousel__box_items'></div>"); 10 } 11}); 12 13 $(".images__carousel").flickity({ 14 rightToLeft: $sliderrtl, 15 wrapAround: true, 16 pageDots: false, 17 prevNextButtons: true, 18 groupCells: true, 19 contain: true 20 }); 21 22 $(".carousel_quick_acsses").flickity({ 23 rightToLeft: $sliderrtl, 24 pageDots: false, 25 prevNextButtons: true, 26 groupCells: true, 27 freeScroll: true 28 }); 29 30 // tab 31 // $("ul.tabs li").click(function () { 32 // var $this = $(this); 33 // $this.addClass("active").siblings().removeClass("active"); 34 // $this.parent().parent().parent().find(".images__carousel").removeClass("active"); 35 // $("ul.tabs li:not(.active)").children("a").children("i").addClass("niafam-right-arrow1"); 36 // $("ul.tabs li:not(.active)").children("a").children("i").removeClass("niafam-arrow-down"); 37 // $this.children("a").children("i").removeClass("niafam-right-arrow1"); 38 // $this.children("a").children("i").addClass("niafam-arrow-down"); 39 // var activeTab = $this.find("a").attr("href"); 40 41 // $(activeTab).addClass("active"); 42 // $(".images__carousel").flickity('resize'); 43 // }); 44 45 // tab 46 $("ul.tabs li").click(function (event) { 47 var $this = $(this); 48 if (!$this.hasClass("stop__link")) { 49 var activeTab = $this.find("a").attr("href"); 50 $this.addClass("active").siblings().removeClass("active"); 51 $(activeTab).addClass("active").siblings().removeClass("active"); 52 $(".images__carousel").flickity('resize'); 53 event.preventDefault(); 54 } 55 $this.children("a").children("i").removeClass("niafam-right-arrow1"); 56 $this.children("a").children("i").addClass("niafam-arrow-down"); 57 $this.siblings().children("a").children("i").removeClass("niafam-arrow-down"); 58 $this.siblings().children("a").children("i").addClass("niafam-right-arrow1"); 59 if (!$this.find(".check").hasClass("stop__link")) { 60 $this.find(".check").click(function(event) { 61 event.preventDefault(); 62 var href = $(this).attr("href"); 63 window.location.href = href; 64 }); 65 } 66 }); 67 68 if($(window).width()< 992.98){ 69 $("ul.tabs li").each(function(){ 70 var details = $(this).find(".detials"); 71 $(this).find(".detials").remove(); 72 var thisTab = $(this).find("a").attr("href");
73 $(thisTab).append(details); 74 }); 75 }; 76}); 77 78 79$(window).scroll(function() { 80 if($(window).scrollTop() > 0) { 81 82 var parallaxDistance = ($(window).scrollTop()/2), 83 parallaxCSS = "translate3d(0, "+ parallaxDistance +"px , 0)"; 84 85 $('.full__slider__item').css('transform', parallaxCSS); 86 87 } else { 88 89 $('.full__slider__item').css('transform', 'translate3d(0, 0, 0)'); 90 } 91}); 92 93// active guid 94$(".images__carousel__item .guide__icon").click(function(){ 95 $(this).parent().children(".content").toggleClass("content_active"); 96}); 97 98$(".item__menu__style").click(function(){ 99var widthTabpanel = $(".tabpanel-set").width(); 100if($(window).width()> 992.98){ 101 $(" #navigation").css({"padding-inline-end" : widthTabpanel + 10 + "px"}); 102} 103}); 104$(".closebtn").click(function(){ 105 $(" #navigation").css({"padding-inline-end" : "0"}); 106});
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.