I don't know what's causing that error, but I do notice another problem:
you're loading jQuery UI before jQuery. You need to load jQuery first,
before UI or any other jQuery plugins.

-Mike

On Mon, May 3, 2010 at 12:24 AM, JakeP <[email protected]> wrote:

>
> I have a google gadget embedded in a google sites page.  I tried
> posting this to sites help forum, but no responses there.
>
> The problem is that when I load the page in IE (8 or 9) I get the
> error - google is 'undefined'
>
> This is what is loaded into the iFrame for the gadget when the page
> loads:
> <SCRIPT onreadystatechange="google.loader.domReady()" defer
> src="//:"><HTML><HEAD><TITLE></TITLE></SCRIPT>
>
> IE says that the google var is undefined at this point and stops.
>
> Does anyone know why IE is having trouble with loading?
>
>
>
> Here's the gadget XML:
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <Module>
>  <ModulePrefs
>   <Require feature="com.google.gadgets.analytics" />
>  </ModulePrefs>
> <Content type="html"><![CDATA[
>
> <script src="http://www.google.com/jsapi"; type="text/javascript"></
> script>
>  <script type="text/javascript">
> google.load("jqueryui", "1");google.load("jquery", "1");
> google.load('gdata', '2.x', {packages: ['analytics']});
> gadgets.util.registerOnLoadHandler(Babynews.init);
> </script>
>
> < OTHER JS LIBRARIES >
>
> < HTML CONTENT >
>
> ]]> </Content>
>
> </Module>
>
> --
> You received this message because you are subscribed to the Google Groups
> "iGoogle Developer Forum" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-gadgets-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/Google-Gadgets-API?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en.

Reply via email to