[OpenLayers-Users] OpenLayers with liter Window Dressing (lightwindow)

Christopher Schmidt crschmidt at metacarta.com
Sat Aug 30 11:58:48 EDT 2008


On Sat, Aug 30, 2008 at 10:52:00AM -0500, Lance Dyas wrote:
> >Er, yes, I understand that. It's unfortunate that this is the case, but
> >it doesn't mean that "jQuery doesn't work with OpenLayers". You just
> >need to do "$ = jQuery.noConflict();" 
> >  
> Which ends up being very handy.... umm will OpenLayers work if you 
> actually define the  $ back to JQueries?

Yes. OpenLayers (the library) does not use $ at all. It's only there as
an application-friendly backwards compatibility thing.  

> I used the "J$  = jQuery.noConflict();"

But you just said that causes your libraries not to work, so that
doesn't solve your problem, right?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list