Hi Romary,

I'm afraid your first/preferred option isn't going to work. The
Developer Gadget is inlined, a technology that's been discontinued for
all developers except Google. See
http://groups.google.com/group/Google-Gadgets-API/browse_thread/thread/5776dc1be6dfd0b/8be5fae1f3f07af3
for extensive discussion.

To improve your second option, try adding an attribute of
target="_top" to the <a> tag for the http://www.google.com/ig/adde?moduleurl=
links. That should break you out of the iframe without opening a new
window or tab.

String

On Feb 26, 4:24 pm, Romary Kremer <[email protected]> wrote:
> Hi all,
>
> working on igoogle gadgets technology for few month, I am realy found
> of the "Developper" gadget, which allows to add other gadgets from
> their spec url  !!
>
> Now, as I am working on a prototype for my team, one of our use case
> would be to have a gadget able to do the same thing (some kind off
> Graphical Gadget Repository).
>
> I've looked inside the source code of developper gadget and can
> isolate the portion responsible for the add of a gadget in the
> container : it makes invocation to _add_remote_module() function with
> url and callback function as parameters.
>
> On a first try, I have inocently reproduced portion of code and
> adapted it to take in consideration my own ways to get specUrl and
> callback.
> Unfortunately, this first attempt failed :( doing NOTHING !
>
> On a second try, I decided to reuse the existing features that allows
> to add a gadget from a hyperlink, but as my gadget is running in a
> iframe, it implies that the link to add gadget must be opened in an
> other window or other tab
> adding a gadget create a popup with a link 
> tohttp://www.google.com/ig/adde?moduleurl=with the specified url
>
> Even if the second try can satisfy the requirement, my team and I  do
> not like it so much as it is not as straight forward as the feature
> proposed by the Developper gadget.
>
> I am asking for people who have that need to add gadget from a gadget
> and if their is a common fashion to workaround that issue.
>
> Best Regards,
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to