I'm trying to access in jQuery to the browser width from an iframe inside facebook (app).
The issue is we're not allowed to access to a parent element of an iframe, so I'm trying to get it from a $.post() query where jQuery writes the window with, but since it's a HTTP query, there's no window parameter loaded.
So I'm wondering if we can access to the screen parameter. I mean by this, if there is any browser parameter by default, so I can resize my body page.
For example, if parent.window.width < 500, I want my body width to be set as 500.
Thanks for helping me, I appreciate !


View Solution