PageSourceSearch

http://scotome.com/blog/wp-content/themes/1elision/js/default_dynamic.js?ver=1676023873

js scotome.com collected 2026-10-02 18:23:31 UTC 4,059 bytes, 161 lines download raw bytes

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

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.