I have a game in heroku, now I\'m trying to make it work in Facebook canvas, but, while it works in Firefox, in Chrome and IE doesn\'t.
IE shows a warning with a but
To check whether the frame have been loaded, use onload function. Or put your main function in load: I recommend to use load when creating the iframe by js
$('', {
src: url,
id: 'receiver',
frameborder: 1,
load:function(){
//put your code here, so that those code can be make sure to be run after the frame loaded
}
}).appendTo('body');