Anyone skilled enough with JavaScript can get any of the Lightbox
variants to work, either through customization or by writing
functions. My goal was to share a solution that avoids that level of
complexity. If you're building custom jQuery apps, you're probably not
needing help with this in the first place. :-)
My preference would be framework-independent: some kind of GInfoWindow
property or listener (was so hoping to get onOpenFn to work, but was
unsuccessful...)
Cheers!
On Sep 30, 3:11 pm, Garthan <[EMAIL PROTECTED]> wrote:
> oops missed some params.. an example on one that opened a registration
> page..
>
> url = register.php?&KeepThis=true&TB_iframe=true&height=400&width=600
> tb_show('Register',url,null);
>
> and for me the framework was an issue when you looked at the monster
> called
> prototype
>
> On Sep 30, 4:08 pm, Garthan <[EMAIL PROTECTED]> wrote:
>
> > tb_show(inserturlwithparamshere);
> > and
> > tb_remove()
> > closes it.. programattically
>
> > On Sep 30, 1:09 pm, Betsy <[EMAIL PROTECTED]> wrote:
>
> > > Hi Garthan,
>
> > > I think Christophe plans to port Slimbox to JQuery -- there's some
> > > discussion about this here:
>
> > >http://groups.google.com/group/slimbox
>
> > > The framework isn't at issue. The key is that the rel=”lightbox” or
> > > class="thickbox" attributes aren't sufficient -- you need to initiate
> > > the scripts using an onclick event from inside the infowindow html. I
> > > didn't see a ready way to do that with Thickbox, but Slimbox can be
> > > called via Slimbox.open(). It's an easy "out-of-the-box" solution for
> > > anyone needing something simple.
>
> > > On Sep 30, 8:53 am, Garthan <[EMAIL PROTECTED]> wrote:
>
> > > > I have used Thickbox with some success
> > > > jquery being a smaller yet library.. it depends on
> > > > how much gui you need.. can you use a subset of mootools
> > > > for your slimbox?
>
> > > > On Sep 30, 2:05 am, Betsy <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi everyone. After *a lot* of running in circles trying to integrate
> > > > > Lightbox 2 with GMap infowindows, I found an easy solution using
> > > > > Slimbox:
>
> > > > >http://www.digitalia.be/software/slimbox
>
> > > > > It's a Lightbox clone that works just like the original Lightbox --
> > > > > you still include the rel="lightbox" attribute -- but it can also be
> > > > > initiated using an onclick event from within the infowindow html. This
> > > > > is necessary because of a conflict between the Lightbox script and the
> > > > > window.onload event handler required by GMap.
>
> > > > > In my testing, it works across all browsers -- yes, in IE6! I detailed
> > > > > the steps and have provided sample map code on my blog here:
>
> > > > >http://www.umaitech.com/cms/?p=41
>
> > > > > Just wanted to share the info here with the group.
> > > > (Thanks Pamela!)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---