<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Fredrik,<br>
<br>
Does your problem still occur when you do a 'document.namespaces' [1] before executing any other JavaScript?<br>
<br>
Cheers, Roald<br>
<br>
[1] <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/users@openlayers.org/msg01838.html">
http://www.mail-archive.com/users@openlayers.org/msg01838.html</a><br>
<br>
Lindmark Fredrik wrote:
<blockquote cite="mid:4B0076DA13BC6F47ABD618675A3A04C708AEC3C6@posten.lantm.intra.local" type="cite">
<pre wrap="">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.
<a class="moz-txt-link-freetext" href="http://www.lindmark.org/temp/test/dialogtest.html">http://www.lindmark.org/temp/test/dialogtest.html</a>
-----Ursprungligt meddelande-----
Från: Christopher Schmidt [<a class="moz-txt-link-freetext" href="mailto:crschmidt@metacarta.com">mailto:crschmidt@metacarta.com</a>]
Skickat: den 19 februari 2009 13:12
Till: Lindmark Fredrik
Kopia: <a class="moz-txt-link-abbreviated" href="mailto:users@openlayers.org">users@openlayers.org</a>
Ä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:
</pre>
<blockquote type="cite">
<pre wrap="">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:
<a class="moz-txt-link-freetext" href="http://www.lindmark.org/temp/test/dialogtest.html">http://www.lindmark.org/temp/test/dialogtest.html</a>
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
<blockquote type="cite">
<pre wrap="">Any ideas, works perfect in firefox...
/Fredrik
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="1">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.<br>
</font>
</body>
</html>