I've seen similar problems when the Javascript starts to run before all
resources are finished loading. Try starting your Javascript from an onload
handler.

Rob Russell
Google Developer Relations


On Thu, Sep 23, 2010 at 5:14 AM, Kevin <[email protected]> wrote:

> More details:  The HTML renders OK in the GGE Preview pane.  The
> javascript error occurs when I click a button that calls a javascript
> function that uses several gadgets.io methods and fields.
>
> One other question about GGE: the preview tab puts all the html in a
> small dashed-line box that significantly restricts the real estate.
> What is up with that?  I can't seem to adjust it by setting the
> modulePrefs height and width.
>
> On Sep 22, 4:58 pm, Kevin <[email protected]> wrote:
> > Trying to create my first gadget using Google Gadget Editor in FF
> > 3.6.8.  Tried to use the gadgets.io.makeRequest() method per the
> > Gadgets API Reference (http://code.google.com/apis/gadgets/docs/
> > reference/) and the error console only says "gadgets.io is
> > undefined".  No other errors.  What am I doing wrong?
>
> --
> 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