PageSourceSearch

https://www.coll-8.com/wp-content/themes/coll-8/assets/scripts/custom.js?ver=7.1.2

js coll-8.com collected 2026-10-07 00:39:22 UTC 2,977 bytes, 88 lines download raw bytes

1// add class on page load
2	
3jQuery(function() {
4  jQuery('.loadFade').addClass('fadeIn'); // add .loadFade to object (css: .loadFade {opacity:0;} .fadeIn {opacity:1;})
5});
6jQuery(window).load(function() {
7  jQuery("body").removeClass("preLoad");
8});
9
10//Hamburger Animation Toggle
11
12jQuery(".hamburger").click(function(){
13    jQuery(this).toggleClass('is-active');
14});
15
16jQuery(".js-off-canvas-overlay").click(function(){
17    jQuery(".hamburger").removeClass("is-active");
18});
19
20//flickity settings
21
22jQuery(function() {
23
24  // LOGO CAROUSEL
25  var logoCarousel = jQuery('.logo-carousel');
26
27  if (logoCarousel.length) { // here you validate if there is any element with that class
28      jQuery('.logo-carousel').flickity({
29        // options
30        cellSelector: '.carousel-cell',
31        cellAlign: 'left',
32        imagesLoaded: true,
33        adaptiveHeight: true,
34        pageDots: false,
35        prevNextButtons: true,
36        wrapAround: true,
37        autoPlay: 4000,
38        arrowShape: 'M54.928561,14.7863036 L28.1292697,41.6769794 L91.7248192,41.6769794 C96.2929797,41.6769794 99.9962054,45.4392812 99.9962054,50.0803156 C99.9962054,54.72135 96.2929797,58.4836518 91.7248192,58.4836518 L28.1292697,58.4836518 L55.0112749,86.1306279 C57.8216999,89.4647379 57.632744,94.4347557 54.57755,97.538688 C51.5223559,100.64262 46.6303778,100.834591 43.3486203,97.9793319 L2.40525869,56.3828177 C-0.801752897,53.1052019 -0.801752897,47.8117296 2.40525869,44.5341137 L43.2659065,2.93759953 C45.2873496,0.539487713 48.4613163,-0.505095585 51.4828584,0.23332077 C54.5044006,0.971737126 56.8635552,3.36852639 57.5903769,6.43826995 C58.3171986,9.50801352 57.2890174,12.7326132 54.928561,14.7863036 Z'
39      });
40  }
41
42  // IPAD CAROUSEL
43  var ipadCarousel = jQuery('.ipad-carousel');
44
45  if (ipadCarousel.length) { // here you validate if there is any element with that class
46      jQuery('.ipad-carousel').flickity({
47          // options
48          cellSelector: 'img',
49          cellAlign: 'left',
50          imagesLoaded: true,
51          adaptiveHeight: true,
52          pageDots: true,
53          prevNextButtons: false,
54          autoPlay: 5000
55      });
56  }
57  var $galleryCells = ipadCarousel.find('img');
58
59  if ( $galleryCells.length < 2 ) {
60    ipadCarousel.addClass('hide-navs');
61  }
62
63});
64
65jQuery.gdprcookie.init({
66  cookieTypes: [
67    {
68      type: "Essential",
69      value: "essential",
70      description: "These are cookies that are essential for the website to work correctly."
71    },
72    {
73      type: "Site Preferences",
74      value: "preferences",
75      description: "These are cookies that are related to your site preferences, e.g. remembering your username, site colours, etc."
76    },
77    {
78      type: "Analytics",
79      value: "analytics",
80      description: "Cookies related to site visits, browser types, etc."
81    },
82    {
83      type: "Marketing",
84      value: "marketing",
85      description: "Cookies related to marketing, e.g. newsletters, social media, etc"
86    }
87  ],
88});

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.