PageSourceSearch

https://www.augustcap.com/wp-content/themes/august-capital/js/fadein.js?ver=1790308135

js augustcap.com collected 2026-09-25 04:05:57 UTC 3,236 bytes, 145 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	/* Homepage fade functions */
4	$.fadein_home_items = function(){
5	 	if( $('body').hasClass('home') ) {
6	 		var revealClass = 'reveal';
7
8			// $('.home-fade').each(function(index) {
9		 //    	$(this).delay(200*index).animate({'opacity':1},300);
10			// });
11
12			setTimeout(function() {
13				$('.home-title').addClass(revealClass);
14			}, 1500);
15
16			setTimeout(function() {
17				$('.home-strapline').addClass(revealClass);
18			}, 1500);
19
20			setTimeout(function() {
21				$('.home-fade').addClass(revealClass);
22
23				// $('.home-fade').each(function(index) {
24				// 	var $this = $(this);
25				// 	setTimeout(function() {
26				// 		$this.addClass(revealClass);
27				// 	}, 100*index);
28				// });
29			}, 2000);
30
31			setTimeout(function() {
32				$('.home-cta-row__explore').addClass(revealClass);
33			}, 2500);
34		}
35 	}
36 	
37 	//$(window).ready(fadein_home_items); // fire the above function once the page has finished loading
38
39
40	
41	// fade in the left thin bar e the page has finished loading
42 	var fade_in_left_thin = function(){
43	 	
44		 $('div#left-thin').animate({ "opacity": "1" },300);	
45	 	
46 	}
47 	$(window).ready(fade_in_left_thin);
48	
49	
50	
51	
52	
53	// make items on the portfolio page fade in once the page has loaded
54	
55	/*
56	var fadein_port_items = function(){
57	 	
58		$('.port-fade').each(function(index) {
59	    	$(this).delay(200*index).animate({'opacity':1},300);
60	    	
61		});
62 	}
63 	$(window).ready(fadein_port_items); 
64 	*/
65 	
66 	
67 	
68 	
69 	
70 	// fade in the portfolio nav once page has loaded
71 	if($('#pfilter').length){
72	 	var fade_in_port_filter = function(){
73		 	
74		 	$('div#pfilter').animate({ "opacity": "1" },300);
75	 	}
76	 	$(window).ready(fade_in_port_filter);
77 	}
78 	
79 	
80 	
81	// fade in the team members on page load
82	var fadein_team_members = function(){
83	  	$('.team-fade').each(function(index) {
84	    	$(this).delay(200*index).animate({'opacity':1},300);
85		});
86 	}
87
88	$(document).ready(function () {
89		$('body').imagesLoaded( function() {
90			fadein_team_members();
91		});
92	});
93
94 	
95 	
96 	
97 	// fade the filter bar on on initial page load to hide the repositioning jump
98 	/*
99 	var fadein_portfilter = function(){
100	 	
101		$('li.team-main-li').each(function(index) {
102	    	$(this).delay(300*index).animate({'opacity':1},200);
103	    	
104		});
105 	}
106 	
107 	$(window).ready(fadein_portfilter); // fire the above function once the page has finished loading
108 	*/
109 	
110	// fade in the blog single items
111	var fadein_blog_single_items = function(){
112	 	
113		$('.blog-single-fade').each(function(index) {
114	    	$(this).delay(200*index).animate({'opacity':1},300);
115	    	
116		});
117 	}
118 	
119 	$(window).ready(fadein_blog_single_items); // fire the above function once the page has finished loading 	
120 	
121 	
122 	
123	// fade in the items of a single members page on load
124	var fadein_team_items = function(){
125	 	
126		$('.s-team-fade').each(function(index) {
127	    	$(this).delay(200*index).animate({'opacity':1},300);
128	    	
129		});
130 	}
131 	
132 	$(window).ready(fadein_team_items); // fire the above function once the page has finished loading
133 	
134 	
135 	
136 	
137 	// fade in the footer once the page has finished loading
138 	var fade_in_footer_wrap = function(){
139	 	
140		 $('div#footer-wrap').animate({ "opacity": "1" },300);	
141	 	
142 	}
143 	$(window).ready(fade_in_footer_wrap);
144	
145});

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.