Problem is, I don't know how to access an element, like the body tag,
that has an onload event handler. I tried using the following code,
<script for="body" event="onload">gadgets.window.adjustHeight()</
script>,
which was recommended in the forums, but it didn't work.

I also tried putting the call to gadgets.window.adjustHeight() in the
onload event of a script tag, but that didn't work either.

Is there anything else I should try?

On Jan 7, 2:51 pm, Cody <[email protected]> wrote:
> Set the resize function to call onload.
>
> On Jan 7, 10:44 am, TechMission <[email protected]> wrote:
>
> > I've created a Bible Verse of the Day and Social Justice Quote of the
> > Day gadget which have varying amounts of text in them. I would like
> > them to be able to resize automatically, so that there wouldn't be an
> > excessive amount of whitespace at the bottom of the gadget. Is it
> > possible to do this?
>
> > I looked at the <Require feature="dynamic-height"> setting, but it
> > looks like you need to call a JavaScript event in order for that to
> > work and I don't have any place to do that since all the gadget does
> > is display text.
--~--~---------~--~----~------------~-------~--~----~
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