PageSourceSearch

https://abnnewswire.com/content/js/animations.js?ver=1

js abnnewswire.com collected 2026-10-08 06:42:20 UTC 4,142 bytes, 230 lines download raw bytes

1
2
3		jQuery(function($) {		
4
5	
6
7		$.fn.themeple_waypoints = function(options_passed)
8		{
9			if(! $('html').is('.css3transitions')) return;
10
11			var defaults = { offset: '90%' , triggerOnce: true},
12				options  = $.extend({}, defaults, options_passed);
13
14			return this.each(function()
15			{
16				var element = $(this);
17
18				setTimeout(function()
19				{
20					element.waypoint(function(direction)
21					{
22					 	$(this).addClass('start_animation').trigger('start_animation');
23
24					}, options );
25
26				},100)
27			});
28		}; 
29		
30		$('.animate_onoffset').themeple_waypoints();
31		
32
33
34		$.fn.great_gallery = function(options)
35		{
36			return this.each(function()
37			{
38				var container = $(this), elements = container.find('.item');
39
40
41				//trigger displaying of thumbnails
42				container.on('start_animation', function()
43				{
44					elements.each(function(i)
45					{
46						var element = $(this);
47						setTimeout(function(){ element.addClass('start_animation') }, (i * 150));
48					});
49				});
50			});
51				
52		};
53
54		$.fn.recent_portfolio = function(options)
55		{
56			return this.each(function()
57			{
58				var container = $(this), elements = container.find('img');
59
60
61				//trigger displaying of thumbnails
62				container.on('start_animation', function()
63				{
64					elements.each(function(i)
65					{
66						var element = $(this);
67						setTimeout(function(){ element.addClass('start_animation') }, (i * 100));
68					});
69				});
70			});
71				
72		};
73		$.fn.chart_skill = function(options)
74		{
75			
76			return this.each(function()
77			{
78				var container = $(this), elements = container.find('.chart');
79
80
81				//trigger displaying of thumbnails
82				container.on('start_animation', function()
83				{
84					elements.each(function(i)
85					{
86						var $chart = $(this);
87				
88		
89						var color = $chart.parent().find('.new_color').text();
90						$chart.css('color', color);
91						
92							$chart.easyPieChart({
93					        	lineWidth: 10, 
94					        	size: 144,
95					        	trackColor: "rgba(243,243,243,1)",
96					        	scaleColor: false,
97					        	barColor: function(){
98					        		return color;
99					        	},
100					        	animate:2000
101					    	});
102						
103						
104					});
105				});
106			});	
107
108
109					
110
111
112		
113				
114		};
115		
116		$.fn.services_large = function(options)
117		{
118			return this.each(function()
119			{
120				var container = $(this), elements = container.find('.circle');
121
122
123				//trigger displaying of thumbnails
124				container.on('start_animation', function()
125				{
126					elements.each(function(i)
127					{
128						var element = $(this);
129						setTimeout(function(){ element.addClass('start_animation') }, (i * 250));
130					});
131				});
132			});
133				
134		};
135
136
137		$.fn.images_blocks = function(options)
138		{
139			return this.each(function()
140			{
141				var container = $(this), elements = container.find('.media > .media_animation');
142
143
144				//trigger displaying of thumbnails
145				container.on('start_animation', function()
146				{
147					elements.each(function(i)
148					{
149						var element = $(this);
150						setTimeout(function(){ element.addClass('start_animation') }, (i * 250));
151					});
152				});
153			});
154				
155		};
156
157		$.fn.skills = function(options)
158		{
159			return this.each(function()
160			{
161				var container = $(this), 
162					
163					elements = container.find('.skill');
164
165
166				//trigger displaying of thumbnails
167				container.on('start_animation', function()
168				{
169					
170					elements.each(function(i)
171					{
172						var element = $(this),
173						percentage = $(this).data('percentage'),
174						element = element.find('.prog');
175
176						
177						setTimeout(function(){ element.css('width', percentage+'%'); element.addClass('start_animation') }, (i * 250));
178
179					});
180				});
181			});
182				
183		};
184
185
186
187		if($.fn.great_gallery)
188		{
189			$('.great_gallery').great_gallery();
190		}
191
192		if($.fn.recent_portfolio) 
193		{
194			$('.recent_portfolio').recent_portfolio();
195		}
196
197		if($.fn.services_large)
198		{
199			$('.services_large').parent().services_large();
200		}
201
202		if($.fn.images_blocks)
203		{
204			$('.row-dynamic-el').images_blocks();
205		}
206
207		if($.fn.skills)
208		{
209			$('.row-dynamic-el').skills();
210			$('.single_content').skills();
211		}
212			
213		if($.fn.chart_skill)
214		{
215			$('.row-dynamic-el').chart_skill();
216
217		}	
218				
219	
220
221			
222			
223		
224
225
226		
227	});
228
229
230

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.