Thanks for your reply, Rossko. I understand what you're saying. So, we
could do an onclick event here perhaps...

On Jul 1, 5:11 am, Rossko <[email protected]> wrote:
> Bear in mind that this is just a string
>
>
>
> >           var contentString =
> >           '<div id="infowindowcontent">'+
> ...
> > class="colorbox" title="Get Driving Directions ...
>
> and it doesn't exist in the browsers DOM as HTML elements, until after
> the API has constructed and populated the infowindow.
>
> Addons on like Lightbox scan the newly initialised DOM looking for
> elements with class='whatever', and so they won't find infowindow
> contents that aren't rendered yet.
>
> You need some way to trigger lightbox after the infowindow has opened

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to