Facebook标签高度滚动条 [英] Facebook Tab Height Scroll Bar

查看:161
本文介绍了Facebook标签高度滚动条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做一个简单的html页面,并设置在Facebook粉丝页面选项卡上,但在风扇页面上显示的选项卡显示一个滚动条buti已经设置为自动调整大小,这个html页面的高度很大我想隐藏滚动条并显示完整页面

I make a simple html page and set it on facebook fan page tab but the tab which shows on fan page is shows a scroll bar buti already set to auto resize and the height of this html page is large i want to hide the scroll bar and show the complete page

推荐答案

感谢所有人。

这是我的问题的答案;我把它发贴在这里,以便将来如果任何机构发现这个问题,也会得到答案,他/她的时间不会浪费。我通过在我的索引页面的< / body> 标签之前添加以下代码获得解决方案

Here is the answer of my question; I posted it here so that if any body find this question in future will also get the answer and his/her time is not wasted. I get the solution by adding the following code just before the </body> tag of my index page

<script type="text/javascript">
window.fbAsyncInit = function() {
FB.Canvas.setSize();
}
// Do things that will sometimes call sizeChangeCallback()
function sizeChangeCallback() {
FB.Canvas.setSize();
}
</script>

再次感谢所有。

这篇关于Facebook标签高度滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆