Hi,

Thanks for the reply. The "fade" one is actually for images (cos you can use
the Fancy box for multiple class/ID's in links, i.e if you wanna open an
IFRAME, or simply show a larger version of the image)

I'm no jQuery expert, but first I notice you have two (document).ready
> functions.  Can you do that?
>

Yeah, I've done it on several occassions, and never had any issues.

As a test, you could try
> opening a separate window (try target='_blank' in your <a> tag without
> the jQuery override).  (That might not be a long term solution; you
> might be using jQuery to avoid pop-up blockers.)


Thanks, will give that a go later. I've given up on that feature for a bit,
as it was driving me mad ;)

Cheers

Andy

On Tue, Jun 7, 2011 at 4:40 PM, JKurtock <[email protected]> wrote:

> I'm no jQuery expert, but first I notice you have two (document).ready
> functions.  Can you do that?
>
> Next, I see you're using a "fancybox" with a fade transition.  If a
> google map is opened in a div with zero size, it won't work.  Could
> that transition be part of the problem?  As a test, you could try
> opening a separate window (try target='_blank' in your <a> tag without
> the jQuery override).  (That might not be a long term solution; you
> might be using jQuery to avoid pop-up blockers.)
>
> Sorry I can't be more definite.
>
> - Jeff
>
> On Jun 7, 6:38 am, Andy Newby <[email protected]> wrote:
> > Hi,
> >
> > This has been driving me up the wall!  :(
> >
> > http://www.chambresdhotesfrancedev.com/cgi-bin/hotels/page.cgi?g=Europe
> >
> > On that page, you see a "Locate on Map" link, which should open up a
> > FancyBox IFRAME windowm which opens a URL like so:
> >
> > http://www.chambresdhotesfrancedev.com/cgi-bin/hotels/page.cgi?p=goog...
> >
> > The map works fine on the last URL I posted - but NOT when you click ont
> he
> > "Locate on Map".
> >
> > I added a sample alert() into the initizalize() code, yet even that
> doesn't
> > print!
> >
> > I even tried doing it via the onload function in jQuery (in case it was a
> > problem that the JS library wasn't loaded) ... and that at least
> >
> > parent.$(document).ready(function(){
> >             initialize();
> >         });
> >
> > ..and that does a bit more, but I get this error then:
> >
> > Error: google.maps.LatLng is not a constructor
> > Source File:
> http://www.chambresdhotesfrancedev.com/cgi-bin/hotels/page.cgi?g=Europe
> > Line: 6
> >
> > I'm at my witts end with this - just can't see why it won't work :/
> >
> > Anyone got any suggestions?
> >
> > TIA!
> >
> > Andy
>
> --
> 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.
>
>


-- 
Andy Newby
[email protected]

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