[jQuery] Re: Loading google map js on a certain point of action

2009-05-27 Thread heohni
This was helping and solving my problem: http://groups.google.com/group/Google-Maps-API/browse_thread/thread/8863f57e0904a221/3f1577e7abed928b On 27 Mai, 12:22, Charlie wrote: > $.getScript("url") might help > heohni wrote:Hi, on my contact page, I have some hidden divs. One is for a > google

[jQuery] Re: Loading google map js on a certain point of action

2009-05-27 Thread heohni
I made now this: if(item == "#gmap"){ $.getScript("http://maps.google.com/maps? file=api&v=2&key=ABQIp1kkS_NlSeBqN9yg50Bb9hTRRxoX5cqBbtB- sMaIPwRkCNveuxTK0oI3HaFAjNd9OtVNIVqQYPII7g", function(){ alert("Script loaded and executed.");

[jQuery] Re: Loading google map js on a certain point of action

2009-05-27 Thread Charlie
$.getScript("url") might help heohni wrote: Hi, on my contact page, I have some hidden divs. One is for a google map. This div is only shown when the user has clicked to open the div. As I am working with smarty my template looks like this: {literal} "http://maps.google.com/maps? file=