Hi String,

I think there are actually more developers experiencing this issue
than realize it, and are pointing fingers at other parts of the API.
For instance, some gadgets that are shrinking to 0 height upon load
appear to be doing things such as document.write X elements, followed
by a call to _IG_AdjustIFrameHeight. Since the DOM isn't necessarily
loaded when these elements are injected (and when they appear in the
DOM may be different from browser to browser), iGoogle adjusts the
height to 0. At least that's the current hypothesis.

Are your gadgets doing document.write (or those of anyone else
experiencing this issue)?

Thanks,
Dan

On Jun 25, 8:48 am, String <[email protected]> wrote:
> On Jun 25, 4:39 pm, Khai Doan <[email protected]> wrote:
>
> > How many gadgets / developers experienced this problem?  
>
> No idea. There have been a LOT of new problems reported in the last
> few weeks, and most haven't had solutions posted. It's entirely
> possible that some others are related to this, but it's equally
> possible that none are.
>
> > Beside the
> > one mentioned (using your favorite js library to register an onload
> > handler on the iframe), what are other workaround?  
>
> None that I know of; it's up to you to figure out what this change in
> timing might have done in your case and what you might do to fix it.
> The window.onload event was my workaround.
>
> > Is there an official fix for this?  Is there a bug filed for this?
>
> Officially, it's not a problem. The handler's still getting called,
> and in a way that satisfies its description in the documentation
> (http://code.google.com/apis/gadgets/docs/reference/
> #gadgets.util.registerOnLoadHandler), so what problem could there
> be? :^/
>
> Unofficially, yes, it broke a few gadgets - but probably not that
> many, from Google's standpoint. If you're one of the few, too bad.
>
> > How did you find out about this?  Through debugging or is there a
> > discussion thread, etc?
>
> Purely through debugging. There's no official notification of this
> kind of deep implementation change. As for a discussion thread... this
> is it.
>
> String
--~--~---------~--~----~------------~-------~--~----~
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