Thanks for this link Paul.
But I must admit I don't really see the point here. Images in HTML can
already be changed on the fly. What is the difference between Google's
example :
image.src =
ajaxPicture("http://www.google.com/intl/en_ALL/images/logo.gif"; );
(AjaxPicture being the XMLHttp function to get the 'responseStream' stuff)

AND

image.src = "http://www.google.com/intl/en_ALL/images/logo.gif"; ?

Did I miss something ? Does it allow to handle easier already in cache
images URLS ?

Cheers,

Guillaume

Paul Spencer a écrit :
> Here is a quite well written article about the XmlHttpRequest object,  
> nothing stunningly new ...
> 
> http://code.google.com/support/bin/answer.py?answer=79663&topic=11366
> 
> except this was news to me:
> 
> http://code.google.com/support/bin/answer.py?answer=79663&topic=11366#scenario1
> 
> Apparently you can access responseStream member and assign it to an  
> image src to do 'ajax' loading of images.  I'm wondering if this might  
> provide more reliable error handling for tile loading.
> 
> Paul
> 
> +-----------------------------------------------------------------+
> |Paul Spencer                          [EMAIL PROTECTED]    |
> +-----------------------------------------------------------------+
> |Chief Technology Officer                                         |
> |DM Solutions Group Inc                http://www.dmsolutions.ca/ |
> +-----------------------------------------------------------------+
> 
> 
> 
> 
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
> 

-- 
Guillaume SUEUR
Expert SIG et OpenSource
NEOGEO
46 RUE MATABIAU
31000 TOULOUSE
06 65 58 88 82
Site web : http://www.neogeo-online.net

begin:vcard
fn:Guillaume SUEUR
n:SUEUR;Guillaume
org:Neogeo
adr:;;46 Rue Matabiau;Toulouse;;31000;France
email;internet:[EMAIL PROTECTED]
title:Expert SIG & OpenSource
tel;work:06 65 58 88 82
tel;cell:06 65 58 88 82
x-mozilla-html:FALSE
url:http://www.neogeo-online.net/
version:2.1
end:vcard

_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to