View Full Version : Importing HTML pages into table cells
Left ear
11-01-2001, 15:38
Do you know how to do it. Im sure Ive seen it somewhere.
The Laughing Cow
11-01-2001, 16:59
are you talking about using SSI to import/embedd another page into your page?
[CN]ZooL
11-01-2001, 17:18
dunno what context u require it in, but theres ssi, but u only get a single choice with that: <!-- #include file="blah.blah" --> - which would insert blah.blah ...
or u could do it with asp - little script to slip a file into the page (maybe using filesystemobject etc) <but wouldnt be processed, so couldnt have asp code in the file.> - could import a chosen page in. but static html/clientside scripts only.
so, ways i could think of doing it: SSI - single choice, can have serverside scripts. ASP - multiple choices, no serverside stuff.
[Edited by [CN]ZooL on 11-01-2001 at 04:21 PM]
Left ear
11-01-2001, 17:33
Yeah it sound like SSI. Ive not reallly looked into this. Do you know any good tutorial sites.
[CN]ZooL
12-01-2001, 00:39
quick SSI file includes tutorial:
If the file u want to insert is in the same dir as the page u r inserting it into.. put this code in
<!-- #include file="file_to_be_inserted.whatever" -->
If the file is in a different dir, use the following. drop back to site root, and fill in the path to the insert.
<!-- #include virtual="../path/file_to_be_inserted.whatever" -->
make sure that the file containing the above code has ext of .shtml (or .asp handles it too - not sure about .php, but assume it would too)
dunno bout tutorial sites. but, here (http://www.anu.edu.au/CNIP/authors/resources/ssisum.html) is a reference of the SSI codes available to u.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.