Main Content

Tagged: javascript

How to shrink your Facebook tabs iFrame when AutoGrow fails you.

When building a Facebook application tab, Facebook gives you a great function called FB.Canvas.setAutoGrow (formally FB.Canvas.setAutovsize) that allows for the Facebook iFrame to automatically figure out how tall it should be to incorporate all your content. As you switch between pages in your app, it continues to grow as needed.i The downside is that it...

Advertisements
More