ok sorry here it is www.zoorent.ca/moncton.asp
click on the house and infowindow opens .then clikc on the image and the image opens in a mew window ......all images are coming from a databse ....much apprecitaed On Dec 19 2010, 1:15 am, "[email protected]" <[email protected]> wrote: > On Dec 18, 7:12 pm, "[email protected]" > > <[email protected]> wrote: > > 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 !! > > 1. please read and follow the posting guidelines. Post a link to the > map that shows the issue, not code. > > > > > > > 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 . > > 2. You might search the group for lightbox to find the issues others > have experienced and how they addressed them. > > -- Larry -- 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.
