PageSourceSearch

https://www.gminabojanowo.pl/asp/js/menu.js?20260925083944

js gminabojanowo.pl collected 2026-09-25 06:40:09 UTC 7,828 bytes, 218 lines download raw bytes

1jQuery(document).ready(function(){
2
3	jQuery(".fb-page").attr({
4		"data-href":"https://www.facebook.com/gminabojanowo",
5		"data-width":"303",
6		"data-small-header":"false",
7		"data-adapt-container-width":"true",
8		"data-hide-cover":"false",
9		"data-show-facepile":"true",
10		"data-show-posts":"false"
11	});
12
13	var id, id2, tmp1, tmp2,lista, id5
14	tmp1=1;
15    jQuery("ul.menu_gora_1 li").hover(function() {
16			 	tmp1=1;
17	 				if (jQuery(this).attr('id')!=id2){
18						jQuery(id).stop(false,true).slideUp('medium');
19					}
20		 			id = jQuery(this).attr('id');
21					id5 = "#" + id;
22					id2=id;
23					id = "#" + id + "_2";
24					ilosc_obiektow = jQuery("ul.menu_gora_1 li").length-1;
25					ktory_obiekt = jQuery("ul.menu_gora_1 li").index(this);
26					tmp2 = jQuery(this).position().left;
27					tmp7 = jQuery(this).position().left - jQuery(id).width() + jQuery(this).width();
28					if(ilosc_obiektow==ktory_obiekt ){
29						jQuery(id).css("marginLeft", tmp7).stop(false,true).slideDown('slow').show();
30		 			} else {
31						jQuery(id).css("marginLeft", tmp2).stop(false,true).slideDown('slow').show();
32					}
33				}, function(){
34					jQuery(id).hover(function() {
35				 		if (jQuery(this).attr('id')!=id){
36							tmp1=1;
37						}
38					}, function(){
39							tmp1=0;
40					});
41							tmp1=0;
42				});
43	zwin_interval = setInterval(function() {
44			if(tmp1==0 ){
45				jQuery(id).stop(false,true).slideUp('medium');
46			}
47	   }, 300);
48
49   var id3, id4
50	jQuery("ul.menu_gora_2").hover(function(){
51		jQuery(id5).addClass("menu_hover");
52	}, function(){
53		jQuery(id5).removeClass("menu_hover");
54	});
55	jQuery("ul.menu_gora_2 li").hover(function(){
56		tmp10 = 0;
57		tmp6 = jQuery(this).position().top;
58		jQuery("ul.menu_gora_3 li").css("display", "none");
59  		jQuery(id3).stop(true,false).fadeOut('medium',function(){
60		  			jQuery(this).css("marginLeft",tmp2);
61		});
62		id3 = jQuery(this).attr('id');
63		id4 = "#" + id3;
64		id3 = "#" + id3 + "_3";
65		tmp4 = jQuery(this).width();
66		tmp5 = tmp2 + tmp4;
67		jQuery(id3).show();
68		jQuery("ul.menu_gora_3 li").show();
69		tmp10 = jQuery(id3).width();
70		tmp9 = tmp7 - tmp10;
71		jQuery(id3).hide();
72		jQuery("ul.menu_gora_3 li").hide();
73		if(ilosc_obiektow==ktory_obiekt ){
74			jQuery(id3).stop(false,true).css({"marginTop": tmp6, "marginLeft": tmp2}).animate({marginLeft: tmp9},"fast").show();
75	  		jQuery("ul.menu_gora_3 li").stop(false,true).slideDown('medium').show();
76	  	} else {
77			jQuery(id3).stop(false,true).css({"marginTop": tmp6, "marginLeft": tmp2}).animate({marginLeft: tmp5},"fast").show();
78			jQuery("ul.menu_gora_3 li").stop(false,true).slideDown('medium').show();
79		}
80		}, function(){
81	  		jQuery(id3).stop(true,false).fadeOut('medium',function(){
82		  	jQuery(this).css("marginLeft", tmp2);
83	  		jQuery("ul.menu_gora_3 li").css("display", "none");
84		});
85		jQuery("ul.menu_gora_3").hover(function(){
86			jQuery(id4).addClass("menu_hover_2");
87		}, function(){
88	  		jQuery(id4).removeClass("menu_hover_2");
89		});
90		jQuery(id3).hover(function() {
91		if(ilosc_obiektow==ktory_obiekt ){
92			jQuery(id5).addClass("menu_hover");
93			jQuery(id3).stop(true,false);
94			jQuery(id3).css("marginLeft",tmp9).show();
95			tmp1=1;
96		} else {
97			jQuery(id5).addClass("menu_hover");
98			jQuery(id3).stop(true,false);
99			jQuery(id3).css("marginLeft",tmp5).show();
100			tmp1=1;
101		}
102		}, function(){
103			jQuery(id5).removeClass("menu_hover");
104			jQuery(id3).stop(true,false).fadeOut('medium',function(){
105		  	jQuery(this).css("marginLeft", tmp2);
106			tmp1=0;
107		});
108		});
109	});
110
111    jQuery("ul.menu_lewe_1 li a,ul.menu_prawe_1 li a, ul.menu_lewe_1_c li a,ul.menu_prawe_1_c li a").click(function() {
112        jQuery(this).parent().find("ul.menu_lewe_2, ul.menu_lewe_2_c").slideToggle('slow');
113		  jQuery(this).parent().find("ul.menu_lewe_2_aktywna, ul.menu_lewe_2_aktywna_c").slideToggle('slow');
114		  jQuery(this).parent().find("ul.menu_prawe_2, ul.menu_prawe_2_c").slideToggle('slow');
115		  jQuery(this).parent().find("ul.menu_prawe_2_aktywna, ul.menu_prawe_2_aktywna_c").slideToggle('slow');
116    });
117	 jQuery("ul.menu_lewe_2 li a,ul.menu_lewe_2_aktywna li a,ul.menu_prawe_2 li a,ul.menu_prawe_2_aktywna li a, ul.menu_lewe_2_c li a,ul.menu_lewe_2_aktywna_c li a,ul.menu_prawe_2_c li a,ul.menu_prawe_2_aktywna_c li a").click(function() {
118        jQuery(this).parent().find("ul.menu_lewe_3, ul.menu_lewe_3_c").slideToggle('slow').show();
119		  jQuery(this).parent().find("ul.menu_lewe_3_aktywna, ul.menu_lewe_3_aktywna_c").slideToggle('slow').show();
120		  jQuery(this).parent().find("ul.menu_prawe_3, ul.menu_prawe_3_c").slideToggle('slow').show();
121		  jQuery(this).parent().find("ul.menu_prawe_3_aktywna, ul.menu_prawe_3_aktywna_c").slideToggle('slow').show();
122    });
123
124	/* Ikorator */
125
126	jQuery('#listafirm').jcarousel({
127		rtl: 0,
128		vertical: 0,
129		auto: 1,
130		scroll: 1,
131		wrap: 'circular',
132		animation: 1500,
133		initCallback: listafirm_initCallback
134   });
135
136	 jQuery('.info_24_tlo').marquee({
137		speed: 20000,
138		gap: 0,
139		delayBeforeStart: 0,
140		direction: 'left',
141		duplicated: false,
142		pauseOnHover: true
143	});
144	jQuery('.info_24_zamknij').click(function(){
145		jQuery('.info_24_tlo, .info_24_zamknij, .info_24_tlo_maska, .info_24_pauza, .info_24_play').hide();
146	});
147	jQuery('.info_24_pauza').click(function(){
148		jQuery('.info_24_tlo').marquee('pause');
149		jQuery('.info_24_pauza').css("display", "none");
150		jQuery('.info_24_play').css("display", "block");
151	});
152	jQuery('.info_24_play').click(function(){
153		jQuery('.info_24_tlo').marquee('resume');
154		jQuery('.info_24_play').css("display", "none");
155		jQuery('.info_24_pauza').css("display", "block");
156	});
157	if (jQuery('.js-marquee').text().trim()=="") {
158		jQuery('.info_24_tlo, .info_24_tlo + .odstep_poziom, .info_24_zamknij, .info_24_tlo_maska, .info_24_pauza, .info_24_play').hide();
159	};
160
161
162
163	 	jQuery(".menu-mobile-button").click(function(){
164		jQuery(this).toggleClass('menu-mobile-button-pokaz');
165		jQuery(this).children().toggleClass('hamburger-open');
166		jQuery(".menu-mobilne-tekst").toggleClass("menu-mobilne-tekst-pokaz");
167	});
168	jQuery('.menu-mobilne-1-poziom > li span').click(function(){
169		jQuery(this).parent().children(".menu-mobilne-rozwijka-zawartosc").slideToggle();
170	});
171
172});
173
174function listafirm_initCallback(carousel) {
175
176	jQuery(".ikorator_uruchom").click(function(){
177	 carousel.startAuto(1);
178	 jQuery(this).css("display","none");
179	 jQuery(".ikorator_pauza").css("display","block");
180	});
181
182 jQuery(".ikorator_pauza").click(function(){
183	 carousel.stopAuto(1);
184	 jQuery(this).css("display","none");
185	 jQuery(".ikorator_uruchom").css("display","block");
186	});
187
188 jQuery(".jcarousel-skin-tango2 .jcarousel-prev").click(function(){
189	 if (carousel.startAuto() != 0){
190			 jQuery(".ikorator_uruchom").css("display","none");
191			 jQuery(".ikorator_pauza").css("display","block");
192		 }
193	 carousel.startAuto(1);
194	});
195
196 jQuery(".jcarousel-skin-tango2 .jcarousel-next").click(function(){
197	 if (carousel.startAuto() != 0){
198			 jQuery(".ikorator_uruchom").css("display","none");
199			 jQuery(".ikorator_pauza").css("display","block");
200		 }
201	 carousel.startAuto(1);
202	});
203	// Pause autoscrolling if the user moves with the cursor over the clip.
204	carousel.clip.hover(function() {
205		carousel.stopAuto();
206	}, function() {
207		carousel.startAuto();
208	});
209	// jQuery('.jcarousel-prev').replaceWith('<button class="jcarousel-prev jcarousel-prev-horizontal"></button>');
210	// jQuery('.jcarousel-next').replaceWith('<button class="jcarousel-next jcarousel-next-horizontal"></button');
211};
212
213var zwieksz=0;
214
215function Mapa()
216{
217	NoweOkienko=window.open('mapa/mapa.html','','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=990,height=700,left=0,top=0');
218}

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.