1$(document).ready(function() { 2 // $('#home-slider').carousel({ 3 // interval: 8000 4 // }); 5 // $('#eventsCarousel').carousel({ 6 // interval: 8000 7 // }); 8 // $('#events-gallery-carousel').carousel({ 9 // interval: 8000 10 // }); 11 // $('#imCarousel1').carousel({ 12 // interval: 5000 13 // }); 14 $('li.dropdown').bind('mouseover', openSubMenu); 15 $('li.dropdown').bind('mouseout', closeSubMenu); 16 17 function openSubMenu() { 18 $(this).find('ul.dropdown-menu').show(); 19 $(' > a', this).css('color', '#ff850a'); 20 }; 21 22 function closeSubMenu() { 23 $(this).find('ul.dropdown-menu').hide(); 24 $(' > a', this).css('color', '#777'); 25 }; 26 var clicked = false; 27 $('#nav_toggle_search').click(function() { 28 if (clicked == false) { 29 $('.search .input-group').show(); 30 $('#nav_toggle_search').removeClass('fa fa-search').addClass('fa fa-times'); 31 clicked = true; 32 } else { 33 $('.search .input-group').hide(); 34 $('#nav_toggle_search').removeClass('fa fa-times').addClass('fa fa-search'); 35 clicked = false; 36 } 37 }); 38 $("#accordian h3").click(function() { 39 $("#accordian ul ul").slideUp(); 40 if (!$(this).next().is(":visible")) { 41 $(this).next().slideDown(); 42 } 43 }) 44 $(window).scroll(function() { 45 if ($(this).scrollTop() > 100) { 46 $(".top-bar").css("display", "none"); 47 $(".menu-container").css("border-bottom", "1px solid #fff"); 48 $(".menu-navbar").css("border-bottom", "1px solid #e8e8e8"); 49 } else { 50 $(".top-bar").css("display", "block"); 51 $(".menu-navbar").css("border-bottom", "1px solid #fff"); 52 $(".menu-container").css("border-bottom", "1px solid #fff"); 53 } 54 }); 55 // $("#brands").owlCarousel({ 56 // navigation: false, 57 // autoPlay: 5000, 58 // responsive: true, 59 // slideSpeed: 300, 60 // paginationSpeed: 400, 61 // autoHeight: true, 62 // center:true, 63 // touchDrag:true, 64 // dots:false, 65 // dotsEach:false, 66 // itemsCustom: [ 67 // [0, 2], 68 // [450, 2], 69 // [600, 2], 70 // [700, 2], 71 // [1000, 3], 72 // [1200, 6], 73 // [1400, 6], 74 // [1600, 6] 75 // ] 76 // }); 77 // $("#team").owlCarousel({ 78 // navigation: false, 79 // autoPlay: 5000, 80 // responsive: true, 81 // slideSpeed: 300, 82 // paginationSpeed: 400, 83 // autoHeight: true, 84 // itemsCustom: [ 85 // [0, 1], 86 // [450, 2], 87 // [600, 2], 88 // [700, 2], 89 // [1000, 3], 90 // [1200, 3], 91 // [1400, 3], 92 // [1600, 3] 93 // ] 94 // }); 95 $("div.bhoechie-tab-menu>div.list-group>a").click(function(e) { 96 e.preventDefault(); 97 $(this).siblings('a.active').removeClass("active"); 98 $(this).addClass("active"); 99 var index = $(this).index(); 100 $("div.bhoechie-tab>div.bhoechie-tab-content").removeClass("active"); 101 $("div.bhoechie-tab>div.bhoechie-tab-content").eq(index).addClass("active"); 102 $('html, body').animate({ 103 scrollTop: 100 104 }, 1000); 105 }); 106 $('#product_download .thumbnail').hover(function() { 107 $(this).find('.caption').slideDown(250); 108 }, function() {
109 $(this).find('.caption').slideUp(250); 110 }); 111 112 // function productSwiper(){const e=document.querySelector(".swiper-container"),t=document.getElementById("carouselPagination"),n=document.querySelectorAll(".pagination-dot");if(!e)return;const o=new Swiper(e,{loop:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},autoplay:{delay:5e3,disableOnInteraction:!1},spaceBetween: 200});function i(){n.forEach((e=>e.classList.remove("active")));const e=n[o.realIndex];e&&(e.classList.add("active"),function(){const e=t.querySelector(".pagination-dot.active");if(!e)return;const n=t.offsetWidth,o=e.offsetLeft+e.offsetWidth/2;t.scrollTo({left:o-n/2,behavior:"smooth"})}())}t&&0!==n.length&&(n.forEach(((e,t)=>{e.addEventListener("click",(()=>{o.slideToLoop(t)}))})),o.on("slideChange",i),i())}productSwiper(); 113 114 function productSwiper() { 115 const e = document.querySelector(".swiper-container"), 116 t = document.getElementById("carouselPagination"), 117 n = document.querySelectorAll(".pagination-dot"); 118 119 if (!e) return; 120 121 const o = new Swiper(e, { 122 loop: true, 123 navigation: { 124 nextEl: ".swiper-button-next", 125 prevEl: ".swiper-button-prev" 126 }, 127 autoplay: { 128 delay: 5000, 129 disableOnInteraction: false 130 }, 131 spaceBetween: 200 132 }); 133 134 function i() {
135 n.forEach(e => e.classList.remove("active")); 136 const active = n[o.realIndex]; 137 if (active) { 138 active.classList.add("active"); 139 if (t) { 140 const el = t.querySelector(".pagination-dot.active"); 141 if (!el) return; 142 const w = t.offsetWidth; 143 const c = el.offsetLeft + el.offsetWidth / 2; 144 t.scrollTo({ left: c - w / 2, behavior: "smooth" }); 145 } 146 } 147 } 148 149 if (t && n.length) { 150 n.forEach((dot, idx) => { 151 dot.addEventListener("click", () => o.slideToLoop(idx)); 152 }); 153 154 o.on("slideChange", i); 155 i(); 156 } 157} 158 159/* Only run on specific paths */ 160const path = window.location.pathname; 161 162if (path.includes("reve-sms-platform") || path.includes("class-5-softswitch") || path.includes("reve-session-border-controller") || path.includes("voice-video-and-messaging-app")) { 163 productSwiper(); 164} 165 166 167});
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.