JS novice here. I'm building a map using a json file and the v3 API.

I've adapted one of the tutorial examples and I'm able to set the
markers correctly, but I'd like to launch a slideshow when the user
clicks on a thumbnail in an infowindow.

I had this built with v2 and different code, so I know that it can
work (i.e. it's not strictly speaking a problem with the slideshow
code). At the moment, however, clicking on a thumbnail downloads the
image in addition to (sometimes) launching the slideshow. The image
shouldn't be downloaded.

Is the domlistener bit picking up links inside the infowindow and
somehow interfering?

Example page: http://nativeecosystems.org/map/index_v3_5.html

Slideshow code: http://www.clearbox.hu/

The top "sponsor" -- Jared Polis Foundation -- contains thumbnails;
not all of the infowindows do.

Example href for thumbnails to launch slideshow: <a href="http://
farm5.static.flickr.com/4081/4863314143_55af5820a0_z_d.jpg"
class="show" onclick='CB_Open("gallery=Milemarker: 149.8,,href=http://
farm5.static.flickr.com/
4081/4863314143_55af5820a0_z_d.jpg,,title=WB004_20100714 018");return
false' rel="clearbox[gallery=Milemarker: 149.8,,href=http://
farm5.static.flickr.com/
4081/4863314143_55af5820a0_z_d.jpg,,title=WB004_20100714 018]"> ... </
a>

Thanks very much for any thoughts.

-- 
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