franky1978 / igoogle-legacy

Automatically exported from code.google.com/p/igoogle-legacy
1 stars 0 forks source link

A gadget use <Require feature="dynamic-height"/> with syndication doesn't resize #621

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description of the bug/feature.
==================================
A gadget using <Require feature="dynamic-height"/> with syndication 
doesn't resize the window appropriately when used in IE 6, 7 or 8.  The 
call to gadgets.window.adjustHeight(); causes a gadgets is undefined 
javascript error to occur.

PLEASE FILL OUT THE FOLLOWING FOR A BUG REPORT ONLY:

What steps will reproduce the problem?
======================================
1. Open up IE
2. Navigate to a non google page pulling in a gadget using the resize 
functionality:  https://www.thrivent.com/testing/GooZipCodeTest.html 
(javascript error shows up already in IE)
3. Type 618 in the box and click GO (javascript error still there)

What is the expected output?
============================
The expected output is that there be no javascript error and that the box 
would correctly resize itself to show all the information that is returned.

What is the actual output?
==========================
There is a javascript error and the information goes outside the size of 
the gadget window and can't be reached

Which browsers have you experienced this on?
============================================
IE 6, 7 and 8

Which operating systems have you experienced this on?
=====================================================
Windows (I haven't tried it on any other operating system)

Please provide any additional information below.
The gadget works fine when used in iGoogle on IE - it appears just to fail 
when used in syndication.  I've seen others talk about the problem on the 
boards, but I haven't found any solutions.

Original issue reported on code.google.com by becto...@gmail.com on 13 Oct 2009 at 4:54

Attachments:

GoogleCodeExporter commented 8 years ago
Dynamic height isn't supported in syndication, as it requires additional logic 
in the
parent page to adjust the size of the iframe. One approach is make the parent 
page a
lightweight gadget container, using Google Friend Connect:
http://code.google.com/apis/friendconnect/, which does support dynamic height.

Original comment by api.dwh%...@gtempaccount.com on 2 Dec 2009 at 12:20