Skip to content

Instantly share code, notes, and snippets.

@jshaw
Created July 30, 2012 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jshaw/3211401 to your computer and use it in GitHub Desktop.
Save jshaw/3211401 to your computer and use it in GitHub Desktop.
Possibilities
window.onload = function() {
FB.Canvas.setSize({ height: $(window).outerHeight() });
}
window.onload = function() {
setTimeout(function(){
FB.Canvas.setAutoGrow();
},1000);
}
window.onload = function() {
setTimeout(function(){
FB.Canvas.setAutoGrow();
},1000);
}
$(window).load(function() {
var window_height = $('body').outerHeight();
FB.Canvas.setSize({ height: window_height });
});
window.onload = function() {
var window_height = $('body').outerHeight();
FB.Canvas.setSize({ height: window_height });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment