I pulled the code from $(document).ready() and inserted it after the call to marker.openInfoWindowHtml (before the marker is returned to the map, but no luck - the images still show up in a list format. Like you said, this seems like the logical place to insert the jQuery code since the list items are available at that time.
Any other ideas? Michael Geary wrote: > > I'm not very familiar with InnerFade, but wouldn't you do this inside your > marker click handler, right after you call marker.openInfoWindowHtml? > That's > when you have the list items available. > >> I'm new to jQuery and am trying to figure this out, but was >> wondering if anyone has had any luck embedding jQuery code >> inside Google Maps info windows? >> >> I have an existing google map that parses coordinates and >> descriptions for points from an xml file and have tried using >> Innerfade ( http://medienfreunde.com/lab/innerfade/ >> http://medienfreunde.com/lab/innerfade/ ) to rotate through a >> list of images inside the info windows that appear when >> points on the map are clicked. >> >> The points are created when the map is loaded (during page >> loading) but I am unsure when/how to make the call to >> innerfade? Right now, I'm still calling the innerfade >> function inside document.ready(), but I've tried placing that >> code in various positions inside the load function. Any ideas? >> >> Here is a link to my site... >> http://www.derekandsarah.net/travel/chicago.php >> http://www.derekandsarah.net/travel/chicago.php > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/JQuery-in-Google-Maps-Info-Windows-tf3083290.html#a8570277 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
