PageSourceSearch

https://www.philocite.eu/basewp/wp-content/themes/simplicity/js/default_dynamic.php?ver=6.9.9

js philocite.eu collected 2026-10-06 01:33:07 UTC 3,242 bytes, 133 lines download raw bytes

1
2function ajaxSubmitCommentForm(){
3	"use strict";
4
5	var options = { 
6		success: function(){
7			$j("#commentform textarea").val("");
8			$j("#commentform .success p").text("Commentaire envoyé");
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
21var geocoder;
22var map;
23
24function initialize() {
25	"use strict";
26  // Create an array of styles.
27  var mapStyles = [
28    {
29      stylers: [
30			  { hue: "#324156" },
31			  { saturation: -60 },
32			  { lightness: -20 },
33			  { gamma: 1.51 }
34			]
35    }
36  ];
37  var qodeMapType = new google.maps.StyledMapType(mapStyles,
38    {name: "Qode Map"});
39
40	geocoder = new google.maps.Geocoder();
41	var latlng = new google.maps.LatLng(-34.397, 150.644);
42	var myOptions = {
43		zoom: 16,
44				center: latlng,
45		zoomControl: true,
46		zoomControlOptions: {
47			style: google.maps.ZoomControlStyle.SMALL,
48			position: google.maps.ControlPosition.RIGHT_CENTER
49		},
50		scaleControl: false,
51			scaleControlOptions: {
52			position: google.maps.ControlPosition.LEFT_CENTER
53		},
54		streetViewControl: false,
55			streetViewControlOptions: {
56			position: google.maps.ControlPosition.LEFT_CENTER
57		},
58		panControl: false,
59		panControlOptions: {
60			position: google.maps.ControlPosition.LEFT_CENTER
61		},
62		mapTypeControl: false,
63		mapTypeControlOptions: {
64			mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
65			style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
66			position: google.maps.ControlPosition.LEFT_CENTER
67		},
68				mapTypeId: google.maps.MapTypeId.ROADMAP
69			};
70	map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
71	}
72
73function codeAddress(data) {
74	"use strict";
75	
76	if (data == '')
77		return;
78
79	var contentString = '<div id="content">'+
80	'<div id="siteNotice">'+
81	'</div>'+
82	'<div id="bodyContent">'+
83	'<p>'+data+'</p>'+
84	'</div>'+
85	'</div>';
86	var infowindow = new google.maps.InfoWindow({
87		content: contentString
88	});
89	geocoder.geocode( { 'address': data}, function(results, status) {
90		if (status === google.maps.GeocoderStatus.OK) {
91			map.setCenter(results[0].geometry.location);
92			var marker = new google.maps.Marker({
93				map: map, 
94				position: results[0].geometry.location,
95								icon:  '/basewp/wp-content/uploads/2014/02/map-pin.png',
96								title: data['store_title']
97			});
98			google.maps.event.addListener(marker, 'click', function() {
99				infowindow.open(map,marker);
100			});
101			//infowindow.open(map,marker);
102		}
103	});
104}
105
106var $j = jQuery.noConflict();
107
108$j(document).ready(function() {
109	"use strict";
110
111	showContactMap();
112});
113
114function showContactMap() {
115	"use strict";
116
117	if($j("#map_canvas").length > 0){
118		initialize();
119		codeAddress('');
120		codeAddress('');
121		codeAddress('');
122		codeAddress('');
123		codeAddress('rue Pierreuse, 21 4000 Liège');
124	}
125}
126
127var no_ajax_pages = [];
128var root = 'https://www.philocite.eu/';
129var parallax_speed = 50;
130
131
132		no_ajax_pages.push('https://www.philocite.eu/actualites/');
133		no_ajax_pages.push('');

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.