Forum Moderators: open
EXAMPLE:
setup.js
----------------------------------------------------
function CreateHeader() {
document.writeln('Put Header Stuff In Here');
}
function CreateFooter() {
document.writeln('Put Footer Stuff In Here');
}
index.html
-----------------------------------------------------
<HTML>
<HEAD>
<TITLE>My Keywords</TITLE>
<META NAME="keywords" CONTENT="My Keywords">
<META NAME="description" CONTENT="My Descriptions">
<script LANGUAGE='JavaScript' src="js/setup.js"></script>
</HEAD>
<BODY>
<script LANGUAGE='JavaScript'>CreateHeader()</SCRIPT>
Some optimized Text
Bla bla bla
<script LANGUAGE='JavaScript'>CreateFooter()</SCRIPT>
</BODY>
</HTML>
I'm under the impression that Ink. Likes small pages so because of this. I thought it would be handy to have doorways that look like your own site, but have small file size. Any input as to how this trick has worked for people is greatly appreciated.
Thanks in Advance.
Keep in mind that a few users who don't handle javascript won't see the included content, but it doesn't sound like that is a big deal for what you have in mind. Be sure you have some navigation links in the optimized text in case the user doesn't get the header/footer.