/ Published in: JavaScript
removes scrollbars and expand to content height.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- FACEBOOK REMOVE SCROLL ========================================= --> <script type="text/javascript" src="https://connect.facebook.net/en_US/all.js#xfbml=1"></script> <script type="text/javascript"> window.fbAsyncInit = function() { FB.init({ appId: 'APP-ID', }); FB.Canvas.setAutoGrow(); } </script> <style> body{overflow:hidden;} </style>