Jump to content

Home

Update copyright year


MrHarper

Recommended Posts

  • 3 weeks later...

<!-- START Self-Updating Copyright Script -->
<script language = 'JavaScript'>
<!--
function y2k(number) { return (number < 1000) ? number + 1900 : number; }
var today = new Date();
var year = y2k(today.getYear());
document.write('[color="Yellow"]JumpStationZ ©[/color] '+year+' [color="yellow"]all rights reserved.[/color]');
//-->
</script> 
<!-- END Self-Updating Copyright Script -->

 

;) Works like a charm for me and my site.. hehe

Might want to change the JumpStationZ part though :xp:

 

EDIT:

actually, all parts in yellow are optional

Link to comment
Share on other sites

  • 5 years later...
  • 4 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...