Hi dan, i'm completely a newbie so i could be wrong, and i'm not familiar
with ajax even, only a little with javascript, however, could you for
example give an argument the function() on your sixth line? if you do maybe
you can select when to start this "loading..." overlay and when not to..
I mean, it is not really necessary while you fill a text box with
autocompletion doesn't it?

Pleas let me know if i'm wrong, i will check on my manual.
tnks
a

2010/2/11 dan <[email protected]>

> Hello,
> i have this script
>
> document.observe('dom:loaded',
>        function()
>        {
>                Ajax.Responders.register(
>                        {
>                                onCreate: function()
>                                {
>
> PopupEngine.Overlay.attach(PopupEngine.Loading.create("loading..."));
>                                },
>                                onComplete: function()
>                                {
>                                        if
> (!PopupEngine.Overlay.containsPopup())
>
>  PopupEngine.Overlay.detach();
>                                }
>                        }
>                );
>        }
>
> what it basically does is to put a "loading..." message in a overlay
> whenever there's an action happening
>
> the problem is when im using an autocompleter on a field, when the
> options show and i navigate between them with the cursor,
> the overlay hangs and the function never reaches 'onComplete',
> anyone else has the same problem
> plz help me
> thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<prototype-scriptaculous%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.

Reply via email to