PageSourceSearch

https://www.eibdirect.com/wp-content/themes/bridge/js/default_dynamic.js?ver=1789658654

js eibdirect.com collected 2026-09-24 13:23:53 UTC 3,907 bytes, 149 lines download raw bytes

1		
2		var header_height = 100;
3		var min_header_height_scroll = 57;
4		var min_header_height_fixed_hidden = 50;
5		var min_header_height_sticky = 60;
6		var scroll_amount_for_sticky = 85;
7		var content_line_height = 60;
8		var header_bottom_border_weight = 1;
9		var scroll_amount_for_fixed_hiding = 200;
10		var paspartu_width_init = 0.02;
11        var add_for_admin_bar = jQuery('body').hasClass('admin-bar') ? 32 : 0;
12
13						header_height = 108;
14									min_header_height_scroll = 271;
15									min_header_height_sticky = 108;
16									scroll_amount_for_sticky = 108;
17													min_header_height_fixed_hidden = 271;
18					
19		var logo_height = 130; // proya logo height
20		var logo_width = 280; // proya logo width
21								logo_height = 154;
22						logo_width = 760;
23
24											header_top_height = 0;
25					var loading_text;
26				loading_text = 'Loading new posts...';
27				var finished_text;
28		finished_text = 'No more posts';
29		
30			var piechartcolor;
31			piechartcolor	= "#1abc9c";
32							piechartcolor = "#536170";
33			
34			var geocoder;
35			var map;
36
37			function initialize() {
38			"use strict";
39			// Create an array of styles.
40						var mapStyles = [
41			{
42			stylers: [
43			{hue: "#324156" },
44			{saturation: "-60"},
45			{lightness: "-20"},
46			{gamma: 1.51}
47			]
48			}
49			];
50			var qodeMapType = new google.maps.StyledMapType(mapStyles,
51			{name: "Qode Map"});
52
53			geocoder = new google.maps.Geocoder();
54			var latlng = new google.maps.LatLng(-34.397, 150.644);
55			var myOptions = {
56						zoom: 12,
57							scrollwheel: false,
58						center: latlng,
59			zoomControl: true,
60			zoomControlOptions: {
61			style: google.maps.ZoomControlStyle.SMALL,
62			position: google.maps.ControlPosition.RIGHT_CENTER
63			},
64			scaleControl: false,
65			scaleControlOptions: {
66			position: google.maps.ControlPosition.LEFT_CENTER
67			},
68			streetViewControl: false,
69			streetViewControlOptions: {
70			position: google.maps.ControlPosition.LEFT_CENTER
71			},
72			panControl: false,
73			panControlOptions: {
74			position: google.maps.ControlPosition.LEFT_CENTER
75			},
76			mapTypeControl: false,
77			mapTypeControlOptions: {
78			mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
79			style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
80			position: google.maps.ControlPosition.LEFT_CENTER
81			},
82										mapTypeId: google.maps.MapTypeId.ROADMAP
83						};
84			map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
85						}
86
87			function 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:  'http://demo.qodeinteractive.com/bridge51/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
120			var $j = jQuery.noConflict();
121
122			$j(document).ready(function() {
123			"use strict";
124
125			showContactMap();
126			});
127			
128		function showContactMap() {
129		"use strict";
130
131		if($j("#map_canvas").length > 0){
132		initialize();
133		codeAddress("");
134		codeAddress("");
135		codeAddress("");
136		codeAddress("");
137		codeAddress("Bristol, UK");
138		}
139		}
140
141		var no_ajax_pages = [];
142		var qode_root = 'https://www.eibdirect.com/';
143		var theme_root = 'https://www.eibdirect.com/wp-content/themes/bridge/';
144					var header_style_admin = "";
145				if(typeof no_ajax_obj !== 'undefined') {
146		no_ajax_pages = no_ajax_obj.no_ajax_pages;
147		}
148
149	

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.