Re: [Rails-spinoffs] Ajax.Request: onLoading executed after onComplete in IE

2005-12-30 Thread Dirk Eschler
Am Freitag, 30. Dezember 2005 12:18 schrieb Nicolas: > Hi, > > You should better use Responders.register, for example : > > Ajax.Responders.register({ [...] Hi Nicolas, now that is a nice solution. Thanks alot for pointing it out. -- Dirk Eschlerzeitform Internet Die

Re: [Rails-spinoffs] Ajax.Request: onLoading executed after onComplete in IE

2005-12-30 Thread Nicolas
Hi,You should better use Responders.register, for example : Ajax.Responders.register({     onCreate: function() {         if(Ajax.activeRequestCount>0) {             Position.prepare();             var elt = $('ajax-wait');             elt.style.left = Position.deltaX + "px";             elt.

[Rails-spinoffs] Ajax.Request: onLoading executed after onComplete in IE

2005-12-29 Thread Dirk Eschler
Hi, i'm trying to use a visual indicator for my Ajax requests. It's based on the shopping cart demo at script.aculo.us and works great in Firefox, Konqueror and Opera, but fails in IE6. For some reason (timing problems?) onComplete is executed before onLoading, so the indicator is shown but not