|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
HTML templates
I just made a perl page that used seperate .txt documents to display the headers and constant navigation bars. Is there some way to load headers and stuff like that from a .txt document in a simple HTML page?? I may not have worded this question well, ask me for clarification if neccisary.
|
|
#2
|
|||
|
|||
|
RE: HTML templates
you could use javascript as follows, but you cannot include a txt file with HTML alone.
header.js: Code:
document.write('<html><body>');
index.html: Code:
<script language="javascript" src="header.js"></script> |
|
#3
|
|||
|
|||
|
RE: HTML templates
Thanks for the help, but I cheerfully retract my question. I'm just going to do it w/ PHP.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > HTML templates |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|