PageSourceSearch

https://360mexico.mx/wp-content/themes/mexico/js/main.js?ver=1.0

js 360mexico.mx collected 2026-10-08 12:28:16 UTC 2,818 bytes, 120 lines download raw bytes

1jQuery(document).ready(function( $ ) {
2	var $menuSuperior = $('#menuSuperior');
3	var $menuLateral = $('.menu-lateral');
4	var $menuCierre = $('.menu-cierre');
5
6	$menuLateral.click(function () {
7		$menuSuperior.animate({
8			right: 0
9		}, "700");
10		$menuLateral.hide();
11		$menuCierre.show();
12	});
13	$menuCierre.click(function () {
14		$menuSuperior.animate({
15			right: '-100%'
16		}, "700");
17		$menuLateral.show();
18		$menuCierre.hide();
19	});	
20
21
22$('.contenido:first-child').show();
23$('.linkContenido').click(function() {
24	var indice = $('.linkContenido').index(this);
25	$('.contenido').hide();
26	$('.contenido:eq('+indice+')').show();
27	$('.linkContenido:eq('+indice+')').removeClass('brown');
28	$('.opcion').removeClass('opcionSeleccionada');
29	$('.opcion:eq('+indice+')').addClass('opcionSeleccionada');
30}); 
31	
32$('.opcion:last-child').click(function (e) {
33	
34	
35	if($('#pano').length)	{
36		var url = $('.imgGaleria:first-child').attr('href');
37		var desc = $('.imgGaleria:first-child').attr('alt');
38		$('#galeria').html('');	
39		var PSV = new PhotoSphereViewer({
40			panorama: url,
41			container: 'galeria',
42			caption: desc,
43			loading_img: "https://photo-sphere-viewer.js.org/assets/photosphere-logo.gif",
44			default_fov: 70,
45			anim_speed: '2dps',
46			default_lat: 0.3,
47			mousewheel: false
48		}); 
49	}
50	
51});	
52
53if ($(".imgGaleria:first-child")[0]){
54	var url = $('.imgGaleria:first-child').attr('href');
55		var desc = $('.imgGaleria:first-child').attr('alt');
56		$('#galeria').html('');	
57		var PSV = new PhotoSphereViewer({
58			panorama: url,
59			container: 'galeria',
60			caption: desc,
61			loading_img: "https://photo-sphere-viewer.js.org/assets/photosphere-logo.gif",
62			default_fov: 70,
63			anim_speed: '2dps',
64			default_lat: 0.3,
65			mousewheel: false
66		});
67		
68};		
69
70$('.imgGaleria').click(function (e) {
71
72	e.preventDefault();
73	var url = $(this).attr('href');
74	var desc = $(this).attr('alt');
75		
76	$('#galeria').html('');
77	var sphere = PhotoSphereViewer({
78        container: 'galeria',
79        panorama:url,
80        autoload: false,
81        caption: desc,
82		loading_img: "https://photo-sphere-viewer.js.org/assets/photosphere-logo.gif",
83		default_fov: 70,
84		anim_speed: '2dps',
85		default_lat: 0.3,
86		mousewheel: false
87    });
88});
89	
90
91
92
93
94/*
95var panos = [
96    {
97      url: 'Bryce-Canyon-National-Park-Mark-Doliner.jpg'
98    }, {
99      url: 'Bryce-Canyon-National-Park-Mark-Doliner.jpg'
100    }, {
101      url: 'Bryce-Canyon-National-Park-Mark-Doliner.jpg'
102    }, {
103      url: 'Bryce-Canyon-National-Park-Mark-Doliner.jpg'
104    }
105  ];
106
107  var PSV = new PhotoSphereViewer({
108    container: 'photosphere',
109    panorama: panos[0].url,
110    loading_img: 'assets/photosphere-logo.gif',
111    longitude_range: [-7 * Math.PI / 8, 7 * Math.PI / 8],
112    latitude_range: [-3 * Math.PI / 4, 3 * Math.PI / 4],
113    anim_speed: '2dps',
114    navbar:false
115  });
116
117*/
118	
119	
120});

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.