> It is not possible to make XMLHttpRequest requests from file:
> locations in modern versions of Firefox. This is a security
> restriction, and I am not aware of any way around it. If you want
> something that works from a USB stick and works across all browsers, I
> recommend including a local web server and serving files from that.
> The http://labs.metacarta.com/on-a-stick/ distribution includes a
> setup that does this.
>    

This is not correct. I do my development on FF (currently at 3.6.3) and 
manage local files fine if referenced
from the initial opener. Ajax implementations vary however. ext.ajax 
needs the ext.basex adapter and this fails with the latest Chrome beta 
but jQuery works fine with all.

I have looked at the labs.metacarta.com implementation. Its use in 
cross-platform, zero-install environment, is not quite as simple as what 
we are doing - but do need the openlayers change for IE. perhaps you 
could unpack for me the intent behind

         this._object    = oXMLHttpRequest ? new oXMLHttpRequest :
  new window.ActiveXObject('Microsoft.XMLHTTP');

I am struggling to understand the intent new oXMLHttpRequest. The jQuery 
management of the XMLHttpRequest object is rather more complex but it does work.



Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.

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

Reply via email to