Hi, no response yet! please can someone try to help me out on this. have spent a week trying to get it working - cheers
would the offer of a nice bottle of wiskey help :-) cheers B On 1 Nov, 17:39, benji <bco...@gmail.com> wrote: > Hi - > > Hope someone can help me out. Have spent days now trying to get this > running! > > I am tying tobinda function to a link that is created dynamically in > the DOM when a GoogleMapsInfoWindowis fired. Specifically, getting > a JQueryCodaSlider 1.1.1 to work. You can see the test site here - > [click apply within > aninfowindow]http://tinyurl.com/coda-mapsv3-infowindow-test > > I believe I have 2 options, neither of which i can figure out: > 1. GoogleMapsJSV3API fires the event DomReady when aninfowindow > is > opened:http://code.google.com/apis/maps/documentation/v3/reference.html#Info > > Use JQuery Live to listen for the DomReady event (maybe a better, > lighter weight??) solution? > > or > > Add tb_init('a.cross-link'); within the > google.maps.event.addListener function - I have tried adding this > (after the infowindowOption variable) this but cant seem to get it tobind? > > Here is the listener function (MapsV3) > > google.maps.event.addListener(marker, "click", function() { > var infowindowOptions = { > content: html > }; > varinfowindow= new google.maps.InfoWindow(infowindowOptions); > cm_setInfowindow(infowindow); > infowindow.open(map, marker); > marker.setIcon(markerImageOut); > }); > google.maps.event.addListener(marker, "mouseover", function() { > marker.setIcon(markerImageOver); > }); > google.maps.event.addListener(marker, "mouseout", function() { > marker.setIcon(markerImageOut); > }); > > return marker; > > } > > Can anyone help. Please! > > Many thanks > > Benji