5 messages in com.googlegroups.google-gadgets-apiRe: Google Module Auto-Height / Dynamic
FromSent OnAttachments
blai...@gmail.com12 Jul 2006 14:10 
Caleb Eggensperger12 Jul 2006 18:40 
TomW13 Jul 2006 10:26 
Caleb Eggensperger13 Jul 2006 11:25 
Justin McConnell14 Jul 2006 11:46 
Subject:Re: Google Module Auto-Height / Dynamic
From:Caleb Eggensperger (cale@gmail.com)
Date:07/12/2006 06:40:09 PM
List:com.googlegroups.google-gadgets-api

If your module is rendered inline, the content isn't in a fixed height iframe but in a div instead. It will resize automatically just like a regular div.

On 7/12/06, blai@gmail.com <blai@gmail.com> wrote:

How do you auto-height or dynamically adjust the height of a Google Module? I've been searching the Internet and Google Groups for a solution and I have seen many people ask this, but no clear answer.

Here is the problem, does anyone have a solution?

I am building a module that will display "useless facts" and other misc. quotes and silly info. Sometimes the displayed text will be as small as a few words. Other times I will need to display an entire paragraph. I have looked into "render _inline" and "scaling", but I am not sure if that is where I should be looking. I have also heard others talk about this being done via a DIV tag and JavaScript.

What I really need here is literally a "Hello World" sample where the height is dynamic based on the content being displayed. I would like to look at the code required to display "Hello World" in an auto-height fashion and be able to display an entire paragraph with the module adjusting size to handle both.