Thanks Rossko - I just implemented my new method which is what you described. Just a few things I still need to do. Here is the link: http://bccmws.coastal.edu/LBOOS/dev_gmap2.html. Can you not use something like Firebug to see my code?
On Tuesday, October 9, 2012 2:46:04 PM UTC-4, Rossko wrote: > > > Is it possible to reference an HTML element that exists inside an info > > window prior to the marker click event? > > That would depend if the infowindow exists yet or not. That depends on > your code that we can't see. Very often it doesn't exist yet. > A workaround would be to create the HTML content in the DOM > beforehand, and "park" it somewhere invisible. Then re-use it when > you do create the infowindow. > > Here's a different approach you might be able to adapt > > http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/a41f56c1a3063520/0b61207988fb06ad > > which avoids requiring things before they are created. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/NmWQTaXx4coJ. 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.
