If you follow what I meant to say, not what I actually said! ;-) you
shouldn't need to refresh. The browser senses a change in the html and
remaps the page.

var  detailHtml = "a b c d goldfish<br />m n o goldfish<br />o s a
r";
...
function createMarker(point, icon, ..., detailHtml) {
    var marker = new GMarker(point, icon);
    ...
    GEvent.addListener(marker, "click", function() {
          document.getElementById("yourdivid").innerHTML =
detailHtml;
    }
    ...
}

If the comments are always the same, you can use css to hide and
unhide the div!

    document.getElementById("yourdivid").style.display = "none";
&
    document.getElementById("yourdivid").style.display = "block";

Happy hacking!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to