On Apr 22, 12:17 pm, FMaynard <[email protected]> wrote: > thanks mike > but im not sure how can achive this without letting the script fall > into a infinite loop. > i need do make the polygon blink, but i also must do more stuff with > the object. > here's my intended pseudo code: > > on polygon click{ > - change its color > - make it blink (*) > - change other polygons color > - add some html in another divs > > } > > is that possible to make it blink without a loop that goes infinite? > thanks again
see the javascript functions setTimeout or setInterval they will call a function after a programmed delay. in that function toggle the visibility of your polygon... -- Larry > > On 22 abr, 02:55, Mike Williams <[email protected]> wrote: > > > You could .hide() it, wait for a while then .show() it. There's no > > direct support for blink. > > > --http://econym.org.uk/gmap > > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
