PageSourceSearch

https://corteidh.or.cr/js/index.js

js corteidh.or.cr collected 2026-10-01 09:12:06 UTC 699 bytes, 44 lines download raw bytes

1$(document).ready(function() {
2/*
3	$("a").on("click touchend", function(e) {
4		var el = $(this);
5		var link = el.attr("href");
6		if (link !== undefined) {
7			window.location = link;
8		}
9	});
10*/
11	var areas = "";
12	var data = "";
13	$.ajax({
14		type: 'POST',
15		url: 'get_map_data_inicio.cfm?lang='+$('#lang').val(),
16		data: data,
17		cache: false,
18		success: function(response) {
19
20			eval("var areas = {" + response + "}");
21
22			$(".mapcontainer").trigger('update', [{
23				mapOptions: {
24					areas: areas,
25					plots: {
26						"los_angeles": {
27							attrs: {
28								fill: "red"
29							}
30						}
31					}
32				}
33			}]);
34		},
35		error: function() {
36
37		}
38	});	
39
40
41
42});
43
44

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.