Hi everyone,

I'm new to the Google Maps API... so sorry if this is an easy
question.
When I open the InfoWindow, I want to display a div that is
dynamically generated.

Here's the code sample I got from the 3rd party software that creates
the div (it adds a presence awareness link):
// Create an element to store the livename in
var contactElement = document.createElement("div");
contactElement.setAttribute("userId", "<CONTACT ID>");
contactElement.setAttribute("class", "awareness");
document.getElementsByTagName("body")[0].appendChild(contactElement);
// Create a sametime.livename
var contact = new sametime.livename("<CONTACT ID>", contactElement);

Instead of doing an appendChilld to the body element, I'd like to
display that element inside the InfoWindow.

I will have around 30 markers, and each one of them will need a
different presence awareness link that will be displayed only when the
InfoWindow is displayed after a click on the marker.

Is this possible? If so, what's the best way to achieve this?

Thanks!
--~--~---------~--~----~------------~-------~--~----~
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