PageSourceSearch

https://www.dynamicdreamz.com/wp-content/themes/dynamicdreamz/assets/js/services.js?ver=1790361894

js dynamicdreamz.com collected 2026-09-25 18:46:04 UTC 18,396 bytes, 751 lines download raw bytes

1var $ = jQuery;
2jQuery(document).ready(function () {
3
4  setTimeout(function () {
5    $('.our-client-sec .wrapper').slick({
6      slidesToShow: 4,
7      slidesToScroll: 1,
8      arrows: false,
9      dots: false,
10      infinite: true,
11      autoplay: true,
12      autoplaySpeed: 2000,
13      pauseOnHover: false,
14      responsive: [
15        {
16          breakpoint: 1200,
17          settings: {
18            slidesToShow: 3,
19            slidesToScroll: 1,
20            infinite: true,
21            dots: false,
22          },
23        },
24        {
25          breakpoint: 768,
26          settings: {
27            slidesToShow: 2,
28            slidesToScroll: 1,
29            infinite: true,
30            dots: false,
31          },
32        },
33      ],
34    });
35  }, 3000);
36
37  jQuery(document).ready(function ($) {
38    $('.owl-carousel.happy-client-slider').each(function () {
39      $(this).owlCarousel({
40        nav: true,
41        loop: false,
42        dots: false,
43        margin: 0,
44        autoHeight: false,
45        stagePadding: 0,
46
47        navText: [
48          '<span class="slider-prev"></span>',
49          '<span class="slider-next"></span>'
50        ],
51
52        responsive: {
53          0: {
54            items: 1,
55            stagePadding: 0,
56            margin: 0
57          },
58          767: {
59            items: 2,
60            stagePadding: 0,
61            margin: 0
62          },
63          1200: {
64            items: 3,
65            stagePadding: 0,
66            margin: 0
67          }
68        }
69      });
70    });
71  });
72
73  jQuery(document).ready(function ($) {
74    let slider = $('.owl-carousel.scs-slider');
75    slider.each(function () {
76      $(this).owlCarousel({
77        nav: false,
78        loop: false,
79        dots: false,
80        pagination: false,
81        margin: 16,
82        autoHeight: false,
83        stagePadding: 25,
84        responsive: {
85          0: {
86            items: 1,
87            margin: 10,
88          },
89          767: {
90            items: 2,
91
92          },
93          1200: {
94            items: 2,
95
96          }
97        }
98      });
99    });
100  });
101
102  jQuery(document).ready(function ($) {
103    let slider = $('.owl-carousel.what-delivers-slider');
104    slider.each(function () {
105      $(this).owlCarousel({
106        nav: false,
107        loop: false,
108        dots: false,
109        pagination: false,
110        margin: 16,
111        autoHeight: false,
112        stagePadding: 50,
113        responsive: {
114          0: {
115            items: 1,
116            stagePadding: 25,
117            margin: 10,
118            dots: true,
119          },
120          767: {
121            items: 2,
122            stagePadding: 25,
123          },
124          1200: {
125            items: 3,
126            stagePadding: 0,
127          }
128        }
129      });
130    });
131  });
132
133  jQuery(document).ready(function ($) {
134    let slider = $('.owl-carousel.industries-services-carousel');
135    slider.each(function () {
136      $(this).owlCarousel({
137        nav: false,
138        loop: false,
139        dots: false,
140        pagination: false,
141        margin: 20,
142        autoHeight: false,
143        stagePadding: 50,
144        responsive: {
145          0: {
146            items: 1,
147            stagePadding: 25,
148          },
149          992: {
150            items: 2,
151            stagePadding: 30,
152          }
153        }
154      });
155    });
156  });
157
158  jQuery(document).ready(function ($) {
159    let slider = $('.owl-carousel.wls-slider');
160    slider.each(function () {
161      $(this).owlCarousel({
162        nav: false,
163        loop: false,
164        dots: false,
165        pagination: false,
166        margin: 16,
167        autoHeight: false,
168        stagePadding: 25,
169        responsive: {
170          0: {
171            items: 1,
172            stagePadding: 25,
173            margin: 10,
174          },
175          767: {
176            items: 2,
177
178          },
179          1200: {
180            items: 3,
181
182          }
183        }
184      });
185    });
186  });
187
188  /* Our Work In Mobile Slider JS */
189  /*         $('.happy-client-main .wrapper').slick({
190              slidesToShow: 2,
191              slidesToScroll: 1,
192              centerMode: true,
193              arrows: false,
194              dots: false,
195              speed: 1000,
196              centerPadding: '17%',
197              infinite: false,
198              autoplaySpeed: 5000,
199              autoplay: false,
200              responsive: [
201                  {
202                      breakpoint: 1701,
203                      settings: {
204                          centerPadding: '19%',
205                      },
206                  },
207                  {
208                      breakpoint: 1601,
209                      settings: {
210                          centerPadding: '17%',
211                      },
212                  },
213                  {
214                      breakpoint: 1501,
215                      settings: {
216                          centerPadding: '12.4%',
217                      },
218                  },
219                  {
220                      breakpoint: 1401,
221                      settings: {
222                          centerPadding: '8%',
223                      },
224                  },
225                  {
226                      breakpoint: 992,
227                      settings: {
228                          centerPadding: '3%',
229                      },
230                  },
231                  {
232                      breakpoint: 768,
233                      settings: {
234                          centerPadding: '20px',
235                          slidesToShow: 1,
236                          slidesToScroll: 1,
237                      },
238                  },
239              ],
240      }); */
241  $(document).ready(function () {
242    $('.technologies-tabs .tab-menu li').click(function () {
243      var tab_id = $(this).data('tab');
244
245      $('.tab-menu li').removeClass('active');
246      $(this).addClass('active');
247
248      $('.tab-content.active').fadeOut(200, function () {
249        $(this).removeClass('active');
250        $(tab_id).fadeIn(200).addClass('active');
251      });
252    });
253
254    $('.tab-content').not('.active').hide();
255  });
256
257  $(document).ready(function () {
258    const $reviews = $('.review_animation');
259    let currentIndex = 0;
260
261    const starDelay = 200;
262    const ratingDelay = 5 * starDelay + 300;
263    const totalRatingDelay = 5 * starDelay + 600;
264
265    // Function to reset all reviews animations and classes
266    function resetAllReviews() {
267      $reviews.each(function () {
268        const $r = $(this);
269        $r.removeClass('zoom-in show active');
270        $r.find('.review_animation_wrapper').removeClass('show');
271        $r.find('.review_animation_stars path').removeClass('show');
272        $r.find('.review_ratings, .review_total_ratings').removeClass('show');
273      });
274    }
275
276    function animateReview($review) {
277      if (!$review.length) return;
278
279      // No need to reset here anymore because we do it globally before calling animateReview
280
281      setTimeout(() => {
282        $review.addClass('zoom-in show');
283
284        setTimeout(() => {
285          $review.find('.review_animation_wrapper').addClass('show');
286
287          $review.find('.review_animation_stars path').each((index, el) => {
288            setTimeout(() => {
289              $(el).addClass('show');
290            }, index * starDelay);
291          });
292
293          setTimeout(() => {
294            $review.find('.review_ratings').addClass('show');
295          }, ratingDelay);
296
297          setTimeout(() => {
298            $review.find('.review_total_ratings').addClass('show');
299          }, totalRatingDelay);
300
301        }, 300);
302      }, 100);
303    }
304
305    function showNextReview() {
306      resetAllReviews();
307
308      const $current = $reviews.eq(currentIndex);
309      $current.addClass('active');
310      animateReview($current);
311
312      currentIndex = (currentIndex + 1) % $reviews.length;
313    }
314
315    showNextReview(); // Show first review on page load
316    setInterval(showNextReview, 5000); // Rotate every 5 seconds
317  });
318
319
320/*   setTimeout(function () {
321    jQuery(document).on('click', '.accrodion-title', function () {
322      jQuery('.accrodion-item').removeClass('active');
323      jQuery('.accrodion-content').slideUp();
324      if (jQuery(this).next().is(":visible")) {
325        jQuery(this).removeClass('active');
326        jQuery(this).next().slideUp();
327      } else {
328        jQuery(this).parent().addClass('active');
329        jQuery(this).next().slideDown();
330      }
331    });
332  }, 1200); */
333
334
335  setTimeout(function () {
336
337    // Each results-main: open its own last item
338    jQuery('.results-main').each(function () {
339      var $main = jQuery(this);
340      var $lastItem = $main.find('.results-item').last();
341
342      $lastItem.addClass('active');
343      $lastItem.find('.results-content').show();
344    });
345
346    // Accordion click
347    jQuery(document).on('click', '.results-main .results-title', function () {
348
349      var $title = jQuery(this);
350      var $main = $title.closest('.results-main');
351      var $item = $title.closest('.results-item');
352      var $content = $title.next('.results-content');
353
354      // Only this results-main's items will close
355      $main.find('.results-item').removeClass('active');
356      $main.find('.results-content').stop(true, true).slideUp();
357
358      // If clicked item was closed, open it
359      if (!$content.is(':visible')) {
360        $item.addClass('active');
361        $content.stop(true, true).slideDown();
362      }
363
364    });
365
366  }, 1200);
367
368
369
370  $('.white-label-shopify-process-slider').slick({
371    slidesToShow: 3,
372    slidesToScroll: 1,
373    arrows: false,
374    dots: false,
375    infinite: false,
376    autoplay: false,
377    pauseOnHover: false,
378    responsive: [
379      {
380        breakpoint: 1200,
381        settings: {
382          slidesToShow: 3,
383          slidesToScroll: 1,
384          infinite: true,
385          dots: false,
386        },
387      },
388      {
389        breakpoint: 1200,
390        settings: {
391          slidesToShow: 2,
392          slidesToScroll: 1,
393          infinite: true,
394          dots: false,
395        },
396      },
397      {
398        breakpoint: 767,
399        settings: {
400          slidesToShow: 1,
401          slidesToScroll: 1,
402          infinite: true,
403          dots: false,
404        },
405      },
406    ],
407  });
408
409
410});
411
412// White Label Wordpress Development Services Counter Section JS
413
414jQuery(document).ready(function ($) {
415
416  var counter_animated = false;
417
418  if ('IntersectionObserver' in window) {
419
420    var counter_observer = new IntersectionObserver(function (entries) {
421      entries.forEach(function (entry) {
422        if (entry.isIntersecting && !counter_animated) {
423          counter_animated = true;
424
425          setTimeout(function () {
426            $('#counter_1').html('20');
427            $('#counter_2').html('150');
428            $('#counter_3').html('2500');
429            $('#counter_4').html('1000');
430          }, 100);
431        }
432      });
433    }, { threshold: 0.1 });
434
435    var section = document.querySelector('.stats_sections');
436    if (section) {
437      counter_observer.observe(section);
438    }
439
440  } else {
441
442    var scroll_timeout;
443
444    $(window).on('scroll', function () {
445
446      if (counter_animated) return;
447
448      clearTimeout(scroll_timeout);
449
450      scroll_timeout = setTimeout(function () {
451
452        var section = $('.stats_section');
453        if (!section.length) return;
454
455        var window_top = $(window).scrollTop();
456        var window_bottom = window_top + $(window).height();
457
458        var section_top = section.offset().top;
459        var section_bottom = section_top + section.outerHeight();
460
461        if (window_bottom > section_top && window_top < section_bottom) {
462          counter_animated = true;
463
464          setTimeout(function () {
465            $('#counter_1').html('18');
466            $('#counter_2').html('150');
467            $('#counter_3').html('2500');
468            $('#counter_4').html('1000');
469          }, 100);
470        }
471
472      }, 100);
473
474    });
475
476  }
477
478});
479
480function fixSlickAria($carousel) {
481  $carousel.on('init reInit afterChange', function () {
482    $(this).find('.slick-slide').each(function () {
483      var isHidden = $(this).attr('aria-hidden') === 'true';
484
485      $(this)
486        .find('a, button, input, textarea, select, [tabindex]')
487        .each(function () {
488          if (isHidden) {
489            $(this).attr('tabindex', '-1');
490          } else {
491            $(this).removeAttr('tabindex');
492          }
493        });
494    });
495  });
496}
497
498$(document).ready(function () {
499  $('.brand_testimonial_carousel').each(function () {
500    var $carousel = $(this);
501    var $section = $carousel.closest(".brand_testimonial_slider_wrap");
502    var $arrows = $section.find('.brand_testimonial_nav');
503
504    fixSlickAria($carousel);
505
506    $carousel.slick({
507      slidesToShow: 1,
508      slidesToScroll: 1,
509      accessibility: true,
510      focusOnSelect: false,
511      prevArrow: $arrows.find('.prev'),
512      nextArrow: $arrows.find('.next'),
513      arrows: !0,
514      dots: !1,
515      speed: 600,
516      cssEase: 'ease-in-out',
517      infinite: !1,
518      adaptiveHeight: false,
519      responsive: [{
520        breakpoint: 1300,
521        settings: {
522          slidesToShow: 1
523        }
524      }, {
525        breakpoint: 991,
526        settings: {
527          slidesToShow: 1
528        }
529      }, {
530        breakpoint: 767,
531        settings: {
532          slidesToShow: 1
533        }
534      }]
535    });
536  });
537});
538
539// White Label Wordpress Development Services Accordion Section JS
540
541// jQuery(document).ready(function ($) {
542//   var $items = $(".accordion_item");
543
544//   $items.filter(".active").find(".accordion_body").each(function () {
545//     $(this).css("max-height", this.scrollHeight + "px");
546//   });
547
548//   $items.find(".accordion_header").on("click", function () {
549//     var $current = $(this).closest(".accordion_item");
550//     var isActive = $current.hasClass("active");
551
552//     $items.not($current).removeClass("active").find(".accordion_body").css("max-height", 0);
553
554//     if (isActive) {
555//       $current.removeClass("active").find(".accordion_body").css("max-height", 0);
556//     } else {
557//       $current.addClass("active");
558//       var body = $current.find(".accordion_body")[0];
559//       $(body).css("max-height", body.scrollHeight + "px");
560//     }
561//   });
562// });
563
564
565
566
567
568
569
570
571
572/* jQuery(document).ready(function ($) {
573
574  var $section = $(".white_label_wp_development_service_accordion_section");
575  var $items = $section.find(".accordion_item");
576
577  // Open already active accordion on load
578  $items.filter(".active").find(".accordion_body").each(function () {
579    $(this).css("max-height", this.scrollHeight + "px");
580  });
581
582  // 🔹 Initial icon sync on load
583  $items.each(function () {
584    $(this)
585      .find(".accordion_toggle")
586      .text($(this).hasClass("active") ? "-" : "+");
587  });
588
589  // Accordion click handler
590  $section.find(".accordion_header").on("click", function () {
591    var $current = $(this).closest(".accordion_item");
592    var isActive = $current.hasClass("active");
593
594    // Close all other accordions
595    $items.not($current)
596      .removeClass("active")
597      .find(".accordion_body")
598      .css("max-height", 0);
599
600    // Reset icons of all other accordions
601    $items.not($current).find(".accordion_toggle").text("+");
602
603    // Toggle current accordion
604    if (isActive) {
605      $current
606        .removeClass("active")
607        .find(".accordion_body")
608        .css("max-height", 0);
609
610      // icon when closed
611      $current.find(".accordion_toggle").text("+");
612
613    } else {
614      $current.addClass("active");
615      var body = $current.find(".accordion_body")[0];
616      $(body).css("max-height", body.scrollHeight + "px");
617
618      // icon when open
619      $current.find(".accordion_toggle").text("-");
620    }
621  });
622});
623 */
624
625jQuery(document).ready(function ($) {
626
627  $(".white_label_wp_development_service_accordion_section").each(function () {
628
629    var $section = $(this);
630    var $items = $section.find(".accordion_item");
631
632    // Check current section only
633    var isWebsiteDesign = $section.hasClass("website-design");
634
635    // Default first accordion open for website-design
636    if (isWebsiteDesign && !$items.filter(".active").length) {
637      $items.first().addClass("active");
638    }
639
640    // Open active accordion on load
641    $items.filter(".active").find(".accordion_body").each(function () {
642      $(this).css("max-height", this.scrollHeight + "px");
643    });
644
645    // Initial icon setup
646    $items.each(function () {
647
648      if (!isWebsiteDesign) {
649
650        // Normal accordion icons
651        $(this)
652          .find(".accordion_toggle")
653          .text($(this).hasClass("active") ? "-" : "+");
654
655      } else {
656
657        // Remove text to avoid ++
658        $(this).find(".accordion_toggle").text("");
659
660      }
661
662    });
663
664    // Accordion click
665    $section.find(".accordion_header").on("click", function () {
666
667      var $current = $(this).closest(".accordion_item");
668      var isActive = $current.hasClass("active");
669
670      // Close all others
671      $items.not($current)
672        .removeClass("active")
673        .find(".accordion_body")
674        .css("max-height", 0);
675
676      // Reset icons for normal accordions only
677      if (!isWebsiteDesign) {
678
679        $items.not($current)
680          .find(".accordion_toggle")
681          .text("+");
682
683      }
684
685      // Close current
686      if (isActive) {
687
688        $current
689          .removeClass("active")
690          .find(".accordion_body")
691          .css("max-height", 0);
692
693        if (!isWebsiteDesign) {
694          $current.find(".accordion_toggle").text("+");
695        }
696
697      } else {
698
699        // Open current
700        $current.addClass("active");
701
702        var body = $current.find(".accordion_body")[0];
703
704        $(body).css("max-height", body.scrollHeight + "px");
705
706        if (!isWebsiteDesign) {
707          $current.find(".accordion_toggle").text("-");
708        }
709      }
710
711    });
712
713  });
714
715  jQuery(document).ready(function () {
716    $(function () {
717      function openTab(tab) {
718        $('.credential-tab').removeClass('active');
719        $('.panel').removeClass('active');
720
721        $(tab).addClass('active');
722        $('#' + $(tab).data('tab')).addClass('active');
723      }
724
725      $('.credential-tab').on('click', function () {
726        openTab(this);
727      });
728
729      openTab($('.credential-tab').first());
730    });
731  });
732});
733
734
735jQuery(document).ready(function ($) {
736  $('.page-id-6865 .content-wrap a.btn.btn-red-brder').on('click', function (e) {
737    var href = $(this).attr('href');
738
739    if (href && href.charAt(0) === '#') {
740      e.preventDefault();
741      var $target = $(href);
742
743      if ($target.length) {
744        $('html, body').animate({
745          scrollTop: $target.offset().top
746        }, 600); // duration in ms
747      }
748    }
749  });
750});
751

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.