开发者

gadgets.Prefs in type url Google Gadget

Is it possible to access gadgets.Prefs in conte开发者_运维技巧nt of type="url"?

<Content type="url" href="remote address"></Content>

gadgets.Prefs is set in content of configuration

<Content type="html" view="configuration">


No, i do not think so. I am working around this area at the moment but from what i have read and experimented with the type="url" is a complete sandbox around the app that it contains. cookies and therefore are not preserved either and there is no interaction, other than to display the external app in the iFrame.


Simply add in header:

<script type="text/javascript" src="http://www.ig.gmodules.com/gadgets/js/auth-refresh:core:core.iglegacy:core.io.js?container=ig&amp;nocache=0&amp;debug=0&amp;c=0&amp;v=4a066efd97777d0aba7a8678d4913ba8&amp;sv=10&amp;jsload=0"></script>

It has been working well on my asp.net page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜