PageSourceSearch

https://www.ploty.pl/asp/js/menu.js?20261002153151

js ploty.pl collected 2026-10-02 13:32:11 UTC 9,797 bytes, 295 lines download raw bytes

1jQuery(document).ready(function(){
2
3	jQuery('#slides').slides({
4		preload: true,
5		preloadImage: '//spi.prologit.pl/asp/grafika/loading.gif',
6	  play: 6000,
7		pause: 2000,
8		auto: false,
9		hoverPause: true,
10		effect: 'fade',
11		fadeSpeed: 200
12	});
13
14	jQuery("#na_gore").click(function(){
15		jQuery("html, body").animate({ scrollTop: 0 }, 600);
16		return false;
17	});
18
19	jQuery(".aktualnosci2_archiwum_tlo > .aktualnosci_archiwum").attr("href","?typ=13&menu=1&dzialy=1&akcja=agregator");
20	jQuery(".aktualnosci2_archiwum_tlo > .aktualnosci_archiwum").text(function(index, text) {
21		return text.replace("Zobacz wszystkie", "Zobacz więcej");
22	});
23
24
25	var pozycja_res_menu;
26	var wys_res_menu;
27	pozycja_res_menu = jQuery("#menu_gora_mobile").offset().top;
28	wys_res_menu = jQuery("#menu_gora_mobile").height();
29
30	jQuery(window).resize(function() {
31		pozycja_res_menu = jQuery("#menu_gora_mobile").offset().top;
32		wys_res_menu = jQuery("#menu_gora_mobile").height();
33	});
34
35	jQuery(document).scroll(function() {
36		var pozycjafoto = jQuery(window).scrollTop();
37		if (pozycjafoto > pozycja_res_menu) {
38			jQuery("#menu_gora_mobile").css({position: "fixed", top: "0px"});
39			jQuery(".pasek_menu").css({display: "table"});
40			jQuery(".res_menu").css({marginTop: pozycjafoto-pozycja_res_menu+wys_res_menu+"px"});
41		} else {
42			jQuery("#menu_gora_mobile").css({position: "relative"});
43			jQuery(".pasek_menu").css({display: "none"});
44			jQuery(".res_menu").css({marginTop: "0px"});
45		}
46	});
47
48	jQuery(".menu").click(function() {
49		jQuery(".res_menu").slideToggle(300);
50   });
51
52	var id, id_parent, tmp1, pozycja_lewa, pozycja_prawa
53	tmp1=1;
54	jQuery("ul.menu_gora_1 li").on("mouseenter click", function() {
55		tmp1=1;
56		if (jQuery(this).attr('id')!=''){
57			jQuery(id).stop(false,true).hide();
58		}
59		id = jQuery(this).attr('id');
60		id_parent = "#" + id;
61		id = "#" + id + "_2";
62		ilosc_obiektow = jQuery("ul.menu_gora_1 li").length-1;
63		ktory_obiekt = jQuery("ul.menu_gora_1 li").index(this);
64		//console.log(jQuery('#menu_gora').offset().left);
65		//console.log(parseInt(jQuery('#menu_gora').css("marginLeft")));
66		pozycja_lewa = parseFloat(jQuery('#menu_gora').css("marginLeft")) + jQuery(this).position().left;
67		pozycja_prawa = parseFloat(jQuery('#menu_gora').css("marginLeft")) + jQuery(this).position().left - jQuery(id).width() + jQuery(this).width();
68		if(ktory_obiekt == ilosc_obiektow){
69			jQuery(id).css("marginLeft", pozycja_prawa).stop(false,true).show();
70		} else {
71			jQuery(id).css("marginLeft", pozycja_lewa).stop(false,true).show();
72		}
73	});
74	jQuery("ul.menu_gora_1 li").on("mouseleave", function() {
75		jQuery(id).hover(function() {
76			if (jQuery(this).attr('id')!=id) {
77				tmp1=1;
78			}
79  		}, function(){
80	  		tmp1=0;
81  		});
82	  	tmp1=0;
83	});
84
85	zwin_interval = setInterval(function() {
86		if(tmp1==0){
87			jQuery(id).stop(false,true).slideUp('medium');
88		}
89	}, 300);
90
91	jQuery(".menu1 ul.menu_gora_2").hover(function(){
92		jQuery(id_parent).find("a, p").addClass("menu_hover");
93	}, function(){
94		jQuery(id_parent).find("a, p").removeClass("menu_hover");
95	});
96
97	jQuery("ul.menu_gora_2 li").click(function() {
98		var id
99		id = jQuery(this).attr('id');
100		id = "#" + id + "_3";
101		jQuery(id).slideToggle('medium').show();
102		jQuery(this).toggleClass('aktywna');
103	});
104
105
106/*Menu główne*/
107/*---------------------menu główne----------------------*/
108
109	var id, id_parent, tmp1, pozycja_lewa, pozycja_prawa
110	tmp1=1;
111	jQuery("ul.menu_glowne_1 li, ul.top_menu_glowne_1 li p, ul.top_menu_glowne_1 li a").on("mouseenter click", function() {
112		tmp1=1;
113		if (jQuery(this).attr('id')!=''){
114			jQuery(id).stop(false,true).slideUp('medium');
115		}
116		id = jQuery(this).attr('id');
117		id_parent = "#" + id;
118		id = "#" + id + "_2";
119		ilosc_obiektow = jQuery("ul.menu_glowne_1 li").length-1;
120		ktory_obiekt = jQuery("ul.menu_glowne_1 li").index(this);
121		pozycja_lewa = parseFloat(jQuery('#menu_gora').css("marginLeft")) + jQuery(this).position().left;
122		pozycja_prawa = parseFloat(jQuery('#menu_gora').css("marginLeft")) + jQuery(this).position().left - jQuery(id).width() + jQuery(this).width();
123		if(ktory_obiekt == ilosc_obiektow){
124			jQuery(id).css("marginLeft", pozycja_prawa).stop(false,true).slideDown('medium').show();
125		} else {
126			jQuery(id).css("marginLeft", pozycja_lewa).stop(false,true).slideDown('medium').show();
127		}
128	});
129	jQuery("ul.menu_glowne_1 li, ul.top_menu_glowne_1 li p, ul.top_menu_glowne_1 li a").on("mouseleave", function() {
130		jQuery(id).hover(function() {
131			if (jQuery(this).attr('id')!=id) {
132				tmp1=1;
133			}
134  		}, function(){
135	  		tmp1=0;
136  		});
137	  	tmp1=0;
138	});
139
140	zwin_interval = setInterval(function() {
141		if(tmp1==0){
142			jQuery(id).stop(false,true).slideUp('medium');
143		}
144	}, 300);
145
146	jQuery("ul.menu_glowne_2").hover(function(){
147		jQuery(id_parent).find("a, p").addClass("menu_hover");
148	}, function(){
149		jQuery(id_parent).find("a, p").removeClass("menu_hover");
150	});
151	jQuery("ul.top_menu_glowne_2").hover(function(){
152		jQuery(id_parent).find("a, p").addClass("top_menu_hover");
153	}, function(){
154		jQuery(id_parent).find("a, p").removeClass("top_menu_hover");
155	});
156
157	jQuery("ul.menu_glowne_2 li, ul.top_menu_glowne_2 li").click(function() {
158		var id
159		id = jQuery(this).attr('id');
160		id = "#" + id + "_3";
161		jQuery(id).slideToggle('medium').show();
162		jQuery(this).toggleClass('aktywna');
163	});
164
165/*--------------------------------------------------------------------*/
166
167	jQuery("ul.menu_lewe_1 li p, ul.menu_prawe_1 li p, ul.menu_lewe_1 li a, ul.menu_prawe_1 li a").click(function()	{
168		jQuery(this).parent().children("ul.menu_lewe_n").slideToggle('fast');
169		jQuery(this).parent().children("ul.menu_prawe_n").slideToggle('fast');
170	});
171	jQuery("ul.menu_prawe_1 li.aktywnemenu").children("ul.menu_prawe_n").slideDown('fast').show();
172	jQuery("ul.menu_prawe_1 li.aktywna").children("ul.menu_prawe_n").slideDown('fast').show();
173	jQuery("ul.menu_prawe_n li.aktywna").children("ul.menu_prawe_n").slideDown('fast').show();
174	jQuery("ul.menu_prawe_n li.aktywnemenu").children("ul.menu_prawe_n").slideDown('fast').show();
175
176
177	jQuery("ul.menu_prawe_zg_1 li p, ul.menu_prawe_zg_1 li a").click(function()	{
178		jQuery(this).parent().children("ul.menu_prawe_zg_n").slideToggle('fast');
179	});
180	jQuery("ul.menu_prawe_zg_1 li.aktywnemenu").children("ul.menu_prawe_zg_n").slideDown('fast').show();
181	jQuery("ul.menu_prawe_zg_1 li.aktywna").children("ul.menu_prawe_zg_n").slideDown('fast').show();
182	jQuery("ul.menu_prawe_zg_n li.aktywna").children("ul.menu_prawe_zg_n").slideDown('fast').show();
183	jQuery("ul.menu_prawe_zg_n li.aktywnemenu").children("ul.menu_prawe_zg_n").slideDown('fast').show();
184
185
186	/* pse aka drukuj, poleć znajomemu oraz pdf */
187	jQuery('#polec_znajomemu,.polec_znajomemu_zamknij').click(function() {
188		jQuery(".polec_znajomemu").slideToggle('fast').show();
189	});
190
191	 jQuery('.info_24_tlo').marquee({
192		speed: 10000,
193		gap: 0,
194		delayBeforeStart: 0,
195		direction: 'left',
196		duplicated: false,
197		pauseOnHover: true
198	});
199	jQuery('.info_24_zamknij').click(function(){
200		jQuery('.info_24_tlo, .info_24_zamknij, .info_24_tlo_maska, .info_24_pauza, .info_24_play').hide();
201	});
202	jQuery('.info_24_pauza').click(function(){
203		jQuery('.info_24_tlo').marquee('pause');
204		jQuery('.info_24_pauza').css("display", "none");
205		jQuery('.info_24_play').css("display", "block");
206	});
207	jQuery('.info_24_play').click(function(){
208		jQuery('.info_24_tlo').marquee('resume');
209		jQuery('.info_24_play').css("display", "none");
210		jQuery('.info_24_pauza').css("display", "block");
211	});
212	if (jQuery('.js-marquee').text().trim()=="") {
213		jQuery('.info_24_tlo, .info_24_tlo + .odstep_poziom, .info_24_zamknij, .info_24_tlo_maska, .info_24_pauza, .info_24_play').hide();
214	}
215
216	jQuery('#kalendarz_rotator').jcarousel({
217			scroll: 1,
218			rtl: 0,
219			vertical: 0,
220			// auto: 1,
221			wrap: 'both'
222    });
223
224	/*ukrywanie kalendarza gdy jest pusty*/
225
226//  if (jQuery("#kalendarz_rotator").text().trim()=="") {
227// 	jQuery(".kalendarz_poziomy").hide();
228// };
229
230
231	jQuery('#listafirm').jcarousel({
232			rtl: 0,
233			vertical: 0,
234			scroll: 1,
235			auto: 1,
236			wrap: 'both',
237			initCallback: listafirm_initCallback
238    });
239
240 	jQuery("#btn_szukaj_rozwin").click(function() {
241		jQuery(".szukaj_gora").slideToggle(0);
242   });
243
244	jQuery("#btn_szukaj_zwin").click(function() {
245		jQuery(".szukaj_gora").slideToggle(0);
246   });
247
248	jQuery("#btn_szukaj").click(function() {
249		jQuery("#szukaj").submit();
250   });
251	jQuery(".menu_gora_mini").click(function() {
252		jQuery(".res_menu").slideToggle(300);
253   });
254
255});
256
257function listafirm_initCallback(carousel) {
258	jQuery(".ikorator_uruchom").click(function(){
259	 carousel.startAuto(1);
260	 jQuery(this).css("display","none");
261	 jQuery(".ikorator_pauza").css("display","block");
262	});
263
264 jQuery(".ikorator_pauza").click(function(){
265	 carousel.stopAuto(1);
266	 jQuery(this).css("display","none");
267	 jQuery(".ikorator_uruchom").css("display","block");
268	});
269
270 jQuery(".jcarousel-skin-tango2 .jcarousel-prev").click(function(){
271	 if (carousel.startAuto() != 0){
272			 jQuery(".ikorator_uruchom").css("display","none");
273			 jQuery(".ikorator_pauza").css("display","block");
274		 }
275	 carousel.startAuto(1);
276	});
277
278 jQuery(".jcarousel-skin-tango2 .jcarousel-next").click(function(){
279	 if (carousel.startAuto() != 0){
280			 jQuery(".ikorator_uruchom").css("display","none");
281			 jQuery(".ikorator_pauza").css("display","block");
282		 }
283	 carousel.startAuto(1);
284	});
285	// Pause autoscrolling if the user moves with the cursor over the clip.
286	carousel.clip.hover(function() {
287		carousel.stopAuto();
288	}, function() {
289		carousel.startAuto();
290	});
291};
292
293
294
295var 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.