PageSourceSearch

https://interkulturo.si/wp-content/themes/nevada/javascripts/app.js?ver=1.2.3

js interkulturo.si collected 2026-10-06 04:52:10 UTC 5,456 bytes, 209 lines download raw bytes

1(function($){	
2	
3	$(document).ready(function(){
4		
5	/* Superfish
6	================================================== */
7	$(function(){ // run after page loads
8		$('#navigation ul.menu')
9		.find('li.current_page_item,li.current_page_parent,li.current_page_ancestor,li.current-cat,li.current-cat-parent,li.current-menu-item')
10			.addClass('active')
11			.end()
12			.superfish({autoArrows	: true});
13	});
14	
15	
16	/* FitVid
17	================================================== */
18	$(".lambda-video").fitVids();
19	
20	
21	/* Last Child
22	================================================== */	
23	$('ul.archive li:last-child').addClass('last');
24	$('.widget-container ul li:last-child').addClass('last');
25	$('.widget-container p:last-child').addClass('last');
26	$('.faq .list:last-child').addClass('last');
27	$('#footer li:last-child').addClass('last');
28
29	
30	/* Hover effect for icons and images
31	================================================== */
32	$('.social-icons a, .author-links a, .member-contact a, .comments_avatar a, .size-medium, .size-large, .size-thumbnail, .size-full, .post-image img, .gallery-item img').each(function() {
33		
34		$(this).hover(
35			function() {
36				$(this).stop().animate({ opacity: 0.5 }, 400);
37			},
38			function() {
39				$(this).stop().animate({ opacity: 1 }, 600);
40		})
41		
42    });
43	
44	
45	$('.lambda_widget_flickr a').live({
46        mouseenter:
47           function() {
48			$(this).stop().animate({ opacity: 0.5 }, 400);
49           },
50        mouseleave:
51           function() {
52			$(this).stop().animate({ opacity: 1 }, 600);
53           }
54       }
55    );
56
57	
58	/* image hover
59	================================================== */
60	$(".imagepost").stop().hover(function(){						
61														
62		$(this).find('.hover-overlay').stop().fadeIn(250);
63								  
64	}, function () {
65							
66		$(this).find('.hover-overlay').stop().fadeOut(250);						
67								
68	});	
69	
70	
71	// Style Tags
72	$(function(){ // run after page loads
73		$('p.tags a')
74		.wrap('<span class="st_tag" />');
75	});
76	
77	
78	//Youtube WMode
79	$('iframe').each(function() {
80		var url = $(this).attr("src");
81		
82		if (url!=undefined) {
83		var youtube = url.search("youtube");
84		
85		splitable = url.split("?");
86				
87			if(youtube > 0 && splitable[1]) {
88				$(this).attr("src",url+"&wmode=transparent")
89			}
90			
91			if(youtube > 0 && !splitable[1]) {
92				$(this).attr("src",url+"?wmode=transparent")
93			}
94		
95		}
96		
97	});
98	
99	
100	// Mobile Menu
101	$(function(){ // run after page loads
102		//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
103		$(".mm-trigger").click(function(){
104			$(this).toggleClass("active").next().slideToggle(500);
105			return false; //Prevent the browser jump to the link anchor
106		});
107	});
108	
109	$(window).smartresize(function(){
110		
111		if (($(window).width() > 959)) {
112			$("#mobile-menu").hide(); 
113		};
114	
115	});
116	
117	
118	// Toggle Slides
119	$(function(){ // run after page loads
120		$(".toggle_container").hide(); 
121		//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
122		$("p.trigger, h3.trigger").click(function(){
123			$(this).toggleClass("active").next().slideToggle(500);
124			return false; //Prevent the browser jump to the link anchor
125		});
126	});
127	
128	
129	// valid XHTML method of target_blank
130	$(function(){ // run after page loads
131		$('a[rel*=external]').click( function() {
132			window.open(this.href);
133			return false;
134		});
135	});
136
137
138	/* Tabs Activiation
139	================================================== */
140	var tabs = $('ul.tabs');
141	tabs.each(function(i) {
142		
143		//Get all tabs
144		var tab = $(this).find('> li > a');
145		$(this).find("li:first").addClass("active").fadeIn('fast'); 
146		$(this).find("li:first a").addClass("active").fadeIn('fast'); 
147		$(this).next("ul.tabs-content").find("li:first").addClass("active").fadeIn('fast');
148		
149			
150		var contentLocation = window.location.href.slice(window.location.href.indexOf('?') + 1).split('#');
151		var contentLocator = "#" + contentLocation[1] + "Tab"
152		
153		if(contentLocation[1]) {
154			tab.each(function(i) {		
155				
156				$("ul.tabs li").removeClass('active');
157																							
158				if($(this).attr('href') + "Tab" == contentLocator)
159				$(this).parent().addClass('active');				
160						
161				//Show Tab Content & add active class
162				$(contentLocator).show().addClass('active').siblings().hide().removeClass('active');
163											
164			});
165		}
166		
167		tab.click(function(e) {
168			
169			//Get Location of tab's content
170			var contentLocation = $(this).attr('href') + "Tab";
171			
172			//Let go if not a hashed one
173			if(contentLocation.charAt(0)=="#") {
174			
175				e.preventDefault();
176			
177				//Make Tab Active
178				tab.removeClass('active');
179				$(this).addClass('active');
180				
181				//Show Tab Content & add active class
182				$(contentLocation).show().addClass('active').siblings().hide().removeClass('active');
183				
184			} 
185		});
186	}); 
187	
188	/* scroll to top
189	================================================== */	
190	$(window).scroll(function() {
191		if($(this).scrollTop() != 0) {
192			$('#toTop').fadeIn();	
193		} else {
194			$('#toTop').fadeOut();
195		}
196	});
197	 
198	$('#toTop').click(function() {
199		$('body,html').animate({scrollTop:0},1000);
200	});	
201	
202	/* IE Fallback
203	================================================== */
204	$('#clients li:last-child').css('margin-right', '0px');
205	
206
207});
208
209})(jQuery);

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.