How to create a new frame within a frame page?

All web design questions, hints and solutions can be discussed here.

Moderators: fac51, 117, Chris

Post Reply
User avatar
fac51
Gaming Guru
Posts: 14526
Joined: Sat Jun 14, 2003 11:00 am
Location: Rapture
Contact:

How to create a new frame within a frame page?

Post 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?
Image
arfur
F1 Guru
Posts: 1440
Joined: Sat Jun 14, 2003 5:17 pm
Location: Maranello
Contact:

Post by arfur »

you now have top/left/main and then you want ...?
User avatar
fac51
Gaming Guru
Posts: 14526
Joined: Sat Jun 14, 2003 11:00 am
Location: Rapture
Contact:

Post by fac51 »

another one, a little box, like esato to show the latest posts
Image
arfur
F1 Guru
Posts: 1440
Joined: Sat Jun 14, 2003 5:17 pm
Location: Maranello
Contact:

Post by arfur »

I have not had a chance to look but do they do it with a table?
117
Lowly Janitor Guru
Posts: 12548
Joined: Sat Jun 14, 2003 12:23 pm
Location: a destination a little up the road

Post 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
Image
Image
User avatar
fac51
Gaming Guru
Posts: 14526
Joined: Sat Jun 14, 2003 11:00 am
Location: Rapture
Contact:

Post by fac51 »

be good as if you could do it with a table
Image
117
Lowly Janitor Guru
Posts: 12548
Joined: Sat Jun 14, 2003 12:23 pm
Location: a destination a little up the road

Post by 117 »

not sure if you can get a table to display another webpage tbh
Image
Image
User avatar
fac51
Gaming Guru
Posts: 14526
Joined: Sat Jun 14, 2003 11:00 am
Location: Rapture
Contact:

Post by fac51 »

no im not either
Image
117
Lowly Janitor Guru
Posts: 12548
Joined: Sat Jun 14, 2003 12:23 pm
Location: a destination a little up the road

Post 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!)
Image
Image
Chris
Web Design Guru
Posts: 1641
Joined: Fri Jun 27, 2003 8:16 pm
Location: England
Contact:

Post 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
Post Reply