Hmm, I was checking on of google gadgets (the "My Gadgets" gadget), which *does not use an iframe*. My gadget does have an iframe though.
I thought only type="url" gadgets used iframe whatsoever. This leads me to the following question: Is there a way to create a gadget that does not use an iframe? Cheers, Marcelo. On Wed, May 5, 2010 at 6:29 PM, Marcelo de Moraes Serpa <[email protected] > wrote: > Hmm, I checked the markup of a couple of gadgets and they don't seem to use > an iframe after all, *except* the ones that use the Content type="url". Am I > missing something here? > > Thanks, > > Marcelo. > > > On Wed, May 5, 2010 at 6:23 PM, Marcelo de Moraes Serpa < > [email protected]> wrote: > >> Oh, I didn't know gadgets used an IFRAME... :( >> >> This could be a big issue for the gadget we want to develop. This specific >> gadget has links that should be opened in the browser context, and not the >> iframe context (i.e as new tabs or browser windows, target: _blank). I >> wonder how one could do that from within a gadget? >> >> Thanks, >> >> Marcelo. >> >> >> On Wed, May 5, 2010 at 6:14 PM, Michael Geary <[email protected]> wrote: >> >>> When you run Firebug on iGoogle, you are running it on the container >>> page, not in the IFRAME that contains your gadget, so it does not have the >>> same global object as your gadget IFRAME. >>> >>> One way to run Firebug on your gadget code is to right click inside your >>> gadget and select This Frame and then any of: >>> >>> Show Only This Frame >>> Open Frame in New Window >>> Open Frame in New Tab >>> >>> Then you'll have your gadget code running in its own browser window or >>> tab, and when you use Firebug you will see gadgets.io and the other >>> objects you expect. >>> >>> -Mike >>> >>> On Wed, May 5, 2010 at 3:57 PM, celoserpa <[email protected]> wrote: >>> >>>> Hello list, >>>> >>>> I haven't dug up deeply into the Gadgets engine nor I plan to right now, >>>> and something intrigued me. If I put this in a <javascript> element inside >>>> the gadget's content: >>>> >>>> alert(gadgets.io.RequestParameters.AUTHORIZATION); >>>> >>>> I get the alert with AUTHORIZATION when opening iGoogle and the gadget >>>> loads. >>>> >>>> However, if, while on iGoogle, I open Firebug and on the console I type: >>>> >>>> >>> console.debug(gadgets.io.RequestParameters.AUTHORIZATION); >>>> >>>> I get the following result: >>>> TypeError: gadgets.io is undefined { message="gadgets.io is undefined", >>>> more...} >>>> >>>> Now, I'm puzzled on how iGoogle makes gadgets.io available for the >>>> gadget only, could someone enlightenme? >>>> >>>> Thanks, >>>> >>>> Marcelo. >>>> >>>> -- >>>> 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]<google-gadgets-api%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/Google-Gadgets-API?hl=en. >>>> >>> >>> -- >>> 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]<google-gadgets-api%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/Google-Gadgets-API?hl=en. >>> >> >> > -- 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.
