Thanks Luke, that worked wonderfully! I should have realized there was
built in functionality to add a listener for when the DOM was
ready...I'm still getting my feet wet with things of this nature.

Rory

On May 11, 4:10 pm, Luke Mahé <[email protected]> wrote:
> Hi,
>
> If marker.content_ is a DOM node then I suspect you can call
> Shadowbox.setup(marker.content_), otherwise if it is a string you will need
> to listen to the 'domready' event that MyInfoWindow files then call
> Shadowbox.setup('a.movie'):
>
> google.maps.event.addListener(MyInfoWindow, 'domready', function() {
>   ShadowBox.setup('a.movie');
>
> });
>
> I think this should work, but I'm just doing this off the top of my head :)
>
> Thanks
>
> Luke
>
>
>
> On Tue, May 11, 2010 at 3:45 PM, roryreiff <[email protected]> wrote:
> > I just realized, the above example under the Shadowbox.setup call
> > should just read "a", but that does not change anything working.
>
> > On May 11, 3:35 pm, roryreiff <[email protected]> wrote:
> > > Hello,
>
> > > I am attempting to initialize shadowbox (http://www.shadowbox-js.com/
> > > index.html) on links inside my infoWindows (so that I can service
> > > image galleries for each marker). I am doing this as follows:
>
> > > google.maps.event.addListener(marker, 'click', function() {
> > >         MyInfoWindow.setContent(marker.content_);
> > >         MyInfoWindow.setPosition(marker.position);
> > >         Shadowbox.setup("a.movie");
> > >         MyInfoWindow.open(map, marker);
>
> > > });
>
> > > But is is not working (i.e., clicking each linked image just opens it
> > > in a new link). Any help would be appreciated. The project is viewable
> > > atwww.pomona.edu/tour
>
> > > Currently, the icon that is an outlined square, Turrel Skyspace,
> > > contains images that should open in Shadowbox. Thanks,
>
> > > Rory
>
> > > --
> > > 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]<google-maps-js-api-v3%[email protected]>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> > --
> > 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]<google-maps-js-api-v3%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.

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