开发者

minimum height for facebook iframe?

How do you set the minimum height for an app in facebook? Do I need to modify the viewport ?

Here is my current viewport info:

<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale开发者_运维问答=1,user-scalable=no" />


The default height can be set through your app dashboard (on the Facebook Developers website); setting it to 'fluid' should allow you to resize it on the fly.

I'd suggest using CSS to control the height (either of the canvas, or a containing div) in different circumstances, though from a user's perspective it would be better if you could keep the canvas height consistent throughout your app...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜