R
Ralf Koms
Hi,
I would like to reference some other HTML files within an "main" HTML file
(within the "header"),
Something like this:
<link rel="part1" href="file1.htm">
<link rel="part2" href="file2.htm">
<link rel="part3" href="file3.htm">
etc.
I would then like to include (within the BODY section) the HTML code of the
referenced pages within the "main" HTML file.
E.g. in a table:
<table>
<tr>
<td>
Code of file1.htm
</td>
</tr>
<tr>
<td>
Code of file2.htm
etc.
My idea was to fetch via
document.getElementsByTagName("link") or
document.getElementsByID(...)
the appropriate objects and to iterate over them.
But how can I then write out the actual code contained in the HTML parts I
want to include ?
Is there sth. like "write.out()" ?
Or is there an even easier way ?
Thanks...
I would like to reference some other HTML files within an "main" HTML file
(within the "header"),
Something like this:
<link rel="part1" href="file1.htm">
<link rel="part2" href="file2.htm">
<link rel="part3" href="file3.htm">
etc.
I would then like to include (within the BODY section) the HTML code of the
referenced pages within the "main" HTML file.
E.g. in a table:
<table>
<tr>
<td>
Code of file1.htm
</td>
</tr>
<tr>
<td>
Code of file2.htm
etc.
My idea was to fetch via
document.getElementsByTagName("link") or
document.getElementsByID(...)
the appropriate objects and to iterate over them.
But how can I then write out the actual code contained in the HTML parts I
want to include ?
Is there sth. like "write.out()" ?
Or is there an even easier way ?
Thanks...