PageSourceSearch

https://azoresrallye.com/wp-content/themes/sandbox_acorespro/js/rally.js

js azoresrallye.com collected 2026-10-02 13:28:10 UTC 1,768 bytes, 88 lines download raw bytes

1$(document).ready(function(){
2			function get_newer()
3		{
4			var current_ul_id = $('.active').attr('id');
5			console.log("current_ul: "+current_ul_id);
6			var newer = current_ul_id*1-1;
7			console.log("newer_ul: "+newer);
8
9			if($('#'+newer).length)
10			{
11				swap_news(current_ul_id,newer);
12			}
13			else
14			{
15				console.log("UL id: "+newer+" doesnt exist!");
16			}
17		}
18		
19		function get_older()
20		{
21			var current_ul_id = $('.active').attr('id');
22			console.log("current_ul: "+current_ul_id);
23			var older = current_ul_id*1+1;
24			console.log("older_ul: "+older);
25		
26			if($('#'+older).length)
27			{
28				swap_news(current_ul_id,older);
29			}
30			else
31			{
32				console.log("UL id: "+older+" doesnt exist!");
33			}
34		}
35		
36		function swap_news(current,next)
37		{
38			var count=0;
39			var lis_current = new Array();
40			var lis_next = new Array();
41			
42			$('#newer').off('click');
43			$('#older').off('click');
44			
45			$('.active li div.content-noticia').each(function(i)
46			{
47		
48				$(this).hide("slide",{direction: "right"},(130 * (i+2)));
49				
50			});
51			
52			$('.active li div.content-noticia').promise().done(function()
53			{
54			
55				$('#'+current).removeClass("active");	
56				$('#'+next).addClass("active");
57				$('.active li div.content-noticia').each(function(i)
58			{
59		
60				$(this).hide().show("slide",{direction: "right"},(150 * (i+2)));
61				
62			});
63				$('.active li div.content-noticia').promise().done(function()
64				{
65					$('#newer').bind('click',function()
66					{
67						get_newer();
68					});
69					
70					$('#older').bind('click',function()
71					{
72						get_older();
73					});
74				});
75			});	
76		}
77
78	    $('#newer').bind('click',function()
79			{
80				get_newer();
81			});
82			
83		$('#older').bind('click',function()
84		{
85				get_older();
86		});
87	}
88);var $ = jQuery.noConflict();

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.