Page 1 of 1

How to create a new frame within a frame page?

Posted: Mon Jun 30, 2003 8:17 pm
by fac51
OK have created my index.htm frame page but now wish to create another frame on this page deviating form the standard templates frontpage has to offer?

anyone know how to do this?

Posted: Mon Jun 30, 2003 11:19 pm
by arfur
you now have top/left/main and then you want ...?

Posted: Tue Jul 01, 2003 7:32 am
by fac51
another one, a little box, like esato to show the latest posts

Posted: Tue Jul 01, 2003 6:44 pm
by arfur
I have not had a chance to look but do they do it with a table?

Posted: Tue Jul 01, 2003 6:51 pm
by 117
quite possibly, i know how to do it with frames using notepad, but ed wants to use frontpage and i have no clue when it comes to that

Posted: Tue Jul 01, 2003 6:57 pm
by fac51
be good as if you could do it with a table

Posted: Tue Jul 01, 2003 7:03 pm
by 117
not sure if you can get a table to display another webpage tbh

Posted: Tue Jul 01, 2003 7:08 pm
by fac51
no im not either

Posted: Tue Jul 01, 2003 7:12 pm
by 117
just been lookin, cant see any way of doin it tbh, i may be wrong tho (let's face it, i usually am!)

Posted: Thu Jul 03, 2003 12:40 pm
by Chris
Erm, you can do it in a table, but you need php, and it won't dynamicaly update.


To do it, create the table, and in the <td> tags, enter

Code: Select all

<?php
include("path/to/file.php");
?>


Then you need to change the file name of the page that the table is in to 'filename.php' instead of .htm etc...


I would recommend that you use an iframe though;

<iframe name='iframe' width='x' height='x' src='path/to/phpfile.php'></iframe>

Hope this helps ;)

Chris