PageSourceSearch

https://www.calzificiococcoli.it/themes/coccoli/assets/js/custom.js

js calzificiococcoli.it collected 2026-10-10 01:39:42 UTC 4,618 bytes, 204 lines download raw bytes

1/*
2 * Custom code goes here.
3 * A template should always ship with an empty custom.js
4 */
5jQuery(".tab-products .tab_label").click(function() {
6    jQuery(".tab_label").removeClass('active');
7    jQuery(this).addClass('active');
8
9    var data_tab = jQuery(this).attr('data-tab');
10    jQuery('.tab-products .content .items').hide();
11    jQuery('.tab-products .content_' + data_tab).show();
12});
13
14jQuery(".language_name").click(function() {
15    jQuery(this).toggleClass("active");
16    jQuery(this).next().slideToggle();
17});
18
19// jQuery(".tab_title").click(function() {
20//     jQuery(this).toggleClass("active");
21//     jQuery(this).next('.content').slideToggle();
22// });
23
24jQuery('.slide_related').owlCarousel({
25    loop: true,
26    margin: 20,
27    nav: false,
28    responsive: {
29        0: {
30            items: 1
31        },
32        360: {
33            items: 2
34        },
35        768: {
36            items: 3
37        },
38        1025: {
39            items: 4
40        }
41    }
42});
43jQuery(document).ready(function() {
44    jQuery('.slide_text_seo').owlCarousel({
45        nav: false,
46        items: 1,
47        loop: false
48    });
49});
50
51jQuery('.img_details').owlCarousel({
52    loop: false,
53    items: 1,
54    dots: true,
55    nav: false
56});
57
58jQuery("#menuToggle").click(function() {
59    if (jQuery(window).width() < 768) {
60        jQuery("body").addClass("is_menu");
61    }
62});
63jQuery(".mobile_close").click(function() {
64    if (jQuery(window).width() < 768) {
65        jQuery("body").removeClass("is_menu");
66    }
67});
68jQuery(document).ready(function() {
69    jQuery(".icon_click").click(function() {
70        if (jQuery(window).width() < 768) {
71            jQuery(this).toggleClass("active");
72            jQuery(this).next().slideToggle();
73        }
74    });
75});
76
77if (jQuery(window).width() < 768) {
78    jQuery('.displayall').owlCarousel({
79        loop: true,
80        margin: 20,
81        nav: false,
82        responsive: {
83            0: {
84                items: 2
85            },
86            641: {
87                items: 3
88            }
89        }
90    });
91}
92
93jQuery(".label_size").click(function() {
94    jQuery(this).next().addClass('show');
95});
96jQuery(".close_popup").click(function() {
97    jQuery('.popup_sizeguide').removeClass('show');
98});
99
100
101
102jQuery(".taglie").click(function(){
103	jQuery(".container-taglie-popup").addClass('active-popup');	 
104});
105
106jQuery(".container-taglie-popup").click(function(){
107	jQuery(this).removeClass('active-popup');	 
108});
109
110
111
112jQuery(".category_filter .bth_label").click(function() {
113    if (jQuery(window).width() < 768) {
114        jQuery("body").addClass("is_filter");
115    }
116});
117jQuery(".content_filter .close_filter").click(function() {
118    if (jQuery(window).width() < 768) {
119        jQuery("body").removeClass("is_filter");
120    }
121});
122jQuery(" .submit-filter .submit-filter-btn").click(function() {
123    if (jQuery(window).width() < 768) {
124        jQuery("body").removeClass("is_filter");
125    }
126});
127jQuery(".content_filter .submit-filter1 .submit-filter-btn1").click(function() {
128    if (jQuery(window).width() < 768) {
129        jQuery("body").removeClass("is_filter");
130    }
131});
132
133
134
135
136
137
138jQuery(".close_welcome").click(function() {
139    if (jQuery(window).width() < 768) {
140        jQuery("body").addClass("no_header_nav");
141        createCookie('removeWelcome', 'y', 1);
142    }
143});
144
145jQuery('.label_size').click(function() {
146    jQuery('html, body').animate({
147        scrollTop: jQuery('.extra-tabs').offset().top
148    }, 700);
149    return false;
150});
151
152jQuery(".label_size").click(function() {
153    jQuery('.tab_item.guida .tab_title').addClass('active');
154    jQuery('.tab_item.guida .content').slideToggle();
155});
156
157jQuery(".header-top .search-widget form .home-icon-search").click(function() {
158    jQuery('.header-top .search-widget form input').slideToggle();
159});
160
161jQuery(".block-categories .title_block").click(function() {
162    jQuery(this).toggleClass("active");
163    jQuery(this).next().slideToggle();
164});
165
166jQuery('.slide-bimbi').owlCarousel({
167    loop: true,
168    margin: 20,
169    nav: false,
170    responsive: {
171        0: {
172            items: 1
173        },
174        360: {
175            items: 2
176        },
177        768: {
178            items: 3
179        },
180        1025: {
181            items: 4
182        }
183    }
184});
185/* var headerHeight = $('#header').offset().top;
186
187$(window).scroll(function() {
188
189    if ($(window).scrollTop() > headerHeight) {
190        $('body').addClass('header-fixed');
191    } else {
192        $('body').removeClass('header-fixed');
193    }
194}); */
195
196/* jQuery('.taglie').click(function() {
197    jQuery('html, body').animate({
198        scrollTop: jQuery(".extra-tabs .guida").offset().top + -160
199    }, 1000)
200}
200) */
201
202
203
204

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.