Heyy Thank you very much Paul , It worked , You really2 genious
This is the correct xml
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Proxied Content Example">
<Require feature="opensocial-0.8" />
<Require feature="flash" />
<Require feature="views"/>
<Require feature="dynamic-height"/>
</ModulePrefs>
<Content type="html">
<![CDATA[
<iframe src ="http://www.mywebsite.com" width="100%" height="1000">
<p>Your browser does not support iframes.</p>
</iframe>
<script language="javascript">
gadgets.window.adjustHeight();
</script>
]]>
</Content>
</Module>
On Sep 16, 3:34 am, Paul Lindner <[email protected]> wrote:
> You need to call the adjustHeight method. See
>
> http://code.google.com/apis/gadgets/docs/ui.html#Dyn_Height
>
> For more information.
>
> On Wed, Sep 15, 2010 at 8:32 AM, michael <[email protected]>wrote:
>
>
>
> > Hello
>
> > I wanna ask if i have an existing html page which contains
>
> > Flash game and adsense
>
> > What is the xml code to integrate it with opensocial api
> > so it can display my page html ?
>
> > I Try to use
>
> > <?xml version="1.0" encoding="UTF-8"?>
> > <Module>
> > <ModulePrefs title="Proxied Content Example">
> > <Require feature="opensocial-0.8" />
> > <Require feature="flash" />
> > <Require feature="views"/>
> > <Require feature="dynamic-height"/>
>
> > </ModulePrefs>
> > <Content view="canvas" type="url"
> > href="http://www.neko-pixel.com">
> > </Content>
> > </Module>
>
> > But the apps height is 300 only ..
> > Can anybody help me
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "OpenSocial Application Development" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<opensocial-api%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/opensocial-api?hl=en.
>
> --
> Paul Lindner -- [email protected] -- linkedin.com/in/plindner
--
You received this message because you are subscribed to the Google Groups
"OpenSocial Application Development" 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/opensocial-api?hl=en.