PageSourceSearch

https://www.wordpm.com/assets/js/theme.js

js wordpm.com collected 2026-10-07 13:21:52 UTC 12,826 bytes, 541 lines download raw bytes

1(function($) {
2    'use strict';
3    // Mobile Menu
4    $('.mobile-menu nav').meanmenu({
5        meanScreenWidth: "990",
6        meanMenuContainer: ".mobile-menu",
7        onePage: false,
8    });
9    // sticky
10    var wind = $(window);
11    var sticky = $('#sticky-header');
12    wind.on('scroll', function () {
13        var scroll = wind.scrollTop();
14        if (scroll < 100) {
15            sticky.removeClass('sticky');
16        } else {
17            sticky.addClass('sticky');
18        }
19    });
20    //Header Search
21    if($('.search-box-outer').length) {
22        $('.search-box-outer').on('click', function() {
23            $('body').addClass('search-active');
24        });
25        $('.close-search').on('click', function() {
26            $('body').removeClass('search-active');
27        });
28    }
29
30    // Team Script
31    $(".team-icon").click(function(){
32        $(this).siblings(".team-socail-icon").toggleClass('active');
33    });
34
35 / Loder  /
36    $(function () {
37      $('body').addClass('loaded');
38    });
39
40     /*---------------------
41    Nivo Slider active js 
42    --------------------- */
43    $('#mainSlider').nivoSlider({
44        directionNav: true,
45        animSpeed: 500,
46        slices: 18,
47        pauseTime: 900000,
48        pauseOnHover: false,
49        controlNav: true,
50        prevText: '<i class="fa fa-angle-left nivo-prev-icon"></i>',
51        nextText: '<i class="fa fa-angle-right nivo-next-icon"></i>'
52    });
53   // Slider Active
54    $('.slider_list').owlCarousel({
55        loop: true,
56        autoplay: true,
57        autoplayTimeout: 10000,
58        dots: true,
59        nav: false,
60        navText: ["<i class='fas fa-arrow-left''></i>", "<i class='fas fa-arrow-right''></i>"],
61        responsive: {
62            0: {
63                items: 1
64            },
65            768: {
66                items: 1
67            },
68            992: {
69                items: 1
70            },
71            1000: {
72                items: 1
73            },
74            1920: {
75                items: 1
76            }
77        }
78    })
79    $('.slider_list2').owlCarousel({
80        loop: true,
81        autoplay: true,
82        smartSpeed:5500,
83        autoplayTimeout: 5000,
84        dots: false,
85        nav: true,
86        navText: ["<i class='flaticon-next''></i>", "<i class='flaticon-back''></i>"],
87        responsive: {
88            0: {
89                items: 1
90            },
91            768: {
92                items: 1
93            },
94            992: {
95                items: 1
96            },
97            1000: {
98                items: 1
99            },
100            1920: {
101                items: 1
102            }
103        }
104    })
105     // service Active
106    $('.service-list').owlCarousel({
107        loop: true,
108        autoplay: true,
109        autoplayTimeout: 10000,
110        dots: true,
111        center: false,
112        nav: false,
113        navText: ["<i class='fa fa-long-arrow-left''></i>", "<i class='fa fa-long-arrow-right''></i>"],
114        responsive: {
115            0: {
116                items: 1
117            },
118             600: {
119                items: 2
120            },
121            768: {
122                items: 3
123            },
124            992: {
125                items: 4
126            },
127            1000: {
128                items: 4
129            },
130            1400: {
131                items: 4
132            },
133            1920: {
134                items: 4
135            }
136        }
137    })
138     // testimonial Active
139    $('.testimonial_list').owlCarousel({
140        loop: true,
141        autoplay: true,
142        autoplayTimeout: 10000,
143        dots: true,
144        center: false,
145        nav: false,
146        navText: ["<i class='fas fa-long-arrow-alt-right''></i>", "<i class='fas fa-long-arrow-alt-left''></i>"],
147        responsive: {
148            0: {
149                items: 1
150            },
151            768: {
152                items: 1
153            },
154            992: {
155                items: 1
156            },
157            1000: {
158                items: 1
159            },
160            1400: {
161                items: 1
162            },
163            1920: {
164                items: 1
165            }
166        }
167    })
168    // testimonial Active
169    $('.testimonial-list').owlCarousel({
170        loop: true,
171        autoplay: true,
172        autoplayTimeout: 10000,
173        dots: false,
174        center: false,
175        nav: false,
176        navText: ["<i class='fas fa-long-arrow-alt-right''></i>", "<i class='fas fa-long-arrow-alt-left''></i>"],
177        responsive: {
178            0: {
179                items: 1
180            },
181            768: {
182                items: 1
183            },
184            992: {
185                items: 2
186            },
187            1000: {
188                items: 2
189            },
190            1400: {
191                items: 2
192            },
193            1920: {
194                items: 2
195            }
196        }
197    })
198     // testimonial Active
199    $('.testis_lists').owlCarousel({
200        loop: true,
201        autoplay: true,
202        autoplayTimeout: 10000,
203        dots: false,
204        center: false,
205        nav: false,
206        navText: ["<i class='fas fa-long-arrow-alt-right''></i>", "<i class='fas fa-long-arrow-alt-left''></i>"],
207        responsive: {
208            0: {
209                items: 1
210            },
211            768: {
212                items: 1
213            },
214            992: {
215                items: 2
216            },
217            1000: {
218                items: 2
219            },
220            1400: {
221                items: 2
222            },
223            1920: {
224                items: 2
225            }
226        }
227    })
228      // testimonial Active
229    $('.portfolio-list').owlCarousel({
230        loop: true,
231        smartSpeed:2500,
232        autoplay: true,
233        autoplayTimeout: 4000,
234        dots: true,
235        center: true,
236        nav: false,
237        navText: ["<i class='fas fa-long-arrow-alt-right''></i>", "<i class='fas fa-long-arrow-alt-left''></i>"],
238        responsive: {
239            0: {
240                items: 1
241            },
242            768: {
243                items: 2
244            },
245            992: {
246                items: 4
247            },
248            1000: {
249                items: 5
250            },
251            1400: {
252                items: 5
253            },
254            1920: {
255                items: 5
256            }
257        }
258    })
259
260    $('.portfolio-list2').owlCarousel({
261        loop: true,
262        smartSpeed:false,
263        autoplay: true,
264        autoplayTimeout: 4000,
265        dots: false,
266        center: true,
267        nav: false,
268        navText: ["<i class='fas fa-long-arrow-alt-right''></i>", "<i class='fas fa-long-arrow-alt-left''></i>"],
269        responsive: {
270            0: {
271                items: 1
272            },
273            768: {
274                items: 2
275            },
276            992: {
277                items: 4
278            },
279            1000: {
280                items: 5
281            },
282            1400: {
283                items: 4
284            },
285            1920: {
286                items: 4
287            }
288        }
289    })
290     
291     $('.portfolio-list3').owlCarousel({
292        loop: true,
293        smartSpeed:false,
294        autoplay: true,
295        autoplayTimeout: 4000,
296        dots: false,
297        center: true,
298        nav: false,
299        navText: ["<i class='fas fa-long-arrow-alt-right''></i>", "<i class='fas fa-long-arrow-alt-left''></i>"],
300        responsive: {
301            0: {
302                items: 1
303            },
304            768: {
305                items: 2
306            },
307            992: {
308                items: 3
309            },
310            1000: {
311                items: 3
312            },
313            1400: {
314                items: 3
315            },
316            1920: {
317                items: 3
318            }
319        }
320    })
321      // Case Study Active
322    $('.brand-list').owlCarousel({
323        loop: true,
324        autoplay: true,
325        autoplayTimeout: 10000,
326        dots: false,
327        center: false,
328        nav: false,
329        navText: ["<i class='fa fa-long-arrow-left''></i>", "<i class='fa fa-long-arrow-right''></i>"],
330        responsive: {
331            0: {
332                items: 1
333            },
334             600: {
335                items: 2
336            },
337            768: {
338                items: 3
339            },
340            992: {
341                items: 4
342            },
343            1000: {
344                items: 5
345            },
346            1400: {
347                items: 5
348            },
349            1920: {
350                items: 5
351            }
352        }
353    })
354      // Case Study Active
355    $('.team-list').owlCarousel({
356        loop: true,
357        autoplay: true,
358        autoplayTimeout: 10000,
359        dots: true,
360        center: false,
361        dotsEach: true,
362        nav: false,
363        navText: ["<i class='fa fa-long-arrow-left''></i>", "<i class='fa fa-long-arrow-right''></i>"],
364        responsive: {
365            0: {
366                items: 1
367            },
368             600: {
369                items: 2
370            },
371            768: {
372                items: 3
373            },
374            992: {
375                items: 4
376            },
377            1000: {
378                items: 4
379            },
380            1400: {
381                items: 4
382            },
383            1920: {
384                items: 4
385            }
386        }
387    })
388      // feature Active
389    $('.blog-list').owlCarousel({
390        loop: true,
391        autoplay: true,
392        autoplayTimeout: 10000,
393        dots: true,
394        dotsEach: false,
395        center: false,
396        nav: false,
397        navText: ["<i class='fa fa-long-arrow-left''></i>", "<i class='fa fa-long-arrow-right''></i>"],
398        responsive: {
399            0: {
400                items: 1
401            },
402             600: {
403                items: 1
404            },
405            768: {
406                items: 2
407            },
408            992: {
409                items: 2
410            },
411            1000: {
412                items: 2
413            },
414            1400: {
415                items: 2
416            },
417            1920: {
418                items: 2
419            }
420        }
421    })   	
422    // counterUp
423    $('.counter').counterUp({
424        delay: 10,
425        time: 1000
426    });
427   /* Portfolio Isotope  */
428    $('.image_load').imagesLoaded(function() {
429
430        if ($.fn.isotope) {
431
432            var $portfolio = $('.image_load');
433
434            $portfolio.isotope({
435
436                itemSelector: '.grid-item',
437
438                filter: '*',
439
440                resizesContainer: true,
441
442                layoutMode: 'masonry',
443
444                transitionDuration: '0.8s'
445
446            });
447            $('.menu-filtering li').on('click', function() {
448
449                $('.menu-filtering li').removeClass('current_menu_item');
450
451                $(this).addClass('current_menu_item');
452
453                var selector = $(this).attr('data-filter');
454
455                $portfolio.isotope({
456
457                    filter: selector,
458
459                });
460
461            });
462
463        };
464
465    });
466 // Venubox
467
468    $('.venobox').venobox({
469
470        numeratio: true,
471
472        infinigall: true
473
474    });
475
476	/*--------------------------
477     scrollUp
478    ---------------------------- */
479    $.scrollUp({
480        scrollText: '<i class="fa fa-angle-up"></i>',
481        easingType: 'linear',
482        scrollSpeed: 900,
483        animation: 'fade'
484    })
485
486    // Calender Jquery
487var curDate = (new Date()).getDate();
488var curMonth = (new Date()).getMonth();
489var curYear = (new Date()).getFullYear();
490var startDay = (new Date(curYear, curMonth, 1)).getDay();
491var months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "
491November", "December"];
492var noofdays = ["31", "29", "31", "30", "31", "30", "31", "31", "30", "31", "30", "31"];
493var prevMonth = noofdays[curMonth - 1];
494if (curMonth == 11) {
495prevMonth = noofdays[0]
496} else if (curMonth == 0) {
497prevMonth = noofdays[11]
498};
499var totalDays = noofdays[curMonth];
500var counter = 0;
501var precounter = prevMonth - (startDay - 1);
502var rightbox = 6;
503var flag = true;
504
505jQuery('.curr-month b').text(months[curMonth]);
506for (var i = 0; i < 42; i++) {
507if (i >= startDay) {
508counter++;
509if (counter > totalDays) {
510counter = 1;
511flag = false;
512}
513if (flag == true) {
514jQuery('.all-date ul').append('<li class="monthdate">' + counter + '</li>');
515} else {
516jQuery('.all-date ul').append('<li style="opacity:.8">' + counter + '</li>');
517}
518} else {
519jQuery('.all-date ul').append('<li style="opacity:.8">' + precounter + '</li>');
520precounter++;
521}
522
523if (i == rightbox) {
524jQuery(jQuery('.all-date ul li')[rightbox]).addClass("b-right");
525rightbox = rightbox + 7;
526}
527
528if (i > 34) {
529jQuery(jQuery('.all-date ul li')[i]).addClass("b-bottom");
530}
531
532if ((jQuery(jQuery('.all-date ul li')[i]).text() == curDate) && (jQuery(jQuery('.all-date ul li')[i]).css('opacity') == 1)) {
533jQuery(jQuery('.all-date ul li')[i]).css({
534"background-color": "#02548b",
535"color": "#fff"
536});
537}
538};
539
540
541})(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.