It was a jQuery $() problem. The noConflict method solved it.<br><br><span style="font-family: courier new,monospace;">&lt;script 
type=&quot;text/javascript&quot; src=&quot;jquery-1.4.2.min.js&quot;&gt;&lt;/script&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;script 
type=&quot;text/javascript&quot;&gt;$.noConflict();&lt;/script&gt;</span><br><br><br><div class="gmail_quote">On Thu, May 20, 2010 at 3:42 PM, Bart van den Eijnden (OSGIS) <span dir="ltr">&lt;<a href="mailto:bartvde@osgis.nl" target="_blank">bartvde@osgis.nl</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
can you show us a *minimal* example to reproduce your issue?<br>
<br>
Best regards,<br>
Bart<br>
<div><div></div><div><br>
&gt; Using OL 2.9.1 did not solve it.<br>
&gt;<br>
&gt;<br>
&gt; On Thu, May 20, 2010 at 2:30 PM, Jan Henrik Øverland &lt;<br>
&gt; <a href="mailto:janhenrik.overland@gmail.com" target="_blank">janhenrik.overland@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi, Firebug reports: this.div.appendChild is not a function<br>
&gt;&gt; OpenLayers.js<br>
&gt;&gt; (line 897) -&gt; this.div.appendChild(this.element);<br>
&gt;&gt;<br>
&gt;&gt; By using alerts I can see that this happens when the overviewmap control<br>
&gt;&gt; is<br>
&gt;&gt; added to the map:<br>
&gt;&gt;<br>
&gt;&gt; MAP.addControl(new OpenLayers.Control.OverviewMap({<br>
&gt;&gt;     div: $(&#39;overviewmap&#39;),<br>
&gt;&gt;     size: new OpenLayers.Size(188, 97),<br>
&gt;&gt;     minRectSize: 0<br>
&gt;&gt; }));<br>
&gt;&gt;<br>
&gt;&gt; The mouse position control has stopped working as well (I comment out<br>
&gt;&gt; the<br>
&gt;&gt; overviewmap and get no errors).<br>
&gt;&gt;<br>
&gt;&gt; This has worked perfectly for a long time, and I didn&#39;t change any libs<br>
&gt;&gt; recently. Still using OL 2.8. What could cause this error?<br>
&gt;&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
</blockquote></div><br>