You know what I do is....
I have a sort of "callStack" so I don't get the flickering. I wanted
the "Loading" icon to show on the first call, and hide when the last
one finished, so I did something like:
AjaxPro.onLoading = function(b){if(b)loadingPush();else loadingPop();}
function loadingPush(){loadingCount += 1; displayLoading();}
function loadingPop(){loadingCount -= 1; displayLoading();}
function displayLoading(){$('idLoading').style.visibility =
(loadingCount == 0) ? 'hidden' : 'visible'; }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---