What I would like to do is create header and footer information for my
webpages which are created by calling from a referenced .js page . . . for
example
in Header.js:
<script language="JavaS cript">
function CreateHeader
{
document.writel n("<table>")
document.writel n("<tr>")
document.writel n("<td>")
document.writel n("Stuff")
document.writel n("</td>")
document.writel n("</tr>")
document.writel n("</table>")
}
</script>
in Index.htm:
<body>
<script type="text/javascript">
onLoad="CreateH eader()"
</script>
</body>
Which would give me in this case a Stuff in a one celled table.
webpages which are created by calling from a referenced .js page . . . for
example
in Header.js:
<script language="JavaS cript">
function CreateHeader
{
document.writel n("<table>")
document.writel n("<tr>")
document.writel n("<td>")
document.writel n("Stuff")
document.writel n("</td>")
document.writel n("</tr>")
document.writel n("</table>")
}
</script>
in Index.htm:
<body>
<script type="text/javascript">
onLoad="CreateH eader()"
</script>
</body>
Which would give me in this case a Stuff in a one celled table.
Comment