in reply to Repetitive HTML data
You can also do it with javascript... but then if the surfer has JS turned off... ouch?? So here's the JS way.
1) Make a .js doc thats all one line like this:
document.write("your HTML HERE");
2) in your main HTML doc where you want that file to be included you put the following line:
<script LANGUAGE="javascript" TYPE="text/javascript" SRC="include.js"></script>
For even MORE fun ... change the SRC to include.pl and write a perl file that dumps out 1 line of javascript which reads:
document.write("blahblahblah");
and you have a dynamic include. :-)
-Erik
|
|---|