PageSourceSearch

https://www.przysucha.pl/asp/js/menu.js?20261002201806

js przysucha.pl collected 2026-10-02 18:18:35 UTC 7,438 bytes, 237 lines download raw bytes

1
2jQuery(document).ready(function(){
3
4	jQuery('#slides').slides({
5		preload: true,
6		preloadImage: '//spi.prologit.pl/asp/grafika/loading.gif',
7	  play: 6000,
8		pause: 2000,
9		auto: false,
10		hoverPause: true,
11		effect: 'fade',
12		fadeSpeed: 200
13	});
14
15	/* Pogoda */
16	jQuery("#inpl-weather-main").attr({
17		"data-icT":"2",
18		"data-cId":"28099",
19		"data-clBg":"fbfbfb",
20		"data-clTxt":"000000",
21		"data-clLink":"0077b8",
22		"data-txtDesc":"0",
23		"data-fTemp":"1",
24		"data-crPs":"0",
25		"data-crWind":"0",
26		"data-fr":"1",
27		"data-wdh":"300",
28		"data-hIf":"400",
29		"data-d":"http://widgets.interia.pl"
30	});
31	(function(d, t, i) {
32	if (d.getElementById(i)) return;
33		var f = d.getElementsByTagName(t)[0], js = d.createElement(t);
34		js.id = i; js.src = "//w.iplsc.com/widget/weather.jssc";
35		f.parentNode.appendChild(js);
36	}(document, "script", "widget-js"));
37
38
39	jQuery(".menu").click(function() {
40		jQuery(".res_menu").slideToggle(300);
41   });
42
43		jQuery("#polec_znajomemu,.polec_znajomemu_zamknij").click(function() {
44		jQuery(".polec_znajomemu").slideToggle('fast').show();
45	});
46
47/*----------menu górne ------------------------------------------------*/
48	var id, id_parent, tmp1, pozycja_lewa, pozycja_prawa
49	tmp1=1;
50	jQuery("ul.menu_gora_1 li").on("mouseenter click", function() {
51		tmp1=1;
52		if (jQuery(this).attr('id')!=''){
53			jQuery(id).stop(false,true).slideUp('medium');
54
55		}
56		id = jQuery(this).attr('id');
57		id_parent = "#" + id;
58		id = "#" + id + "_2";
59		ilosc_obiektow = jQuery("ul.menu_gora_1 li").length-1;
60		ktory_obiekt = jQuery("ul.menu_gora_1 li").index(this);
61		pozycja_lewa = parseFloat(jQuery('#menu_gora').css("marginLeft")) + jQuery(this).position().left;
62		pozycja_prawa = parseFloat(jQuery('#menu_gora').css("marginLeft")) + jQuery(this).position().left - jQuery(id).width() + jQuery(this).width();
63		if(ktory_obiekt == ilosc_obiektow){
64			jQuery(id).css("marginLeft", pozycja_prawa).stop(false,true).slideDown('medium').show();
65		} else {
66			jQuery(id).css("marginLeft", pozycja_lewa).stop(false,true).slideDown('medium').show();
67		}
68	});
69	jQuery("ul.menu_gora_1 li").on("mouseleave", function() {
70		jQuery(id).hover(function() {
71			if (jQuery(this).attr('id')!=id) {
72				tmp1=1;
73			}
74  		}, function(){
75	  		tmp1=0;
76  		});
77	  	tmp1=0;
78	});
79
80	zwin_interval = setInterval(function() {
81		if(tmp1==0){
82			jQuery(id).stop(false,true).slideUp('medium');
83		}
84	}, 300);
85
86	jQuery("ul.menu_gora_2").hover(function(){
87		jQuery(id_parent).addClass("menu_hover");
88	}, function(){
89		jQuery(id_parent).removeClass("menu_hover");
90	});
91
92	jQuery("ul.menu_gora_2 li").on("mouseenter click", function() {
93		var id
94		id = jQuery(this).attr('id');
95		id = "#" + id + "_3";
96		jQuery(id).slideToggle('medium').show();
97		jQuery(this).toggleClass('aktywna');
98	});
99
100
101
102/*--------------------------------------------------------------------*/
103
104	jQuery("ul.menu_lewe_1 li.mmenu a").click(function()	{
105		jQuery(this).parent().children("ul.menu_lewe_n").slideToggle('fast');
106	});
107
108	jQuery("ul.menu_lewe9_1 li.mmenu a").click(function()	{
109		jQuery(this).parent().children("ul.menu_lewe9_n").slideToggle('fast');
110	});
111
112	jQuery("ul.menu_prawe_1 li p, ul.menu_prawe_1 li a").click(function()	{
113		jQuery(this).parent().children("ul.menu_prawe_n").slideToggle('fast');
114	});
115
116	jQuery("ul.menu_lewe_1 li.aktywnemenu").children("ul.menu_lewe_n").slideDown('fast').show();
117 	jQuery("ul.menu_lewe_1 li.aktywna").children("ul.menu_lewe_n").slideDown('fast').show();
118	jQuery("ul.menu_lewe_n li.aktywna").children("ul.menu_lewe_n").slideDown('fast').show();
119	jQuery("ul.menu_lewe_n li.aktywnemenu").children("ul.menu_lewe_n").slideDown('fast').show();
120
121	/* Menu prawe bok ;) */
122
123	jQuery("ul.menu_lewe_wysuwane_1 li.mikona").hover(function() {
124	  	jQuery(this).stop(false,true).animate({marginLeft : '160px'},'fast');
125	}, function() {
126		jQuery(this).stop(false,true).animate({marginLeft : '0px'},'fast')
127	});
128
129	jQuery('.info_24_tlo').marquee({
130		speed: 30000,
131		gap: 0,
132		delayBeforeStart: 0,
133		direction: 'left',
134		duplicated: false,
135		pauseOnHover: true
136	});
137	jQuery('.info_24_zamknij').click(function(){
138		jQuery('.info_24_tlo, .info_24_zamknij, .info_24_tlo_maska, .info_24_pauza, .info_24_play').hide();
139	});
140	jQuery('.info_24_pauza').click(function(){
141		jQuery('.info_24_tlo').marquee('pause');
142		jQuery('.info_24_pauza').css("display", "none");
143		jQuery('.info_24_play').css("display", "block");
144	});
145	jQuery('.info_24_play').click(function(){
146		jQuery('.info_24_tlo').marquee('resume');
147		jQuery('.info_24_play').css("display", "none");
148		jQuery('.info_24_pauza').css("display", "block");
149	});
150	if (jQuery('.js-marquee').text().trim()=="") {
151		jQuery('.info_24_tlo, .info_24_tlo + .odstep_poziom, .info_24_zamknij, .info_24_tlo_maska, .info_24_pauza, .info_24_play').hide();
152	}
153
154
155
156	jQuery("#powiat1").hover(function() {
157//			jQuery("#powiat_mapa").attr("src","grafika/"+jqschemat+"mapa_powiatu_1.png");
158			jQuery("#powiat_mapa").attr("src","grafika/map_odrzywol.png");
159   }, function(){
160//			jQuery("#powiat_mapa").attr("src", "grafika/"+jqschemat+"mapa_powiatu.png");
161			jQuery("#powiat_mapa").attr("src", "grafika/map_powiat.png");
162	});
163	jQuery("#powiat2").hover(function() {
164			jQuery("#powiat_mapa").attr("src","grafika/map_rusinow.png");
165   }, function(){
166			jQuery("#powiat_mapa").attr("src", "grafika/map_powiat.png");
167	});
168	jQuery("#powiat3").hover(function() {
169			jQuery("#powiat_mapa").attr("src","grafika/map_gielniow.png");
170   }, function(){
171			jQuery("#powiat_mapa").attr("src", "grafika/map_powiat.png");
172	});
173	jQuery("#powiat4").hover(function() {
174			jQuery("#powiat_mapa").attr("src","grafika/map_przysucha.png");
175   }, function(){
176			jQuery("#powiat_mapa").attr("src", "grafika/map_powiat.png");
177	});
178	jQuery("#powiat5").hover(function() {
179			jQuery("#powiat_mapa").attr("src","grafika/map_klwow.png");
180   }, function(){
181			jQuery("#powiat_mapa").attr("src", "grafika/map_powiat.png");
182	});
183	jQuery("#powiat6").hover(function() {
184			jQuery("#powiat_mapa").attr("src","grafika/map_potworow.png");
185   }, function(){
186			jQuery("#powiat_mapa").attr("src", "grafika/map_powiat.png");
187	});
188		jQuery("#powiat7").hover(function() {
189			jQuery("#powiat_mapa").attr("src","grafika/map_wieniawa.png");
190   }, function(){
191			jQuery("#powiat_mapa").attr("src", "grafika/map_powiat.png");
192	});
193		jQuery("#powiat8").hover(function() {
194			jQuery("#powiat_mapa").attr("src","grafika/map_borkowice.png");
195   }, function(){
196			jQuery("#powiat_mapa").attr("src", "grafika/map_powiat.png");
197	});
198
199
200
201
202	jQuery('#listafirm').jcarousel({
203			rtl: 0,
204			vertical: 0,
205			scroll: 1,
206			//auto: 4,
207			wrap: 'both'
208
209    });
210
211	jQuery("#btn_szukaj_rozwin").click(function() {
212		jQuery(".szukaj_gora").slideToggle(0);
213   });
214
215	jQuery("#btn_szukaj_zwin").click(function() {
216		jQuery(".szukaj_gora").slideToggle(0);
217   });
218
219	jQuery("#btn_szukaj").click(function() {
220		jQuery("#szukaj").submit();
221   });
222	jQuery(".menu_gora_mini").click(function() {
223		jQuery(".res_menu").slideToggle(300);
224   });
225
226});
227
228function listafirm_initCallback(carousel) {
229	// Pause autoscrolling if the user moves with the cursor over the clip.
230	carousel.clip.hover(function() {
231		carousel.stopAuto();
232	}, function() {
233		carousel.startAuto();
234	});
235};
236
237var zwieksz=0;

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.