Possible Duplicate:
how to dynamically increse the height in facebook app
I am developing flash app for Facebook, fluid layout is best for me except when my user resolution is to small, I wish Facebook had a minimum property for canvas size.
So until they will implement it I wish to change my canvas setting from JavaScript, is it possible to set dynamically my canvas settings size?
I have already answer a similar question here:
how to dynamically increse the height in facebook app
You have to set
FB.Canvas.setSize()and later check if canvas loaded withFB.Canvas.setDoneLoading()and in the response you can run theFB.Canvas.setAutoGrow()An example: