1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10// JavaScript Document 11$(function() { 12 "use strict"; 13 14 function responsive_dropdown () { 15 /* ---- For Mobile Menu Dropdown JS Start ---- */ 16 $('#menu span.opener').on("click", function() { 17 if ($(this).hasClass("plus")) { 18 $(this).parent().find('.mobile-sub-menu').slideDown(); 19 $(this).removeClass('plus'); 20 $(this).addClass('minus'); 21 } 22 else 23 { 24 $(this).parent().find('.mobile-sub-menu').slideUp(); 25 $(this).removeClass('minus'); 26 $(this).addClass('plus'); 27 } 28 return false; 29 }); 30 /* ---- For Mobile Menu Dropdown JS End ---- */ 31 32 /*---Mobile menu icon Start---*/ 33 var navbar_toggle = $('.navbar-toggle i'); 34 var menu_var = $('#menu'); 35 $('.navbar-toggle').on("click", function(){ 36 37 if(menu_var.hasClass('menu-open')){ 38 menu_var.removeClass('menu-open'); 39 navbar_toggle.removeClass('fa-close'); 40 navbar_toggle.addClass('fa-bars'); 41 }else{ 42 menu_var.addClass('menu-open'); 43 navbar_toggle.addClass('fa-close'); 44 navbar_toggle.removeClass('fa-bars'); 45 } 46 return false; 47 }); 48 /*---Mobile menu icon End---*/ 49 50 /* ---- For Sidebar JS Start ---- */ 51 $('.sidebar-box span.opener').on("click", function(){ 52 53 if ($(this).hasClass("plus")) { 54 $(this).parent().find('.sidebar-contant').slideDown(); 55 $(this).removeClass('plus'); 56 $(this).addClass('minus'); 57 } 58 else 59 { 60 $(this).parent().find('.sidebar-contant').slideUp(); 61 $(this).removeClass('minus'); 62 $(this).addClass('plus'); 63 } 64 return false; 65 }); 66 /* ---- For Sidebar JS End ---- */ 67 /* ---- For Footer JS Start ---- */ 68 $('.footer-static-block span.opener').on("click", function(){ 69 70 if ($(this).hasClass("plus")) { 71 $(this).parent().find('.footer-block-contant').slideDown(); 72 $(this).removeClass('plus'); 73 $(this).addClass('minus'); 74 } 75 else 76 { 77 $(this).parent().find('.footer-block-contant').slideUp(); 78 $(this).removeClass('minus'); 79 $(this).addClass('plus'); 80 } 81 return false; 82 }); 83 /* ---- For Footer JS End ---- */ 84 } 85 86 function owlcarousel_slider () { 87 /* ------------ OWL Slider Start ------------- */ 88 /* ----- #roll-img Start ------ */ 89 $('#roll-img').owlCarousel({ 90 items: 4, 91 navigation: true, 92 pagination: false, 93 itemsDesktop : [1199, 4], 94 itemsDesktopSmall : [991, 3], 95 itemsTablet : [768, 2], 96 itemsTabletSmall : false, 97 itemsMobile : [479, 1] 98 }); 99 /* ----- #roll-img End ------ */ 100 /* ----- #roll-img2 Start ------ */ 101 $('#roll-img2').owlCarousel({ 102 items: 4, 103 navigation: true, 104 pagination: false, 105 itemsDesktop : [1199, 4], 106 itemsDesktopSmall : [991, 3], 107 itemsTablet : [768, 2], 108 itemsTabletSmall : false, 109 itemsMobile : [479, 1] 110 }); 111 /* ----- #roll-img2 End ------ */ 112 /* ----- #roll-img2 Start ------ */ 113 $('#roll-img3').owlCarousel({ 114 items: 5, 115 navigation: true, 116 pagination: false, 117 itemsDesktop : [1199, 5], 118 itemsDesktopSmall : [991, 4], 119 itemsTablet : [768, 3], 120 itemsTabletSmall : false, 121 itemsMobile : [479, 2] 122 }); 123 /* ----- #roll-img2 End ------ */ 124 /* ---- Testimonial Start ---- */ 125 $("#client, .main-banner").owlCarousel({ 126 127 /* navigation : true, Show next and prev buttons*/ 128 slideSpeed : 300, 129 paginationSpeed : 400,
130 autoPlay: false, 131 pagination:true, 132 singleItem:true, 133 navigation:true 134 135 }); 136 /* ----- Testimonial End ------ */ 137 /* ------------ OWL Slider End ------------- */ 138 } 139 140 function scrolltop_arrow () { 141 /* ---- Page Scrollup JS Start ---- */ 142 //When distance from top = 250px fade button in/out 143 var scrollup = $('#scrollup'); 144 var headertag = $('header'); 145 var mainfix = $('.main'); 146 $(window).scroll(function(){ 147 if ($(this).scrollTop() > 250) { 148 scrollup.fadeIn(300); 149 } else { 150 scrollup.fadeOut(300); 151 } 152 153 /* header-fixed JS Start */ 154 if ($(this).scrollTop() > 100){ 155 headertag.addClass("header-fixed"); 156 } 157 else{ 158 headertag.removeClass("header-fixed"); 159 } 160 161 /* main-fixed JS Start */ 162 if ($(this).scrollTop() > 0){ 163 mainfix.addClass("main-fixed"); 164 } 165 else{ 166 mainfix.removeClass("main-fixed"); 167 } 168 /* ---- Page Scrollup JS End ---- */ 169 }); 170 171 //On click scroll to top of page t = 1000ms 172 scrollup.on("click", function(){ 173 $("html, body").animate({ scrollTop: 0 }, 1000); 174 return false; 175 }); 176 } 177 178 179 function custom_tab() { 180 /* ----------- product category Tab Start ------------ */ 181 $('.tab-stap').on('click', 'li', function() { 182 $('.tab-stap li').removeClass('active'); 183 $(this).addClass('active'); 184 185 $(".product-slider-main").fadeOut(); 186 var currentLiID = $(this).attr('id'); 187 $("#data-"+currentLiID).fadeIn(); 188 return false; 189 }); 190 /* ------------ product category Tab End ------------ */ 191 /* ------------ Account Tab JS Start ------------ */ 192 $('.about-tab-stap').on('click', 'li', function() { 193 $('.about-tab-stap li').removeClass('active'); 194 $(this).addClass('active'); 195 196 $(".about-content").fadeOut(); 197 var currentLiID = $(this).attr('id'); 198 $("#data-"+currentLiID).fadeIn(); 199 return false; 200 }); 201 /* ------------ Account Tab JS End ------------ */ 202 } 203 204 /* Price-range Js Start */ 205 function price_range () { 206 $( "#slider-range" ).slider({ 207 range: true, 208 min: 0, 209 max: 800, 210 values: [ 75, 500 ], 211 slide: function( event, ui ) { 212 $( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] ); 213 } 214 }); 215 $( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) + 216 " - $" + $( "#slider-range" ).slider( "values", 1 ) ); 217 } 218 /* Price-range Js End */ 219 220 /* Product Detail Page Tab JS Start */ 221 function description_tab () { 222 $("#tabs li a").on("click", function(e){ 223 var title = $(e.currentTarget).attr("title"); 224 $("#tabs li a").removeClass("selected") 225 $(".tab_content li div").removeClass("selected") 226 $(".tab-"+title).addClass("selected") 227 $(".items-"+title).addClass("selected") 228 $("#items").attr("class","tab-"+title); 229 230 return false; 231 }); 232 } 233 /* Product Detail Page Tab JS End */ 234 235 /*Load-More Js Start*/ 236 function load_more () { 237 $(".best-pro-col").slice(0, 8).show(); 238 $("#loadMore-best").on('click', function (e) { 239 e.preventDefault(); 240 $(".best-pro-col:hidden").slice(0, 4).slideDown(); 241 if ($(".best-pro-col:hidden").length == 0) { 242 $("#load").fadeOut('slow'); 243 } 244 }); 245 246 $(".new-pro-col").slice(0, 8).show(); 247 $("#loadMore-new").on('click', function (e) { 248 e.preventDefault(); 249 $(".new-pro-col:hidden").slice(0, 4).slideDown(); 250 if ($(".new-pro-col:hidden").length == 0) { 251 $("#load").fadeOut('slow'); 252 } 253 }); 254 255 $(".special-pro-col").slice(0, 8).show(); 256 $("#loadMore-special").on('click', function (e) { 257 e.preventDefault(); 258 $(".special-pro-col:hidden").slice(0, 4).slideDown(); 259 if ($(".special-pro-col:hidden").length == 0) { 260 $("#load").fadeOut('slow'); 261 } 262 }); 263 } 264 265 /*Load-More Js Ends*/ 266 267 /*Select Menu Js Start*/ 268 function option_drop() { 269 $( "#country" ).selectmenu(); 270 $( "#currency" ).selectmenu(); 271 }; 272 /*Select Menu Js Ends*/ 273 274 $(document).ready(function() { 275 owlcarousel_slider(); price_range (); responsive_dropdown(); description_tab (); custom_tab (); scrolltop_arrow (); load_more(); option_drop(); 276 }); 277 278 $( window ).on( "resize", function() { 279 280 }); 281}); 282 283 $( window ).on( "load", function() { 284 // Animate loader off screen 285 $(".se-pre-con").fadeOut("slow"); 286 }); 287 288}
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.