Help > Forum > Website Integration > Embedded forum has extra height or scrollbars
Embedded forum has extra height or scrollbars
Normally the embedded forum will automatically adjust its height so that a scrollbar never appears. However, if pages not hosted by Website Toolbox are loaded within the embedded window, a scrollbar or additional empty space at the bottom of the page may appear. For example, when a user clicks on links that you have specified in your header or footer.You can resolve the problem by upgrading the page which contains your embed code to an HTML5 doctype or by including the following HTML code within the HEAD tag of any page that you try to load within the embedded window:
<script language="JavaScript" type="text/javascript" src="https://cdn.websitetoolbox.com/js/mb/iframeResizer.contentWindow.min.js"></script>
Alternatively, you can specify an HTML attribute of target="_top" on your links so that they open in the full browser window instead of within the embedded window.
Use these instructions to prevent your website pages from appearing within the embed code area.
If you are using an iframe instead of the embed code due to JavaScript restrictions with your web hosting provider, the only way to remove the scroll bars is to specify a very large height for the iframe.
If you still need help, please contact us.