PageSourceSearch

https://www.rountreetryon.com/lib/g/2.0/scripts/artlogic_modules/g…=73890ad&g=02af20a366d1467f6fcb69d8c4484907

js rountreetryon.com collected 2026-10-02 13:03:08 UTC 2,815 bytes, 71 lines download raw bytes

1import fancyboxPlugin from '../plugins/fancybox-2.1.3.js';
2import google_maps from './google_maps.js';
3
4var google_map_popup = {
5
6  init: function() {
7
8      $('#footer .website_map_popup')
9          .addClass('website_map_popup')
10          .click(function() {
11              
12              // For accessibility - tracks which element to refocus on
13              try {
14                  h.accessibility.global_variables.element_to_refocus_to = $(this);
15              } catch(error) {
16                  console.error(error);
17              }
18              
19              var dataLatLng = $(this).attr("data-latlng");
20              var dataZoom = $(this).attr("data-zoom");
21              var dataUrl = $(this).attr('href');
22              var dataTitle = $(this).attr("data-title");
23              
24              $.fancybox(
25                  {
26                      type: 'html',
27                      content: '<div id="map_basic_popup" class="google-map" data-latlng="' + dataLatLng + '" data-url="' + dataUrl + '" data-title="' + dataTitle + '" data-zoom="' + dataZoom + '" style=""></div>',
28                      autoSize: false,
29                      width: '90%',
30                      height: '90%',
31                      arrows: false,
32                      padding: 0,
33                      prevEffect: 'fade',
34                      nextEffect: 'fade',
35                      closeEffect: 'fade',
36                      openEffect: 'fade',
37                      prevSpeed: 750,
38                      nextSpeed: 750,
39                      closeSpeed: 300,
40                      openSpeed: 750,
41                      beforeShow: function () {
42                          window.galleries.google_maps.init();
43                      },
44                      afterLoad: function () {
45                          $(".fancybox-overlay").addClass("no_max_height fancybox-overlay-html");
46                      },
47                      afterShow: function() {
48                          h.accessibility.on_popup_opening('.fancybox-opened .fancybox-skin', '.fancybox-wrap .fancybox-close', '.fancybox-wrap .fancybox-close');
49                          $('.fancybox-skin #map_basic').attr({role: "dialog", 'aria-modal'
49: true});
50                          // Make the close link element act like a button
51                          $('.fancybox-skin a.fancybox-close').attr("role", "button");
52                          h.accessibility.role_button();
53                      },
54                      afterClose: function () {
55                          h.accessibility.on_popup_closing();
56                      }
57
58                  }
59              );
60
61              return false;
62          })
63      ;
64
65  }
66
67}
68
69window.galleries = window.galleries || {};
70window.galleries.google_map_popup = google_map_popup;
71export default google_map_popup;

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.