Hi Anu,

No, unfortunately, there is no way to link your preference UI from the
"Edit Settings" menu. The Google gadget API does not offer a way to do
this. Also, as you can see, the menu to delete, configure, etc. the
gadget is outside the iframe in which your code is running. As the
iframe content is rendered on gmodules.com or other domains different
from the container page (usually google.com), there is no
communication allowed by the browser from the inside of the iframe to
the parent. In other word, no work around to do this by yourself
either.

I think the best approach is to make all your prefs hidden such as
Edit Settings does not show up at all, and add a small button in the
top left or top right corner of your gadget for enabling your
preference UI.

Cheers,

Jerome

On Jan 13, 9:30 pm, Anu <[email protected]> wrote:
> Thanks a lot Jerome.It surely helps.
> Just one more question.Can i link my customized user prefrence UI to
> "edit settings" option in menu?
>
> On Jan 12, 12:47 pm, Jerome <[email protected]> wrote:
>
> > Hi Anu,
>
> > Without diving in the gory details, you will have to use the SetPrefs
> > API:http://code.google.com/apis/gadgets/docs/fundamentals.html#SetPrefs
>
> > You will have to decide if you want to allow the user in the "Edit
> > Settings" menu, or if you want them to only use the way you intended.
> > If you defined all your prefs as hidden, the "Edit Settings" menu will
> > not be available to the user.
>
> > The UI part of the user preference management you will design is
> > classic HTML/JavaScript and AJAX if you'd like. The only specifics of
> > iGoogle will be the use of the SetPrefs API.
>
> > I hope this helps.
>
> > Jerome
>
> > On Jan 11, 6:55 pm, Anu <[email protected]> wrote:
>
> > > I want to use my own UI(html) for google gadget user prefrences.Can
> > > somebody let me know how to develop my own user prefrences UI for
> > > google gadgets.
>
> > > Thanks
> > > Anshu- Hide quoted text -
>
> > - Show quoted text -
-- 
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