9 messages in com.googlegroups.google-gadgets-apiRe: _IG_AdjustIFRameHeight() issues
FromSent OnAttachments
shau...@gmail.com22 Jun 2007 08:19 
Dann (Google Employee)22 Jun 2007 12:38 
Dann (Google Employee)22 Jun 2007 12:39 
shau...@gmail.com22 Jun 2007 12:47 
Justin McConnell24 Jun 2007 14:25 
shau...@gmail.com25 Jun 2007 06:41 
Dann (Google Employee)25 Jun 2007 17:29 
shau...@gmail.com26 Jun 2007 06:51 
Dann (Google Employee)27 Jun 2007 08:34 
Subject:Re: _IG_AdjustIFRameHeight() issues
From:Justin McConnell (bool@gmail.com)
Date:06/24/2007 02:25:19 PM
List:com.googlegroups.google-gadgets-api

If the "Show Summaries" user preference is not selected then this error manifests. In the _IG_FetchFeedAsJSON callback, the summary divs with ids c0, c1, c2, etc. are never written. Then DoReadMore and AbandonReadMore throw errors when they try to access the .style property of an undefined object. This change ought to fix it:

if(document.getElementById(tid3)) { // do your three lines of code with tid3 }

On Jun 22, 12:48 pm, "shau@gmail.com" <shau@gmail.com> wrote:

I'm not getting any JS errors at all. I've checked it three times before replying... + does open up the summary and still no error.

On Jun 22, 3:40 pm, "Dann (Google Employee)" <d.@google.com> wrote:

Hey Shaun,

When I click on the '+' icon, it's currently throwing a JS error:

document.getElementById(tid3) has no
propertieshttp://21.gmodules.com/ig/ifr?url=http://shauncallaghan508.googlepage... Line 28

Can you let me know when this is fixed?

Thanks, Dann

On Jun 22, 8:19 am, "shau@gmail.com"

<shau@gmail.com> wrote:

I have dynamic content so i need to have the height resize. I've had no problem when all that happened was you clicked a plus sign and the content showed and the window resized. After I threw in a scriptaculous hide and fade in code, the resize only happens every two plus clicks. The first time you click a plus to reveal the summary it shows, but the window doesn't resize. When you click another plus sign again you get the summary for that then the window resizes. The issue is that it does not resize every time the function is called. Can anyone help me?