[OpenLayers-Users] Problems with OL and jQuery UI in IE6/7

Lindmark Fredrik Fredrik.Lindmark at lm.se
Thu Feb 19 07:31:44 EST 2009


Thank you for your answer but it unfortunatly doesent solve my problem. I removed the onReady event for the init and added a button to init the map and jQuery UI-dialog and the problem is still there trying to move the dialog. 

http://www.lindmark.org/temp/test/dialogtest.html


-----Ursprungligt meddelande-----
Från: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Skickat: den 19 februari 2009 13:12
Till: Lindmark Fredrik
Kopia: users at openlayers.org
Ämne: Re: [OpenLayers-Users] Problems with OL and jQuery UI in IE6/7

On Thu, Feb 19, 2009 at 01:08:04PM +0100, Lindmark Fredrik wrote:
> I am using OL together with jQuery UI 1.6rc6 and have come across som 
> issues running it in IE6/7. When I try to move the dialog i get the 
> error "Error: Failed", this occurs only when i have a vector layer in 
> OpenLayers and I havent been able to reproduce this in any other way.
>  
> Here is an example:
> http://www.lindmark.org/temp/test/dialogtest.html

You can't use jquery's $(document).onReady with code that uses vector layers in IE. You have to use body="onload" or something similar, because the document isn't ready to receive namespaces when onready triggers.

> Any ideas,  works perfect in firefox...
>  
> /Fredrik
>  

> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users


--
Christopher Schmidt
MetaCarta



More information about the Users mailing list