0
我想从我的Facebook应用程序中删除滚动条。 我试过js解决方案,用以下js代码和一些css(overflow:hidden)在html和body标签上。如何让应用程序的iframe包装滚动=“no”
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId: 'My_App_Id',
status: true,
cookie: true,
xfbml: true
});
FB.Canvas.setAutoResize(7);
};
(function() {
var e = document.createElement('script');
e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/it_IT/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
如果我看到其他的应用程序,我发现自己已经滚动的iframe包装设置为“无”的财产,这是神奇的所有浏览器。
我无法在任何模式下将滚动值设置为“no”。
我该怎么办?
感谢您的帮助! 安东尼
这正是我一直在寻找。谢谢 – Antonio