Heres part o my script i dont know if i have to call a onclick envent
or use class="photo" like im using now but it seems not to
work.....any help would be great !!


GEvent.addListener(marker, "click", function(){
  var content = '<div style="width: 230px;">';
  content += '<div id="gallery" style="float: left; width: 100px;"
class="photo"><a href="images_ad/' + location.image + '.jpg"
class="photo" >';
  content += '<img src="images_ad/' + location.image + '_thumb.jpg">';
  content += '</a><a href="images_ad/' + location.image1 + '.jpg"
class="photo" >';
  content += '<img src="images_ad/' + location.image1 + '_thumb.jpg"
class="photo">';
  content += '</a><a href="images_ad/' + location.image2 + '.jpg"
class="photo" >';
  content += '<img src="images_ad/' + location.image2 + '_thumb.jpg"
class="photo">';
  content += '</a></div>';
  content += '<div style="width: 120px; float: right;">' +
location.name + '</div>';
  content += '</div>';

  marker.openInfoWindowHtml(content);

once this is loaded it loads the images from the databse into hte
infowindows ...now trying o intergrate lightbox .

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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-api?hl=en.

Reply via email to