<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Most likely it means that the browser is unable to parse your
javascript.<br>
This results in a call to a missing function "init".<br>
<br>
I'm guessing that you have code like this:<br>
<br>
var x = { <br>
x: 1,<br>
y = 2,<br>
}<br>
<br>
Notice the trailing "," after 2.<br>
Firefox accepts it, IE does not. <br>
<br>
If you can't find the error, you might want to try installing a
Javascript debugger for IE (like Visual Studio).<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
David Martinez Morata skrev:
<blockquote
cite="mid:9771eb540806230648l3de4778ibe503b6fe9ffa8ea@mail.gmail.com"
type="cite">Hi list!<br>
<br>
I'm developing a Openlayers environement and I fund a problem. I used
FireFox v2 to develop and every thing it's OK but when I try the URL in
InternetExplorer v6 I have and error .<br>
They says the error it's in <body onload="init()"> but I don't
have any Idea of the problem!<br>
Can enayone help me please?<br>
Thanks<br>
<br>
<br>
this is my code:<br>
<!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" <br>
"<a moz-do-not-send="true"
href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>"><br>
<html xmlns="<a moz-do-not-send="true"
href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>"><br>
<head><br>
<title>Test OpenLayers</title><br>
<meta http-equiv="content-type" content="text/html;
charset=utf-8"/><br>
<br>
<br>
<br>
scripts<br>
<br>
<br>
<br>
</script><br>
</head><br>
<body onload="init()"><br>
<div id="header"><br>
<h1 id="title">Test OpenLayers</h1><br>
<form action="#" onsubmit="showAddress(this.address.value,
this.countrycode.value); return false"><br>
<p>Recherchez un adresse: <input type="text"
size="60" id="address" value="" /><br>
&nbsp; <input type="submit"
onclick="showAddress(document.getElementById('address').value); return
false;" value="Go!" /><br>
</p><br>
</form><br>
</div><br>
<div style="width:100%; height:85%" id="map"></div><br>
</body><br>
</html><br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>