Great job Nate! Congratulations. Ok, what if we build a script that does not collapse the markers while we are moving around the infowindow? I think that this is more user friendly.
Would that be tough? Best regards, Marco Alves. On 5 set, 14:24, pinzerik <[email protected]> wrote: > Ok thank youvery very much for your suggestions, patience and hints!!! > > I solved like this: > var popup = ""; > if(type=="A"){ > popup = "<b>"+nome+"</b>";} > > else { > popup = type; > > } > > thanks a lot again > > On 4 Set, 13:18, Rossko <[email protected]> wrote: > > > > > > var popup = if(type=="A"){"hello A"} else {"hello!"}; > > > Learn to use whichever browsers's error reporting. > > I get a straightforward syntax error on that line. > > Hint {"somestring"} is not valid javascript, you have to tell > > javascript what you want it to do with the string. > > >http://www.w3schools.com/JS/js_if_else.asp- Ocultar texto das mensagens > >anteriores - > > - Mostrar texto das mensagens anteriores - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
