To fix the issue, you have a number of options. Probably the simplest would be to move the google.load(...); call(s) outside of the functions so that it's called - and the libraries are loaded - as the page loads. Alternatively, you could use it like this: google.load('feeds', '1', {callback : function(){DO_SOMETHING}}); This usage would compel the loader to dynamically create and append the script to the page rather than using the document.write method. The result would be that your page would load normally, and the API could be loaded at any time after that without ill effects. The challenge is that you'll have to rewrite most of your script so that anything that relates to the Feeds API, etc., is saved until the callback function.
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA
For more information or a project quote:
jrge...@gmail.com
If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
> --
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> google-ajax...@googlegroups.com
> To unsubscribe from this group, send email to
> google-ajax-searc...@googlegroups.com
> To view this message on the web, visit
> http://groups.google.com/group/google-ajax-search-api?hl=en_US
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
google.load('language', '1', {callback : function(){
init();
}});
google.load("language", "1");
google.setOnLoadCallback(init);
google.load("language", "1");
google.setOnLoadCallback(init);
google.load('language', '1', {callback : function(){
init();
}});