What happens is, when I eventually call google.load, the page begins
to refresh (goes white).
The status bar says, "Transferring data from www.google.com"
It's very frustrating!
My page:
<html>
<head>
<script>
// Create a callback function that will load the Google JS
var f1 = function(){
// Load the script [THIS IS FINE, IT LOADS]
var el = document.getElementsByTagName("HEAD")[0];
var elScript = document.createElement("SCRIPT");
elScript.setAttribute("src", "http://www.google.com/jsapi?key=MYKEY");
el.appendChild( elScript );
// After Google JS loaded, try to load Feeds:
var f2 = function(){
google.load("feeds", "1"); // When this executes, the page refreshes
saying "Transferring data from google..."
}
setTimeout( f2, 2000 );
}
setTimeout( f1, 1000 );
</script>
</head>
<body>
</body>
</html>
We currently do not support the dynamic loading model that you are
trying to make work.