PageSourceSearch

https://platformagov.pl/themes/skin_01/js/multisite.js

js platformagov.pl collected 2026-10-09 22:51:15 UTC 8,527 bytes, 315 lines download raw bytes

1function set_labels() {
2	jQuery.each(jQuery(".zaj-wrapper > .zajawka"), function(i, el) {       
3		setTimeout(function(){			
4			var tag = jQuery('.tag', el);
5            tag.each(function() { 
6                var color = jQuery(this).attr('data-color');	
7                jQuery(this).css({color: color});            
8            });
9		}, 1);
10	});			
11}
12
13/**
14 * Funkcja ktora ustawia etykiete na pozycjach menu glownego.
15 **/
16function set_menu_labels() {		
17	jQuery.each(jQuery(".mainMenu .block"), function(i, el) {       
18		
19		setTimeout(function(){			
20			var color = jQuery(el).attr('data-color');	
21			jQuery(el).css({borderBottomColor: color});
22		}, 1);
23	});			
24}
25
26// ---------------------------------------------
27jQuery(window).on("load", function () {
28	set_labels();	
29	set_menu_labels();
30
31	setZajawkiHeight();
32	setZajawkiHeight2();
33	
34	setTimeout(function(){
35		setZajawkiHeight();		
36		setZajawkiHeight2();	
37
38	},1200);
39	
40	setTimeout(function(){
41		jQuery('.concept-carousel ul').css('visibility','visible');
42	},300);
43	
44});	
45
46	
47
48
49jQuery(".newsbox-container .pager-button").click(function(){	
50	newsboxrespo();
51});
52
53jQuery(".nav-arrows > span").click(function(){	
54	newsboxrespo();
55});
56
57
58
59jQuery(window).on("load", function () {
60  jQuery('.naglowek_homepage .arrow-left').hover(
61    function() {
62      // Animacja po najechaniu myszką
63      jQuery(this).animate({
64        'background-position-x': '-100px',
65     
66      }, 200); // czas trwania animacji w milisekundach
67	  
68	   jQuery(this).animate({
69        'background-position-x': '100px',
70     
71      }, 0); // czas trwania animacji w milisekundach
72	  
73	  jQuery(this).animate({
74        'background-position-x': '9px',
75     
76      }, 200); // czas trwania animacji w milisekundach
77    },
78    function() {
79      // Cofanie animacji po opuszczeniu myszki
80      jQuery(this).animate({
81        'background-position-x': '9px',
82  
83      }, 200);
84    }
85  );
86  
87  jQuery('.naglowek_homepage .arrow-right').hover(
88    function() {
89      // Animacja po najechaniu myszką
90      jQuery(this).animate({
91        'background-position-x': '100px',
92     
93      }, 200); // czas trwania animacji w milisekundach
94	  
95	   jQuery(this).animate({
96        'background-position-x': '-100px',
97     
98      }, 0); // czas trwania animacji w milisekundach
99	  
100	  jQuery(this).animate({
101        'background-position-x': '9px',
102     
103      }, 200); // czas trwania animacji w milisekundach
104    },
105    function() {
106      // Cofanie animacji po opuszczeniu myszki
107      jQuery(this).animate({
108        'background-position-x': '9px',
109  
110      }, 200);
111    }
112  );
113  
114});	
115
116
117/*
118jQuery(window).on("load", function () {
119  jQuery('button.slick-prev').hover(
120    function() {
121      // Animacja po najechaniu myszką
122      jQuery(this).animate({
123        'background-position-x': '-100px',
124     
125      }, 200); // czas trwania animacji w milisekundach
126	  
127	   jQuery(this).animate({
128        'background-position-x': '100px',
129     
130      }, 0); // czas trwania animacji w milisekundach
131	  
132	  jQuery(this).animate({
133        'background-position-x': '9px',
134     
135      }, 200); // czas trwania animacji w milisekundach
136    },
137    function() {
138      // Cofanie animacji po opuszczeniu myszki
139      jQuery(this).animate({
140        'background-position-x': '9px',
141  
142      }, 200);
143    }
144  );
145  
146  jQuery('button.slick-next').hover(
147    function() {
148      // Animacja po najechaniu myszką
149      jQuery(this).animate({
150        'background-position-x': '100px',
151     
152      }, 200); // czas trwania animacji w milisekundach
153	  
154	   jQuery(this).animate({
155        'background-position-x': '-100px',
156     
157      }, 0); // czas trwania animacji w milisekundach
158	  
159	  jQuery(this).animate({
160        'background-position-x': '9px',
161     
162      }, 200); // czas trwania animacji w milisekundach
163    },
164    function() {
165      // Cofanie animacji po opuszczeniu myszki
166      jQuery(this).animate({
167        'background-position-x': '9px',
168  
169      }, 200);
170    }
171  );
172  
173});	
174
175*/
176
177jQuery(document).ready(function() {
178    jQuery(".miejsce-banerowe.nasze_doswiadczenie .stats-container > *").addClass("reveal");
179    jQuery(".module-portal.action-index section.strona.component article").addClass("reveal");
180    jQuery("#pricing-table-content > div").addClass("reveal");
181    jQuery("#concept-pricing-table-wrapper .sticky-header").addClass("reveal");
182    jQuery("article > .akcje_top").addClass("reveal");
183    jQuery(".section.pakietybox").addClass("reveal");
184    jQuery("article > header").addClass("reveal");
185    jQuery("article > .tresc .container > *").addClass("reveal");
186    jQuery(".miejsce-banerowe.video_na_stronie_glownej .bip-section-wrapper > *").addClass("reveal");
187    jQuery(".miejsce-banerowe.video_na_stronie_glownej .concept-section-wrapper > *").addClass("reveal");
188    jQuery(".miejsce-banerowe.banery_z_ptaszkiem_2").addClass("opacity1");
189    jQuery(".module-portal.action-index section.strona.component").addClass("opacity1");
190    jQuery(".miejsce-banerowe.\\31 000_projektow").addClass("reveal");
191    jQuery(".miejsce-banerowe.banery_z_ptaszkiem_2").addClass("reveal");
192    jQuery(".miejsce-banerowe.platforma_gov_pl").addClass("reveal");
193    jQuery(".miejsce-banerowe.zaufalo_nam_ponad_1000_samorzadow").addClass("reveal");
194   // jQuery("#PAN_HEAD > div").addClass("reveal");
195    jQuery("#PAN_HEAD").addClass("reveal");
196    jQuery("#PAN_FOOT").addClass("reveal");
197    jQuery(".module-portal.action-index .component").addClass("reveal");
198    jQuery(".miejsce-banerowe.banery_z_ptaszkiem_2 li").addClass("reveal");
199    jQuery("section.strona.component").addClass("reveal");
200    jQuery(".miejsce-banerowe.platforma_gov_cms_belka").addClass("reveal");
201    jQuery(".miejsce-banerowe.kompleksowe_rozwiazanie_dla_jst").addClass("reveal");
202    jQuery(".section.component.baner_slider.projekty.klienci").addClass("reveal");
203    jQuery(".miejsce-banerowe.belka_klienci").addClass("reveal");
204    jQuery(".miejsce-banerowe.herby > div").addClass("reveal");
205});
206
207
208jQuery(window).on("load", function () {
209	
210/*------------------------------------------------------------------------------
211    Animacja: Menu boczne 
212 -----------------------------------------------------------------------------*/
213    //Animacje poziomu pierwszego
214    jQuery('.portal-menu .level-1').each(function(){
215        jQuery(this).find('.fg').css({
216            'height': jQuery(this).height()
217        });
218        
219        jQuery(this).find('.bg').stop().animate({
220            width : jQuery(this).children('a.level1a').innerWidth(),
221            height : jQuery(this).height()
222        }, 300);
223    });
224
225    jQuery('.portal-menu .level-1 a.level1a')
226    .mouseenter(function(){            
227        jQuery(this).stop().animate({
228            paddingLeft: 40
229        }, 300);
230            
231        jQuery(this).prev('.fg').stop().animate({
232            width : jQuery(this).innerWidth() + 20
233        }, 300);
234    })
235    .mouseleave(function(){
236        jQuery(this).stop().animate({
237            paddingLeft: 20
238        }, 300);
239            
240        jQuery(this).prev('.fg').stop().animate({
241            width : 0
242        }, 300);
243    });
244        
245    //Animacje poziomu drugiego        
246    jQuery('.portal-menu .level-2 > a')
247    .mouseenter(function(){            
248        jQuery(this).stop().animate({
249            paddingLeft: 30
250        }, 300);
251
252    })
253    .mouseleave(function(){
254        jQuery(this).stop().animate({
255            paddingLeft: 20
256        }, 300);
257
258    });
259	
260	
261	
262	/* ładowanie sie przy scrollu */
263	
264	const elements = document.querySelectorAll(".reveal");
265
266	const observer = new IntersectionObserver((entries) => {
267	  entries.forEach(entry => {
268		if (entry.isIntersecting) {
269		  entry.target.classList.add("active");
270		}
271	  });
272	});
273
274	elements.forEach(el => observer.observe(el));
275	
276	/* end ładowanie sie przy scrollu */
277
278	/*
279    //Animacje poziomu trzeciego        
280    jQuery('.portal-menu .level-3 a')
281    .mouseenter(function(){            
282        jQuery(this).find('a').stop().animate({
283            paddingLeft: 30
284        }, 300);
285
286    })
287    .mouseleave(function(){
288        jQuery(this).find('a').stop().animate({
289            paddingLeft: 20
290        }, 300);
291
292    });
293
294    //Animacje poziomu czwartego        
295    jQuery('.portal-menu .level-4')
296    .mouseenter(function(){            
297        jQuery(this).find('a').stop().animate({
298            paddingLeft: 30
299        }, 230);
300
301    })
302    .mouseleave(function(){
303        $(this).find('a').stop().animate({
304            paddingLeft: 20
305        }, 300);
306
307    }); */
308	
309  
310});	
311
312
313
314
315

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.