16th February 2012 Mario Gheghici

Facebook fan page without scrollbar

Just use this code in your page:


window.fbAsyncInit = function() {
FB.Canvas.setAutoGrow();
}
// Do things that will sometimes call sizeChangeCallback()
function sizeChangeCallback() {
FB.Canvas.setSize({ width: 500, height: 1400 });
}
 

and this at the end of the page:

FB.init({ appId : 'YOUR_AP_ID', status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML });

Of course, you can change the height from 1400px to whatever

About the Author

Mario Gheghici Mario Gheghici has over 15 years' experience in media and advertising. Throughout his career he has been a journalist, a PR expert, advertising guru, and now he is widely known as a social media, online marketing, web development and SEO consultant. | Follow @mariusdigital | Follow on Google+ | Connect on LinkedIn |

Leave a Reply

Your email address will not be published. Required fields are marked *

Get In Touch With Us!

Dream big! With us you can!