PageSourceSearch

https://www.latinoamerica.co.uk/wp-content/themes/latinoamerica/js/global.js

js latinoamerica.co.uk collected 2026-10-08 19:39:41 UTC 1,429 bytes, 60 lines download raw bytes

1// JavaScript Document
2
3jQuery(document).ready(function(){
4	jQuery(function () {
5		jQuery(window).scroll(function () {
6			
7			if (jQuery(this).scrollTop() > 50) {
8				jQuery("header").addClass("sticky_header");
9			} else {
10				jQuery("header").removeClass("sticky_header");
11			}
12		});
13	});
14});
15jQuery(function() {
16  	jQuery('a.scroll[href*=#]:not([href=#])').click(function()
17	{
18		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
19			var target = jQuery(this.hash);
20			target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']');
21			if (target.length) {
22				jQuery('html,body').animate({
23				  scrollTop: target.offset().top
24				}, 1000);
25				return false;
26			}
27		}
28  	});
29});
30jQuery(document).ready(function(){
31	jQuery("#back-top").hide();
32	jQuery(function () {
33		jQuery(window).scroll(function () {
34			if (jQuery(this).scrollTop() > 500) {
35				jQuery('#back-top').fadeIn();
36			} else {
37				jQuery('#back-top').fadeOut();
38			}
39		});
40		jQuery('#back-top a').click(function () {
41			jQuery('body,html').animate({
42				scrollTop: 0
43			}, 800);
44			return false;
45		});
46	});
47});
48
49 jQuery('.ftr_map').click(function () {
50    jQuery('.ftr_map iframe').css("pointer-events", "auto");
51});
52if ( jQuery(window).width() >1024) {     
53  jQuery(function(jQuery) {
54	//Initiat WOW JS
55	new WOW().init();
56});
57}
58else {
59  //Add your javascript for small screens here
60}

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.