PageSourceSearch

https://www.lubraniec.pl/asp/js/menu.js?20261002224500

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