Hi Vojtech, Yes, you can include the related Javascript libraries to get the dynamic height functionality in an URL gadget, even though this is a bit more complicated. See how to get the path to the correct JS file in the documentation here: http://code.google.com/apis/gadgets/docs/legacy/fundamentals.html#JS_URL
I hope this helps. Jerome On Apr 3, 1:47 pm, Vojtěch Jína <[email protected]> wrote: > Hi, Im working on URL gadget, because I had big problems with my own > OAuth service provider. > Is it possible to set dynamic height for url gadgets ??? > > I use this: > |<Require feature="dynamic-height"/> > > But the iframe has fixed height: 300px. Is it possible to make it > dynamic ? I cant solve it... > > When I call ||_IG_AdjustIFrameHeight() in my code, it returns an error, > the function is not defined. Probably is because of the iframe. > Is it possible, to change dynamicaly the height of the iframe ? > > The same problem is when I want to use user preferences... > My code: > <Require feature="setprefs" /> > <UserPref name="tester" display_name="Testing" datatype="string" > default_value="foo" /> > > But when I call it in JS, inside my iframe... An error: |_IG_Prefs is > not defined... > > Is there any sollution for that ? > |Thanks a lot. > | --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
