Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AutoGrow() on facebook page tab - Vertical only
- <script>
- window.fbAsyncInit = function () {
- FB.init({appId: '599920186736332', status: true, cookie: true,
- xfbml: true});
- FB.Canvas.setAutoGrow(); //set size according to iframe content size
- };
- (function () {
- var e = document.createElement('script');
- e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
- e.async = true;
- document.getElementById('fb-root').appendChild(e);
- } ());
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement