Displaying 10 results from an estimated 10 matches for "activerequestcount".
2005 Dec 19
4
Observing Ajax Requests?
Is it possible using scriptaculous/prototype to watch out for any
happening Ajax activity, and do something like show/hide a spinner gif
to indicate to the user that there is activity taking place in the
backgound?
Regards,
Michael
------------------------------------------
Michael Roper - Web Developer
WORLDWIDE ONLINE PRINTING AUST/NZ
[T 08 9350 2300] [F 08 9451 6048]
[E
2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
...ction(request){ showProgress()},
parameters: params,
asynchronous:true,
decay:2,
frequency:20.0
});
But registering the onComplete using Ajax.Responders DOES work :
Ajax.Responders.register({
onCreate: function() {
if($(''buddies-loading-notice'') && Ajax.activeRequestCount>0)
showProgress();
},
onComplete: function() {
if($(''buddies-loading-notice'') && Ajax.activeRequestCount==0)
fooBar();
}
});
I tried passing the callback in various forms (return function()...,
this.fooBar().bind(this) etc...)
I worked aro...
2005 Dec 21
1
RE: Prototype: correct useage of onCompletewithAjax.PeriodicalUpdater
...arams,
> asynchronous:true,
> decay:2,
> frequency:20.0
> });
>
> But registering the onComplete using Ajax.Responders DOES work :
>
> Ajax.Responders.register({
> onCreate: function() {
> if($(''buddies-loading-notice'') && Ajax.activeRequestCount>0)
> showProgress();
> },
> onComplete: function() {
> if($(''buddies-loading-notice'') && Ajax.activeRequestCount==0)
> fooBar();
> }
> });
>
> I tried passing the callback in various forms (return function()...,
>...
2006 Aug 19
1
acts_as_commentable
Don''t think this got through last time.
Would someone mind giving me some feedback on rendering threaded
comments:
http://pastie.caboo.se/9255
2006 Apr 30
1
Draggable - how start action on start dragging and end action on droppping
Hi all. I have got situation that I made element draggable - and
when element is dragged I want to start some action (e.g. shown
AJAX indicator, and change one of CSS class in dragging element).
What is the best way to achieve this? I search source code of the
Draggable and I saw that there is 2 method: Draggable.initDrag
and Draggable.endDrag so it looks like in initDrag method i
should
2005 Dec 21
0
Prototype: correct useage of onComplete with Ajax.PeriodicalUpdater
...ction(request){ showProgress()},
parameters: params,
asynchronous:true,
decay:2,
frequency:20.0
});
But registering the onComplete using Ajax.Responders DOES work :
Ajax.Responders.register({
onCreate: function() {
if($(''buddies-loading-notice'') && Ajax.activeRequestCount>0)
showProgress();
},
onComplete: function() {
if($(''buddies-loading-notice'') && Ajax.activeRequestCount==0)
fooBar();
}
});
I tried passing the callback in various forms (return function()...,
this.fooBar().bind(this) etc...)
I worked aro...
2006 Jan 30
5
Multiple ajax calls
This is slightly OT for which I apologise in advance, but I was
wondering if anyone here has had any problems when making multiple
ajax calls at the same time. I''m working on a large Intranet
application which makes heavy use of ajax calls and the bugs are
flying in from the testers that if they repeatedly click on a link
that makes an ajax call then Internet Explorer can fall
2005 Dec 29
2
Ajax.Request: onLoading executed after onComplete in IE
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 hidden when the
request has finished.
Oddly enough it works fine in the shopping
2009 Sep 04
12
Changing cursor while waiting for remote function response?
Hello,
Google and the search function didn''t help me this time. Is it possible
to change the mouse cursor while waiting for a response of a remote
function call?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 07
6
ajax loading message
Hello,
I''m looking for some help - I''m having problems in getting the loading
message to disappear - sometimes it disappears, sometimes it doesn''t.
This is the javascript I have:
ajaxContent: function(iTabPos) {
if (isNaN(iTabPos)) return false;
var iTabIndex = this._posToIndex(iTabPos);