Removing Vertical Scroll bar from custom fan page tab

In your App Settings:
Canvas width:  Fluid
Canvas height:  Fluid
Page Tab Width:  Normal
 

Just Put the following Code after body tag of your html


<div id="fb-root"></div>
<script>
      window.fbAsyncInit = function() {
        FB.init({
    appId  : 'XXXXXXXXXXXXX',
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml  : true, // parse XFBML
    oauth  : true // enable OAuth 2.0
        });
        //FB.Canvas.setAutoResize(); depreceated
            FB.Canvas.setAutoGrow(1000);
      };
      (function() {
        var e = document.createElement('script'); e.async = true;
        e.src = document.location.protocol +
          '//connect.facebook.net/en_US/all.js';
        document.getElementById('fb-root').appendChild(e);
      }());
</script>





Comments

Popular posts from this blog

371 - Ackermann Functions

Create many folder with one click