PageSourceSearch

https://serramentimodena.it/templates/schuecogln/js/custom.js

js serramentimodena.it collected 2026-10-09 22:24:24 UTC 2,857 bytes, 135 lines download raw bytes

1jQuery(document).ready(function($) {
2 
3$('.basic_paroller').paroller();
4$('.bg_move_2').paroller();	
5	
6	
7$('.my-element').paroller();
8$('.jumbotron').paroller();
9$('.caption_slider').paroller();
10
11var position = $(window).scrollTop();
12var navbarHeight = $('header').outerHeight();
13var verse = 0;
14console.log(position);
15$(window).scroll(function(event){
16    var scroll = $(window).scrollTop();
17	if(scroll > position ){
18		
19		verse = 0;
20	} else {
21		verse = 1;
22	}
23	if(position > navbarHeight && verse == 0){
24		$('header').removeClass('nav-down').addClass('nav-up');
25		$('.menu_screen').removeClass('open_menu');
26		$('.nav-toggle').removeClass('opened');
27	} else if(verse == 1){
28		$('header').removeClass('nav-up').addClass('nav-down');
29	}
30	console.log(verse);
31	position = $(window).scrollTop();
32});
33	
34
35
36	
37$('.owl-carousel').owlCarousel({      
38	items : 1, 
39	loop:true,
40    nav:true,
41	dots: false,
42	singleItem:true,
43  	navText: ["<div class='prev_ap'><i class='fa fa-chevron-left'></i></div>","<div class='prev_ap'><i class='fa fa-chevron-right'></i></div>"],
44	smartSpeed: 1000
45    
46});
47 
48	
49  var toggle = document.querySelector('.nav-toggle');
50  
51  toggle.addEventListener('click', function(e) {
52    this.classList.toggle('opened');
53  });	
54	
55	
56  $('.owl-services').owlCarousel({
57	  items : 4, 
58    loop:true,
59    margin:0,
60	dots: false,
61    nav:true,
62	  navText: ["<div class='prev_ap'><i class='fa fa-chevron-left'></i></div>","<div class='prev_ap'><i class='fa fa-chevron-right'></i></div>"],
63    responsive:{
64		0:{
65            items:1
66        },
67        767:{
68            items:2
69        },
70        992:{
71            items:3
72        },
73        1281:{
74            items:4
75        }
76    }
77});	
78	
79$('.owl-projects').owlCarousel({      
80	items : 1, 
81	loop:true,
82    nav:true,
83	dots: false,
84	singleItem:true,
85  	navText: ["<div class='prev_ap'><i class='fa fa-chevron-left'></i></div>","<div class='prev_ap'><i class='fa fa-chevron-right'></i></div>"],
86	smartSpeed: 1000
87    
88});
89	
90$('.owl-chi').owlCarousel({      
91	items : 1, 
92	loop:true,
93    nav:true,
94	dots: false,
95	singleItem:true,
96  	navText: ["<div class='prev_ap'><i class='fa fa-chevron-left'></i></div>","<div class='prev_ap'><i class='fa fa-chevron-right'></i></div>"],
97	smartSpeed: 1000
98    
99});	
100	
101$(".boxes_text-col-sx").hover(
102  function () {
103    $(".boxes_bg-col-sx").addClass("display_hover");
104    $(".boxes_text-col-dx").addClass("display_opacity");
105  },
106  function () {
107    $(".boxes_bg-col-sx").removeClass("display_hover");
108    $(".boxes_text-col-dx").removeClass("display_opacity");
109  }
110);	
111
112$(".boxes_text-col-dx").hover(
113  function () {
114    $(".boxes_bg-col-dx").addClass("display_hover");
115  },
116  function () {
117    $(".boxes_bg-col-dx").removeClass("display_hover");
118  }
119);	
120		
121$( "#menu_button" ).click(function() {
122  $( ".menu_screen" ).toggleClass( "open_menu" );
123
124
125	
126	
127});
128
129
130
131	
132	
133});
134
135

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.