Log in

View Full Version : iframe alternatives



scottyt63
06-23-2006, 04:21 PM
hey

I have a site with a layout I love, and a phpbb forum. I want to include the phpbb forum in the site's main layout. An Iframe works perfectly, but I really want to stay away from frames/Iframes. I also tried php include, it also works well, but when you click on a link or thread it brings you to the phpbb forum(without the site layout). Basicly i want http://statecollegespikes.com/fanzone/board/ without the Iframe.

P.S. I have searched all through the Forums and could not find anything about this. I may have missed it though, if so I am sorry.

Diego
06-24-2006, 05:38 AM
Hey Scotty, the solution is I-frames, thats what their good for, might as well use them.


I want to include the phpbb forum in the site's main layout. An Iframe works perfectly good call ;)

another way (that won't work for what you mentioned, but another way is to put that include into a scrollable div. ex:



<!-- css -->
.scrollable {width:200px; height:500px; border:1px solid black; overflow:auto; }

<div class="scrollable">
<?include('whatyouwant.php); ?>
</div>


_good luck

djr33
06-24-2006, 07:27 AM
There is a quote missing after .php above, but, yes, that is a good way to include it.