Thanks to all, it was a very stupid error about library path syntax Now it works fine.
;) -beppe- 2010/4/6 Gilles Bassière <gilles.bassi...@makina-corpus.com> > beppe wrote: > > Hi all, > > I'm using ol with jquery and I've seen that if I include jquery library > > in my page, controls disappear (panzoom, mouseposition ...); if I remove > > the library it works. > > > > Beppe, > > jQuery use $ as an alias for the jQuery object. In OpenLayers, $ is a > wrapper around document.getElementById(). Obviously, this might lead to > conflicts. Tweaking the script loading order may solve the problem (as > already suggested) but you can also use the jQuery.noConflict function > which was designed for this case: > http://api.jquery.com/jQuery.noConflict/ > > Regards > -- > Gilles Bassière - MAKINA CORPUS > http://www.makina-corpus.com > -- -beppe-
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users