Thanks to all,<br>it was a very stupid error about library path syntax<br><br>Now it works fine.<br><br>;) -beppe-<br><br><div class="gmail_quote">2010/4/6 Gilles Bassière <span dir="ltr">&lt;<a href="mailto:gilles.bassiere@makina-corpus.com">gilles.bassiere@makina-corpus.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">beppe wrote:<br>
&gt; Hi all,<br>
&gt; I&#39;m using ol with jquery and I&#39;ve seen that if I include jquery library<br>
&gt; in my page, controls disappear (panzoom, mouseposition ...); if I remove<br>
&gt; the library it works.<br>
&gt;<br>
<br>
</div>Beppe,<br>
<br>
jQuery use $ as an alias for the jQuery object. In OpenLayers, $ is a<br>
wrapper around document.getElementById(). Obviously, this might lead to<br>
conflicts. Tweaking the script loading order may solve the problem (as<br>
already suggested) but you can also use the jQuery.noConflict function<br>
which was designed for this case:<br>
<a href="http://api.jquery.com/jQuery.noConflict/" target="_blank">http://api.jquery.com/jQuery.noConflict/</a><br>
<br>
Regards<br>
<font color="#888888">--<br>
Gilles Bassière - MAKINA CORPUS<br>
<a href="http://www.makina-corpus.com" target="_blank">http://www.makina-corpus.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>-beppe-<br>