PageSourceSearch

https://www.airportsdata.net/js/acciones.js

js airportsdata.net collected 2026-10-04 11:06:43 UTC 3,569 bytes, 133 lines download raw bytes

1function equalHeight(group) {
2	var ww=$(window).width();
3	if(ww>750){
4		var tallest = 0;
5		group.each(function() {
6			var thisHeight = $(this).height();
7			if(thisHeight > tallest) {
8				tallest = thisHeight;
9			}
10		});
11		group.height(tallest+20);
12	}
13}
14
15$(document).ready(function() {
16	$('.smooth').click(function(event) {
17		event.preventDefault();
18		var target = $(this.hash);
19		target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
20		if (target.length) {
21			setTimeout((function() {
22				$('html, body').animate({
23					scrollTop: target.offset().top-200
24				}, 500, function() {
25					var $target = $(target);
26					$target.focus();
27					if ($target.is(":focus")) {
28						return false;
29					} else {
30						$target.attr('tabindex','-1');
31						$target.focus();
32					};
33				});
34			}), 500);
35		}
36
37	});
38	var scrolled = $(window).scrollTop();
39	if(scrolled>100){
40		$('.navbar').addClass('scrolled');
41		$('#subHeader').addClass('scrolled');
42		$('.scrollToTop').fadeIn();
43		$('.scrolldown').fadeOut();
44	}
45	$(window).scroll(function(){
46		if ($(this).scrollTop() > 100){
47			$('.navbar').addClass('scrolled');
48			$('#subHeader').addClass('scrolled');
49			$('.scrollToTop').fadeIn();
50			$('.scrolldown').fadeOut();
51		} else {
52			$('.navbar').removeClass('scrolled');
53			$('#subHeader').removeClass('scrolled');
54			$('.scrollToTop').fadeOut();
55			$('.scrolldown').fadeIn();
56		}
57	});
58	var ww=$(window).width();
59	if(ww<768){
60		$('.navbar .mainMenu li.menu-item-has-children>a').click(function(event){
61			event.preventDefault();
62			$('.sub-menu').hide();
63			$(this).parent().children('ul').show('slow');
64			return false;
65		});
66	}
67	//var hh=$('.navbar').height();
68	//$('body').css('padding-top',hh);
69	//BOTON SCROLL TOP
70	$('.scrollToTop').click(function(){
71		$('html, body').animate({scrollTop : 0},800);
72		return false;
73	});
74	var $window           = $(window),
75	win_height_padded = $window.height() * 1.1,
76	isTouch           = Modernizr.touch;
77	if (isTouch) { $('.revealOnScroll').addClass('animated'); }
78	$window.on('scroll', revealOnScroll);
79	function revealOnScroll() {
80		var scrolled = $window.scrollTop(),win_height_padded = $window.height() * 1.1;
81		// Showed...
82		$(".revealOnScroll:not(.animated)").each(function () {
83			var $this=$(this),offsetTop = $this.offset().top;
84			if (scrolled + win_height_padded > offsetTop) {
85				if ($this.data('timeout')) {
86					window.setTimeout(function(){
87						$this.addClass('animated ' + $this.data('animation'));
88					}, parseInt($this.data('timeout'),10));
89				} else {
90					$this.addClass('animated ' + $this.data('animation'));
91				}
92			}
93		});
94		// Hidden...
95		$(".revealOnScroll.animated").each(function (index) {
96			var $this     = $(this),offsetTop = $this.offset().top;
97			if (scrolled + win_height_padded < offsetTop) {
98				$(this).removeClass('animated fadeInUp flipInX lightSpeedIn')
99			}
100		});
101	}
102	revealOnScroll();
103	$('.scrollToTop').hide();
104});
105
106/*
107// EVENTOS PARA RECARGAR LA PAGINA AL CAMBIAR TAMAÑO FIREFOX
108$(window).on('resize', function(e){
109	window.resizeEvt;
110	$(window).resize(function(){
111		clearTimeout(window.resizeEvt);
112		window.resizeEvt = setTimeout(function(){
113			location.reload();
114		}, 25);
115	});
116});
117
118// EVENTOS PARA RECARGAR LA PAGINA AL CAMBIAR TAMAÑO CHROME Y EDGE
119$(window).bind('resize', function(e){
120	window.resizeEvt;
121	$(window).resize(function(){
122		clearTimeout(window.resizeEvt);
123		window.resizeEvt = setTimeout(function(){
124			location.reload();
125		}, 250);
126	});
127});
128
129// EVENTOS PARA RECARGAR LA PAGINA AL ROTAR
130$(window).on("orientationchange",function(){
131	location.reload();
132});
133*/

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.