Adding document.namespaces doesnt make any difference and neither did switching included files.
When debugging jQuerys selector classes where the problem origins it seems to be a problem for jQuery to read the <group>-tag generated for the vector-layer. All methods and attributes gives a Failed message. You gotta love IE.. /fredrik -----Ursprungligt meddelande----- Från: Zac Spitzer [mailto:[email protected]] Skickat: den 20 februari 2009 02:25 Till: Roald de Wit Kopia: Lindmark Fredrik; [email protected] Ämne: Re: [OpenLayers-Users] Problems with OL and jQuery UI in IE6/7 try putting jquery before OL in the header, OL does try and put in a $ function itself and it can be problematic, especially with eveyones favourite browser (ie). I have that code commented out in my own tree z On Fri, Feb 20, 2009 at 11:17 AM, Roald de Wit <[email protected]> wrote: > Hi Fredrik, > > Does your problem still occur when you do a 'document.namespaces' [1] > before executing any other JavaScript? > > Cheers, Roald > > [1] http://www.mail-archive.com/[email protected]/msg01838.html > > Lindmark Fredrik wrote: > > 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:[email protected]] > Skickat: den 19 februari 2009 13:12 > Till: Lindmark Fredrik > Kopia: [email protected] > Ä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 > [email protected] > http://openlayers.org/mailman/listinfo/users > > > -- > Christopher Schmidt > MetaCarta > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > > ________________________________ > The contents of this email are confidential and may be subject to > legal or professional privilege and copyright. No representation is > made that this email is free of viruses or other defects. If you have > received this communication in error, you may not copy or distribute > any part of it or otherwise disclose its contents to anyone. Please > advise the sender of your incorrect receipt of this correspondence. > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
