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&nocache=0&debug=0&c=0&v=4a066efd97777d0aba7a8678d4913ba8&sv=10&jsload=0"></script>
It has been working well on my asp.net page.
精彩评论