Website Update Gemini - 1st run.

This commit is contained in:
chriz committed 2026-10-19 15:54:08 +02:00
1 parent eb28b95cd4
commit 911b8864ca
31 files changed
+3076 -809

No files matched your search

+31 -31
View File
@@ -1,35 +1,35 @@
function initialize() {
var geocoder = new google.maps.Geocoder();
geocoder.geocode( { 'address': 'Thorner Straße 1,12623 Berlin'}, function(results, status) {
if(status == google.maps.GeocoderStatus.OK) {
var myOptions = {
zoom: 15,
center: results[0].geometry.location,
mapTypeId: google.maps.MapTypeId.ROADMAP,
mapTypeControl: false,
navigationControl: true,
navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL}
};
var map = new google.maps.Map(document.getElementById("googlemap"), myOptions);
var marker = new google.maps.Marker({
position: results[0].geometry.location,
map: map
});
} else {
alert("Geocode was not successful for the following reason: " + status);
}
});
}
initialize();
/**
* Contact and Map Helpers
* Dialysezentrum Berlin-Mahlsdorf
*/
function sending() {
var text = "%6D%61%69%6C%74%6F:%6B%6F%6E%74%61%6B%74@%64%69%61%6C%79%73%65%2D%62%65%72%6C%69%6E%2E%6E%65%74";
location.href = decodeURI(text);
// Obfuscated mailto link to prevent bot harvesting
var parts = ['kontakt', 'dialyse-berlin.net'];
window.location.href = 'mailto:' + parts[0] + '@' + parts[1];
return true;
}
function showMapLocation(loc) {
var $frame = $('#mapFrame');
var $addrText = $('#mapAddressText');
var $extLink = $('#mapExternalLink');
var $btnMahlsdorf = $('#btnMapMahlsdorf');
var $btnSatellit = $('#btnMapSatellit');
if (loc === 'satellit') {
$frame.attr('src', 'https://maps.google.com/maps?q=Blumberger+Damm+130,+12685+Berlin&t=&z=15&ie=UTF8&iwloc=&output=embed');
$addrText.text('Blumberger Damm 130 (Eingang Pritzhagener Weg 21), 12685 Berlin');
$extLink.attr('href', 'https://www.google.com/maps/place/Dialysezentrum+Berlin-Mahlsdorf+LC/@52.542799,13.5694855,17z/');
$btnMahlsdorf.removeClass('btn-primary').addClass('btn-outline-primary');
$btnSatellit.removeClass('btn-outline-primary').addClass('btn-primary');
} else {
$frame.attr('src', 'https://maps.google.com/maps?q=Thorner+Stra%C3%9Fe+1,+12623+Berlin&t=&z=15&ie=UTF8&iwloc=&output=embed');
$addrText.text('Thorner Straße 1, 12623 Berlin');
$extLink.attr('href', 'https://www.google.de/maps/place/Dialysezentrum+Berlin-Mahlsdorf/@52.5078935,13.6126659,16z/');
$btnMahlsdorf.removeClass('btn-outline-primary').addClass('btn-primary');
$btnSatellit.removeClass('btn-primary').addClass('btn-outline-primary');
}
}