I've figure out, how to do it with lightbox. But thank you all for
your help :).

On 13 Out, 16:57, Garthan <[EMAIL PROTECTED]> wrote:
> tb_show takes two parameters the caption and a normal url (with its
> standard thickbox size settings etc)
> ie it is very easy.
>
> On Oct 13, 4:52 am, RenatoLemos <[EMAIL PROTECTED]> wrote:
>
> > Can u tell me then how to do it in thickbox? I understand if you can't
> > since that is not part of the API but it is worth a try to ask :).
>
> > On 13 Out, 04:36, Lance Dyas <[EMAIL PROTECTED]> wrote:
>
> > > I think you are asking the wrong place... you know how to add the event
> > > ... that part is in the API
> > > and you already are doing it in your code below.. the question you have
> > > is how do I open
> > > a window with javascript with lightbox... I can tell one off the top of
> > > my head how to do
> > > it with thickbox... and I am pretty certain if lightbox has the method
> > > to do it you can find
> > > that out in 20 seconds in its documentation.
>
> > > RenatoLemos wrote:
> > > > A simple example of what i intend to do is located at my googlepages
> > > >http://renatolmsrodrigues.googlepages.com/index.html
>
> > > > function load() {
> > > >       if (GBrowserIsCompatible()) {
> > > >         var map = new GMap2(document.getElementById("map"));
> > > >         map.setCenter(new GLatLng(37.4419, -122.1419), 13);
> > > >            GEvent.addListener(map, "click", function(overlay, latlng){
> > > >                    alert("hey");
> > > >                    //<a href="index2.html" class="lbOn" >Email 
> > > > This</a><br>
> > > >            });
>
> > > >      }
> > > > }
>
> > > > Once again i explain what i want to do. I want to click on the first
> > > > map and than open a new window with lightbox and the new map has to be
> > > > centered in the coordinates where i clicked in the first map. For
> > > > demosntration purposes i put a link saying "email this" that opens the
> > > > second window.
> > > > I suppose the code has to be in the GEvent.listener function where i
> > > > put the alert("hey") and the commented code, but i can't figure out
> > > > how to do the rest.
>
> > > > On 13 Out, 00:30, Ralph Ames <[EMAIL PROTECTED]> wrote:
>
> > > >>> The problem is that i open a new window with lightbox with the
> > > >>> following command:
> > > >>> <a href="email.php" class="lbOn" ">Email This</a>
>
> > > >> Can you show us your map?
>
> > > >> Ralph
>
> > > > .
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to