Facebook Tab Page Scroll Bar

I make a simple html page and set it on the fader page tab, but the tab that appears on the fan page shows a scroll bar that is already set to automatically resize, and the height of this html page is big, I want to hide the scroll and show the full page

+3
source share
4 answers

Thank you everybody.

Here is the answer to my question; I posted it here so that if any authority finds this question in the future, it will also receive an answer and his / her time will not be wasted. I get the solution by adding the following code immediately before the tag of </body>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>

Once again, thanks to everyone.

+2

, , :

Facebook, .

 javascript :

<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript" charset="utf-8">
    FB.Canvas.setAutoResize();
</script>

, html-, css.

body, html {
    overflow:hidden;
}

, . 18 2011 , Facebook , .

Facebook iframe : http://gpiot.com/facebook-page-tab-hide-scroll-bars-from-iframe/

+10

Go to application settings → Advanced settings → canvas page, you can change the width and height to a fixed one from the liquid

+1
source

All Articles