Excellent copyright updater tip!

I’m updating my web site and I got fed up with having to go through every page & update the copyright notice. I thought there must be an easier (lazier :smiley: ) way of doing this.

After a quick Yahoo search I found this lovely &simple bit of Javascript that I thought you might like:

<SCRIPT language = javascript>
var Today=new Date();
var Year=Today.getYear();
document.write(Year);
</SCRIPT>

No more updating for me anymore… :cool:

Or the one I more prefer:

In your html page:

<script language="JavaScript" src="/footer.js" type="text/javascript"></script>

in footer.js script:

document.write('<hr>');
document.write('<center>');
document.write('<dl><dt>copyright © 2003-2004 <a href="mailto:olly854321@yahoo.co.uk">olly86</a>');

note: you can add as many new lines to this script as necessary

That’s an idea as well. I’ll play with it. Cheers Olly