Hi Mark,

you could use a script that was just release today, take a look at :
http://webreflection.blogspot.com/2009/09/livemonitor-asynchronous-property.html
it is a small code that permit to monitor a change on DOM, on
Object, ... That's very handy.

I thing it is a way you could do.
btw, what is your solution?

--
david

On 15 sep, 15:12, wilkinsmd <wilkin...@hotmail.com> wrote:
> Thanks everyone for the input. I've found a solution that doesn't
> involve prototype.js.
>
> Mark
>
> On Sep 14, 4:03 pm, wilkinsmd <wilkin...@hotmail.com> wrote:
>
> > David, thanks that's an interesting approach which I hadn't
> > considered.
>
> > (And yes sorry about the typo...correct, I'm not interested in simply
> > adding a timer, as the delay can vary quite a bit.)
>
> > You're right I do know the number of pins.  But, I'm not sure how I
> > would test to see how many have been added at any point in time, do
> > you have any ideas for that?
>
> > Thanks
> > Mark
>
> > On Sep 14, 9:00 am, david <david.brill...@gmail.com> wrote:
>
> > > Hi Mark,
>
> > > as you don't want a timer to delay the hide of the "querying ..." text
> > > (I suppose, but you did not finish the sentence)
> > > one thought: test inside GGMap div the number of pin image inserted,
> > > as you know the total number of answers, you could remove your text
> > > when all images are in the DOM.
>
> > > but there is probably a better way.
>
> > > --
> > > david
>
> > > On 11 sep, 16:33, wilkinsmd <wilkin...@hotmail.com> wrote:
>
> > > > Hi, I'm new to prototype.js and have a question.
>
> > > > I have a google maps application and I've been trying to implement a
> > > > "Querying..." status indicator while the map is being populated.  The
> > > > map itself works fine, but the timing of the status indicator is off,
> > > > it goes away too soon.  I know why, but I don't know how to correct
> > > > it.
>
> > > > Here is what I have so far, pay attention to the timing of the
> > > > "Querying..." message and when it is displayed:
>
> > > >http://www.pawinetalk.com/v2/detail/ajax/index14.php?code=27184
>
> > > > When you click on "populate map" two things happen:
> > > > 1.  A perl script is called which generates map points in XML
> > > > 2.  Those points are placed on the map
>
> > > > Now here's my issue:  Utilizing prototype.js, I use ajax.request to
> > > > call the perl script, and use "onComplete" to turn off the
> > > > "Querying..." message.  But at the time when it turns that off, it
> > > > still needs to put the points on the map.  That is handled by another
> > > > javascript function which calls GDownloadUrl, and takes more time
> > > > (depending on the number of points).  I'd like to wait until that
> > > > completes to turn off the "Querying..." message.  BUT, ajax.request
> > > > can only be used when calling a URL to generate some data, and as far
> > > > as I know, not when simply running a javascript function I have
> > > > defined on my page.  And since I can't use ajax.request to place the
> > > > map points, I can't use onComplete and thus the "querying..." message
> > > > is turned off too early.  Not interested in simply adding a
>
> > > > Does anyone have any ideas on how this can be accomplished?
>
> > > > Thanks for any help!
>
> > > > Mark- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to