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