Including Files in html


(see also Including Files in html (include_file.html) - non server side (non-ssi))

This is server side include test. Is there anyway to detect that this is off and give them the link? the method below puts the link to the text in a right table cell, which will be obvious if the include is not there.

this is the included text w/in the bigger document.

Here's a new paragraph of text.
and here's an included table with one cell.
included text last updated Sep 19, 2001

[another copy of included_text.html to the left]


in this version, i use javascript to determine if the included text was included. Ie, i set included_txt to 0, and then in the included file itself, i set it to 1. Then i check if it was included after.

this text is in included_text.2.html and is included in this enclosing document.

it also contains javascript to turn var included_txt on so that the following javascript in the enclosing file can tell whether it happened or not.

included text last updated Sep 22, 2001


Return to
Including Files in html / last updated Sep 22, 2001 (as reported by author) / Last Modified (as reported by javascript) / created Sep 19, 2001
me