Category Archives: JavaScript

Copyright Year Range For Static XHTML Pages

UPDATE (June 22/14): The conditional Server Side Includes in this code no longer appear to work on GoDaddy. Some permission may have been changed on their server… This simplified code does work for XHTML-Transitional, however: <div id=”copyright”>© Chou Seh-fu <script … Continue reading

Posted in Copyright Year Code, HTML & CSS, JavaScript, Server-Side Include code | Comments Off on Copyright Year Range For Static XHTML Pages

Current Copyright Year For Static XHTML Pages

I. With Hard-Coding Originally, the current copyright year for the entry page on this site was hard-coded in XHTML. This worked fine, except it was always necessary to remember to change the current year every January 1st: <div id=”copyright”>© Chou … Continue reading

Posted in Copyright Year Code, HTML & CSS, JavaScript, Server-Side Include code | Comments Off on Current Copyright Year For Static XHTML Pages