Revision: 47216
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 2, 2011 22:58 by SFLWebDev
Initial Code
(function() { FB.Canvas.setAutoResize(); document.body.addEventListener('onresize', 'FB.Canvas.setAutoResize'); })();
Initial URL
Initial Description
This script will handle any vertical resizing issues with a Facebook IFrame tab application, such as the resizing of the frame when elements expand, such as a Facebook Comments plugin. It uses the "FB.Canvas.setAutoResize" method from the Facebook JavaScript SDK, so that must be initialized with a Facebook Application ID; for more information, see http://developers.facebook.com/docs/reference/javascript/
Initial Title
Facebook IFrame Tab Resize Fix
Initial Tags
Initial Language
JavaScript