PageSourceSearch

https://ardziv.org/wp-content/themes/htchurch/js/functions.js?ver=7.0.6

js ardziv.org collected 2026-10-02 14:03:26 UTC 2,308 bytes, 96 lines download raw bytes

1jQuery(document).ready(function(){
2	
3	myDropdown();
4	jQuery("#publicationsSlider").owlCarousel({ 
5		items : 6,
6		lazyLoad : true,
7		navigation : true,
8		pagination: false,
9		itemsDesktop      : [1199,4],
10		itemsDesktopSmall     : [979,4],
11		itemsTablet       : [768,4],
12		itemsMobile       : [479,2], 
13		autoPlay: true
14	  }); 
15});
16
17function myDropdown()
18{
19	jQuery('.drop').each(function(){
20		
21		jQuery(this).click(function()
22		{
23			
24			jQuery('.opened').slideUp().addClass('closed');
25			
26			if(jQuery('.thedropdown',this).hasClass('closed'))
27			{	
28				jQuery('.thedropdown',this).removeClass('closed');
29				jQuery('.thedropdown',this).stop(false,false).slideDown();
30				jQuery('.thedropdown',this).addClass('opened');
31			}
32			else
33			{
34				jQuery('.thedropdown',this).removeClass('opened');
35				jQuery('.thedropdown',this).stop(false,false).slideUp();
36				jQuery('.thedropdown',this).addClass('closed');
37	
38	
39			}
40		});
41	});
42	
43}
44
45jQuery(window).load(function(){
46	
47	calculateHeigh();
48	positionCaption();
49});
50
51jQuery(window).resize(function() {
52	calculateHeigh();
53});
54
55function calculateHeigh()
56{
57	jQuery('.aPost').each(function(i){
58		var h   = jQuery(this).height();
59		var t_h = jQuery('.post-title',this).height();
60		var c_h = jQuery('.postCategory',this).height()+30;
61		
62		var pad = (h-t_h)/2;
63		
64		jQuery('.post-title',this).height(h);
65		jQuery('.post-title a.titleLink',this).css({'padding-top':(pad)+'px','padding-bottom':pad+'px'})
66		jQuery('.post-title a.titleLinkHome',this).css({'padding-top':(pad-c_h-30)+'px','padding-bottom':pad+'px'})
67	});
68		jQuery('.aPost .post-title ').css('display','block');
69
70}
71 
72function positionCaption()
73{
74	
75	jQuery('.item').each(function(i){
76		var slider_height = jQuery('.carousel-inner').height();
77		jQuery('.carousel-caption', this).addClass('capt'+i);  
78		var c_h = jQuery('.carousel-caption',this).height();
79		var top_p = (slider_height-c_h-150)/2;
80		
81		
82		var win_w = jQuery(window).width();
83		var left_p = (win_w-1366)/2;
84		if(left_p<0)
85		{
86			left_p=0;
87		}
88		jQuery('.carousel-caption', this).css({'top':top_p+'px','left': left_p});
89		
90		jQuery('.left').css({'top':top_p+'px','left': '15px'});
91		jQuery('.right').css({'top':top_p+'px', 'right': '15px'});
92
93		
94	});
95	
96}

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.