PageSourceSearch

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

js ftaport.com collected 2026-10-08 23:29:42 UTC 4,259 bytes, 163 lines download raw bytes

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

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.