PageSourceSearch

https://www.hah.hr/wp-content/themes/hah/js/theme.js?ver=5.8.17

js hah.hr collected 2026-10-02 04:14:23 UTC 3,950 bytes, 139 lines download raw bytes

1//<![CDATA[  
2jQuery(document).ready(function() { 
3       
4
5var $CaptionItem = jQuery('#featured');
6/*jQuery('.slide-caption').css('opacity','0');
7$CaptionItem.hover(function(){
8
9	jQuery(this).find('.slide-caption').stop(true, true).animate({opacity: 1},200);
10}, function(){
11	jQuery(this).find('.slide-caption').stop(true, true).animate({opacity: 0},200);
12
13});*/
14        	
15/*  Initialize SuperFish  */
16jQuery('ul.nav').superfish({ 
17	delay:       400,                            // one second delay on mouseout 
18	animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
19	speed:       100,                          // faster animation speed 
20	autoArrows:  true,                           // disable generation of arrow mark-up 
21	dropShadows: false                            // disable drop shadows 
22});
23
24
25/*  Initialize Shadowbox  */
26Shadowbox.init({
27    
28	overlayColor: "#FFFFFF",
29    overlayOpacity: 0.9,
30    autoplayMovies:     false,
31    viewportPadding: 30
32});
33
34
35var $home_widget = jQuery("#home-widgets .home-widgets-fourth .home-widget");  
36
37if (!($home_widget.length == 0)) {
38	$home_widget.each(function (index, domEle) {
39	// domEle == this
40	if ((index+1)%4 == 0) jQuery(domEle).addClass("last").after("<div class='clear'></div><div class='line-div'></div>");
41	});
42} 
43
44var $home_widget = jQuery("#home-portfolio ul li");  
45
46if (!($home_widget.length == 0)) {
47	$home_widget.each(function (index, domEle) {
48	// domEle == this
49	if ((index+1)%4 == 0) jQuery(domEle).addClass("last").after("<div class='clear'></div>");
50	});
51}
52
53var $home_widget = jQuery("#home-widgets .home-widgets-half .home-widget");  
54
55if (!($home_widget.length == 0)) {
56	$home_widget.each(function (index, domEle) {
57	// domEle == this
58	if ((index+1)%2 == 0) jQuery(domEle).addClass("last").after("<div class='clear'></div><div class='line-div'></div>");
59	});
60}    
61   
62
63var $footer_widget = jQuery("#footer-widgets div.footer-widget");  
64
65if (!($footer_widget.length == 0)) {
66	$footer_widget.each(function (index, domEle) {
67		// domEle == this
68		if ((index+1)%4 == 0) jQuery(domEle).addClass("last").after("<div class='clear'></div>");
69	});
70}
71		
72// Highlight on Hover
73 jQuery('.ufo-recent .recent-thumb, .index-thumb img, ul.portfolio-widget-items li, #home-portfolio li img').hover(function(){
74
75    	jQuery(this).stop(true, true).animate({opacity: 0.8},100);
76    }, function(){
77    	jQuery(this).stop(true, true).animate({opacity: 1},100);
78
79    });
80
81// Social Highlight on Hover
82 jQuery('#social a').hover(function(){
83
84    	jQuery(this).stop(true, true).animate({opacity: 1},100);
85    }, function(){
86    	jQuery(this).stop(true, true).animate({opacity: 0.3},100);
87
88    });
89	    
90    
91/*  Gallery  */
92
93var $SingleItem = jQuery('.thumb');
94jQuery('.zoom-icon').css('opacity','0');
95$SingleItem.hover(function(){
96	
97	jQuery(this).find('.zoom-icon').stop(true, true).animate({opacity: 1},200);
98}, function(){
99	jQuery(this).find('.zoom-icon').stop(true, true).animate({opacity: 0},200);
100	
101});
102
103
104var $SingleGalItem = jQuery('.gallery-image-wrap');
105jQuery('.zoom-icon, .link-icon').css('opacity','0');
106$SingleGalItem.hover(function(){
107	
108	jQuery(this).find('.zoom-icon, .link-icon').stop(true, true).animate({opacity: 1},100);
109}, function(){
110	jQuery(this).find('.zoom-icon, .link-icon').stop(true, true).animate({opacity: 0},100);
111	
112}); 
113
114jQuery(function(){
115
116if (!((jQuery(".galleries .two-column .portfolio").length) == 0)) {
117		jQuery(".galleries .two-column .portfolio").each(function (index, domEle) {
118			// domEle == this
119			if ((index+1)%2 == 0) jQuery(domEle).addClass("last").after("<div class='clear'></div>");
120		});
121	};
122});
123
124jQuery(function(){
125
126	if (!((jQuery(".galleries .three-column .portfolio").length) == 0)) {
127			jQuery(".galleries .three-column .portfolio").each(function (index, domEle) {
128				// domEle == this
129				if ((index+1)%3 == 0) jQuery(domEle).addClass("last").after("<div class='clear'></div>");
130			});
131		};
132	});
133      
134	
135});
136
137
138
139//]]>

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.