iFrame SSI include with no scroll bars

This is how to insert an iframe into your HTML page and have it look like its a part of the page with no scroll bars etc, kinda like an SSI include.

1) Download and follow the instructions for the iframe SSI II include script by dynamic drive

2) If the page that you are including is running from a sub-domain of your site include this javascript in the head of your page. Replacing kumkee.com with your domain.

<script language="JavaScript" type="text/javascript">
	document.domain = "kumkee.com";
</script>

3) To remove any horizontal scrollbars that you might get if your iframes content is to big for the area it has been given add the following css to your iframe.

overflow-x:hidden;

enjoy.


No Comments to “iFrame SSI include with no scroll bars”  

  1. No Comments

Leave a Reply