pkryger / meteo-icm-gadget

Automatically exported from code.google.com/p/meteo-icm-gadget
0 stars 0 forks source link

Make gadget more realiable with AJAX #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
see http://code.google.com/apis/ajaxlibs/ for more possibilities for the
image loading

Original issue reported on code.google.com by pkryger on 11 Nov 2008 at 12:27

GoogleCodeExporter commented 9 years ago

Original comment by pkryger on 11 Nov 2008 at 1:10

GoogleCodeExporter commented 9 years ago
this approach seems promising: 
http://www.prototypejs.org/learn/introduction-to-ajax

Original comment by pkryger on 11 Nov 2008 at 5:17

GoogleCodeExporter commented 9 years ago

Original comment by pkryger on 11 Nov 2008 at 5:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
check response for: "ŻĄDANY METEOROGRAM W PRZYGOTOWANIU" and "
METEOROGRAM IN PROGRESS" before processing

Original comment by pkryger on 23 Nov 2009 at 8:03

GoogleCodeExporter commented 9 years ago
use 'errors' field in the parseResponse:
if (response.errors != undefined && response.errors != '') {
   @todo error handle
}

use 'onError' and 'onAbort' in fetchImage():
img.onerror= @todo error handle
img.onabort= @todo errorHandle

Original comment by pkryger on 23 Nov 2009 at 8:04