[jQuery] Re: Loading google maps dynamically

2008-06-18 Thread lamy
Hey there! Yeah, that's pretty obvious - and I already use a "plugin" from http://olbertz.de/blog/?p=jquery_googlemaps. The only problem is - as I said- that I am being redirected to the script... On 18 Jun., 22:25, Hamish Campbell <[EMAIL PROTECTED]> wrote: > It looks like you're getting the s

[jQuery] Re: Loading google maps dynamically

2008-06-18 Thread Hamish Campbell
It looks like you're getting the script ok, but there is other stuff you need to do to create a google map. There are a couple of good jQuery googlemap plugins (eg, jMaps) So you'd do something like this: $("#togglegmaps").toggle( function(){ $.getScript("http://maps.google.com/maps?