I have used a fb script to increase a size of canvas. Here is the code..
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function () {
FB.init({ appId: '171963559525911', status: true, cookie: true, xfbml: true });
FB.Canvas.setSize({ width: 1500, height: 1500 });
};
(function () {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
} ());
</script>
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js" type="text/javascript"></script>
It is working in all browsers I’ve tested except IE8. In fact also working in IE9 but not working in IE8.
Please suggest me to solve the issue.
Thanks
This is what I use for extending the size of my canvas and it works in all browsers:
You need to have the xd_receiver.htm inside of a publicly accessibly directory as well. Here is the contents of that file:
xd_receiver.htm
EDIT:
Obviously set the height to whatever the height of your content is. Before I had:
But IE seems to not like that. Shouldn’t have to explicitly set the height #, but had to in this case.