PageSourceSearch

https://enaccess.org/wp-content/themes/bridge/js/default_dynamic_callback.php?ver=6.9.9

js enaccess.org collected 2026-09-25 19:50:19 UTC 3,609 bytes, 147 lines download raw bytes

1
2var header_height = 100;
3var min_header_height_scroll = 57;
4var min_header_height_fixed_hidden = 50;
5var min_header_height_sticky = 60;
6var scroll_amount_for_sticky = 85;
7var content_line_height = 60;
8var header_bottom_border_weight = 1;
9var scroll_amount_for_fixed_hiding = 200;
10var paspartu_width_init = 0.02;
11var add_for_admin_bar = jQuery('body').hasClass('admin-bar') ? 32 : 0;
12
13	header_height = 95;
14	min_header_height_scroll = 85;
15	min_header_height_sticky = 100;
16	scroll_amount_for_sticky = 200;
17    min_header_height_fixed_hidden = 80;
18
19var logo_height = 130; // proya logo height
20var logo_width = 280; // proya logo width
21		logo_height = 454;
22		logo_width = 937;
23
24	
25	header_top_height = 0;
26var loading_text  = 'Loading new posts...';
27var finished_text = 'No more posts';
28
29var piechartcolor;
30piechartcolor	= "#1abc9c";
31	piechartcolor = "#1b75b9";
32
33var geocoder;
34var map;
35
36function initialize() {
37	"use strict";
38  // Create an array of styles.
39  var mapStyles = [
40    {
41      stylers: [
42				{hue: "#324156" },
43				{saturation: "-60"},
44				{lightness: "-20"},
45				{gamma: 1.51}
46			]
47    }
48  ];
49  var qodeMapType = new google.maps.StyledMapType(mapStyles,
50    {name: "Qode Map"});
51
52	geocoder = new google.maps.Geocoder();
53	var latlng = new google.maps.LatLng(-34.397, 150.644);
54	var myOptions = {
55		zoom: 12,
56				scrollwheel: false,
57				center: latlng,
58		zoomControl: true,
59		zoomControlOptions: {
60			style: google.maps.ZoomControlStyle.SMALL,
61			position: google.maps.ControlPosition.RIGHT_CENTER
62		},
63		scaleControl: false,
64			scaleControlOptions: {
65			position: google.maps.ControlPosition.LEFT_CENTER
66		},
67		streetViewControl: false,
68			streetViewControlOptions: {
69			position: google.maps.ControlPosition.LEFT_CENTER
70		},
71		panControl: false,
72		panControlOptions: {
73			position: google.maps.ControlPosition.LEFT_CENTER
74		},
75		mapTypeControl: false,
76		mapTypeControlOptions: {
77			mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
78			style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
79			position: google.maps.ControlPosition.LEFT_CENTER
80		},
81				mapTypeId: 'qode_style'
82			};
83	map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
84	  map.mapTypes.set('qode_style', qodeMapType);
85	}
86
87function codeAddress(data) {
88	"use strict";
89	
90	if (data === '')
91		return;
92
93	var contentString = '<div id="content">'+
94	'<div id="siteNotice">'+
95	'</div>'+
96	'<div id="bodyContent">'+
97	'<p>'+data+'</p>'+
98	'</div>'+
99	'</div>';
100	var infowindow = new google.maps.InfoWindow({
101		content: contentString
102	});
103	geocoder.geocode( { 'address': data}, function(results, status) {
104		if (status === google.maps.GeocoderStatus.OK) {
105			map.setCenter(results[0].geometry.location);
106			var marker = new google.maps.Marker({
107				map: map, 
108				position: results[0].geometry.location,
109								icon:  'https://enaccess.org/wp-content/themes/bridge/img/pin.png',
110								title: data['store_title']
111			});
112			google.maps.event.addListener(marker, 'click', function() {
113				infowindow.open(map,marker);
114			});
115			//infowindow.open(map,marker);
116		}
117	});
118}
119
120var $j = jQuery.noConflict();
121
122$j(document).ready(function() {
123	"use strict";
124
125	showContactMap();
126});
127
128function showContactMap() {
129	"use strict";
130
131	if($j("#map_canvas").length > 0){
132		initialize();
133		codeAddress("");
134		codeAddress("");
135		codeAddress("");
136		codeAddress("");
137		codeAddress("");
138	}
139}
140
141var no_ajax_pages = [];
142var qode_root = 'https://enaccess.org/';
143var theme_root = 'https://enaccess.org/wp-content/themes/bridge/';
144var header_style_admin = "";
145if(typeof no_ajax_obj !== 'undefined') {
146	no_ajax_pages = no_ajax_obj.no_ajax_pages;
147}

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.