Forum Moderators: mack

Message Too Old, No Replies

Displaying 1 (pref. 3) html/asp pages in a html page

loading html pages in a html page

         

TeraByte 101

6:12 am on Sep 24, 2002 (gmt 0)

10+ Year Member



Hello all,

I want to build a page with 3 table colums, in the middle colum i want to load html/asp pages (3 of them), now I'me looking for a method to do this, i pretty sure i've seen it work before.

If any one can help me, or point me to a site that does this, i would be very HaPPy ! ;-)

Thanx,

BlobFisk

8:53 am on Sep 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebMasterWorld TeraByte_101!

Do you want to load the 3 pages at the same time, or load one that link to the other 2?

On first glance it looks like frames are the way to go, but I personally try to keep away from them. Could you just clarify if you want all 3 pages to load at the same time, or link one to the other?

Frames would work by laying out your page like this:


--------------------------
¦ Left ¦ Content ¦ Right ¦
--------------------------

Where you could load you pages into the centre, content area.

Is this what you are looking for?

TeraByte 101

6:15 pm on Sep 24, 2002 (gmt 0)

10+ Year Member



Hi,
I also was hoping to avoid any frames (frameset)(or java) too.
My first choice would be loading 3 pages into a table?
But if you can help me loading "One", into a table i would be happy for a start ;-)

Thanx !

korkus2000

6:18 pm on Sep 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I believe you want to use the include directive. It will include .asp files.
<table>
<tr>
<td>
<!--#include virtual="somefilename.asp"-->
</td>
<td>
<!--#include virtual="somefilename.asp"-->
</td>
<td>
<!--#include virtual="somefilename.asp"-->
</td>
</tr>
</table>

There are a lot of issues with this. these files will need to be scrubbed of <html> and <body> tags.

jatar_k

6:21 pm on Sep 24, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If they are all going on the same page make sure they don't each have open and close html,head,body tags. That would make a bit of a mess.