Sorry for the delay in responding, I had a few hardware issues. Just wanted to say thank you to all that responded, its appreciated and it pointed me in the right direction.
I have more questions but I will post them in google.com/support/forum cheers Paul. On Oct 17, 2:15 pm, "[email protected]" <[email protected]> wrote: > On Oct 17, 6:02 am, Rossko <[email protected]> wrote: > > > > > > > x = 2; > > x = 4; > > x will take the value 2 very briefly, but the end result will be seen > > as 4. If you wanted x to be the sum of the two, you'd do something > > like > > x = 2; > > x = x + 4; > > > Compare with > > > > document.getElementById("topbar").innerHTML=""; > > > document.getElementById("topbar").innerHTML=gmarkers[i].html; > > > document.getElementById("topbar").innerHTML=gmarkers[i].name; > > > You'll want to find out how to "add-on" a string to an existing value > > in javascript. > > Like you do here: > var html = "<b>"+name+"<\/b><p style='font-size:smaller'>" + address > + "<\/p>"; > > document.getElementById("topbar").innerHTML=gmarkers[i].name > > +" "+gmarkers[i].address; > > assuming your gmarkers array has name and address properties for each > marker (you can add html tags for formatting if you want). > > (BTW - I get a "Website Under Review" message when I try to look at > the link you provided) > > -- Larry > > > > > > document.getElementById("topbar").innerHTML=gmarkers[i].name;- Hide > > > quoted text - > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
