In questo modo da sempre lo stesso errore?
Codice PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Prova</title>
<script src="http://maps.google.com/maps?file=api&v=2.x&key=quilakey" type="text/javascript"></script>
<script type="text/javascript">
var tcontent4 = null;
var geocoder = null;
function load()
{
if(GBrowserIsCompatible())
{
tcontent4 = new GMap2(document.getElementById("tcontent4"));
tcontent4.addControl(new GSmallMapControl());
tcontent4.addControl(new GMapTypeControl());
tcontent4.setCenter(new GLatLng(41.91633, 12.482185), 7);
geocoder = new GClientGeocoder();
}
}
function showAddress(address)
{
if(geocoder)
{
geocoder.getLatLng
(
address,function(point)
{
if(!point)
{
alert(address + " not found");
}
else
{
tcontent4.setCenter(point, 11);
var marker = new GMarker(point);
tcontent4.addOverlay(marker);
marker.openInfoWindowHtml(address);
}
}
);
}
}
</script>
<style type="text/css">
body
{
margin:0px;
background:#cccccc;
}
a
{
color:#666666;
}
</style>
</head>
<body onload="load();showAddress('Rovigo, Italy');">
<div id="flowertabs" class="modernbricksmenu2">
<ul>
[*][url="#"]1 [/url]
[*][url="#"]2[/url]
[*][url="#"]3[/url]
[*][url="#"]4[/url]
[*][url="#"]5[/url]
[/list]
</div>
<div style="border:1px solid gray; width: 600px; height: 600px; background-color: #D9E0F0;">
<div id="tcontent1" class="tabcontent"></div>
<div id="tcontent2" class="tabcontent"></div>
<div id="tcontent4" style="width: 600px; height: 600px;"> </div>
<div id="tcontent3"></div>
<div id="tcontent5" class="tabcontent"></div>
</div>
</body>
</html>