Larry - Can you explain how the domready listener is different than having the click listener ready to roll once infoWindow.setContent(content) is called.
On Tuesday, October 9, 2012 10:42:29 PM UTC-4, geoco...@gmail.com wrote: > > On Oct 9, 12:23 pm, Quaye Trimble <qtrim...@gmail.com> wrote: > > 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? > > > > This sort of what you are trying to do? > http://www.geocodezip.com/bccmws_coastal_edu_LBOOS_dev_gmap_b.html > > Still doesn't show the very first time. > > -- Larry > > > > > > > > > > > > > > > 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/th... > > > > 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/-/H0Yw1EM3hUsJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.