morsingbodk
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Where i put my Google maps Code in wordpress?Hello I see you found a solution, but I would be glad if you could explain it to me..
my google map code:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″/>
<title>Den Gamle By p? Googlemap</title>
<script src=”https://maps.google.com/maps?file=api&v=2&key=ABQIAAAA1dE_Rg0nU4S0U0EuD_3UZRRbdUiHl3oGXAUQW8svr8WwVwV7oBRErO1GFT7JDlUF49GgcAli-PN8aw”
type=”text/javascript”></script>
<script type=”text/javascript”>
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
function createMarker(point,html) {
var marker = new GMarker(point);
GEvent.addListener(marker, “click”, function() {
marker.openInfoWindowHtml(html);
});
return marker;
}
var map = new GMap2(document.getElementById(“map”));
map.addControl(new GSmallMapControl());
map.addControl( new GMapTypeControl() );
map.addControl(new GOverviewMapControl(new GSize(190,150)));
map.setCenter(new GLatLng(56.158791, 10.192147), 17);
}var point = new GLatLng(56.158170, 10.192312);
var marker = createMarker(point,'<div style=”width:420px;color:#FFFFFF;background-color:#000000″><b>Den Moderne By i Den Gamle By</b>
<i>Produceret af Philip, Emilie og Niels</i>
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width=”420″ height=”333″ id=”soundslider”><param name=”movie” value=”https://jlab.dk/2009/gamleby/web01/soundslider.swf?size=1&format=xml&embed_width=420&embed_height=333″ /><param name=”allowScriptAccess” value=”always” /><param name=”quality” value=”high” /><param name=”allowFullScreen” value=”true” /><param name=”menu” value=”false” /><param name=”bgcolor” value=”#FFFFFF” /><embed src=”https://jlab.dk/2009/gamleby/web01/soundslider.swf?size=1&format=xml&embed_width=420&embed_height=333″ quality=”high” bgcolor=”#FFFFFF” width=”420″ height=”333″ menu=”false” allowScriptAccess=”sameDomain” allowFullScreen=”true” type=”application/x-shockwave-flash”></embed></object></div>’)
map.addOverlay(marker);var point = new GLatLng(56.158370, 10.192912);
var marker = createMarker(point,'<div style=”width:420px;color:#FFFFFF;background-color:#000000″><b>Den Moderne By i Den Gamle By</b>
<i>Produceret af Filip, Emilie og Niels</i>
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width=”420″ height=”333″ id=”soundslider”><param name=”movie” value=”https://jlab.dk/2009/gamleby/web02/soundslider.swf?size=1&format=xml&embed_width=420&embed_height=333″ /><param name=”allowScriptAccess” value=”always” /><param name=”quality” value=”high” /><param name=”allowFullScreen” value=”true” /><param name=”menu” value=”false” /><param name=”bgcolor” value=”#000000″ /><embed src=”https://jlab.dk/2009/gamleby/web02/soundslider.swf?size=1&format=xml&embed_width=420&embed_height=333″ quality=”high” bgcolor=”#000000″ width=”420″ height=”333″ menu=”false” allowScriptAccess=”sameDomain” allowFullScreen=”true” type=”application/x-shockwave-flash”></embed></object></div>’)
map.addOverlay(marker);}
//]]>
</SCRIPT><META content=”MSHTML 6.00.2900.3132″ name=GENERATOR></HEAD>
<BODY onload=load() onunload=GUnload()>
<DIV id=map style=”WIDTH: 700px; HEIGHT: 600px”></DIV></BODY></HTML>