![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
I think what Murray was fazed by is the notion that you have to update copyright notices "once a year." The copyright year is the year in which the work was created. If that was 1999, the the copyright will be 1999, no matter what the year is now. So updating copyright notices to the current year is pointless and may actually invalidate them. Typically, one simply puts a blanket copyright on the contents of a web site: Web site copyrighted 1998-2005 etc... -Darrel |
#12
| |||
| |||
|
|
That's what this js is supposed to do |
#13
| |||
| |||
|
|
That's what this js is supposed to do Oh, right. I'm just saying that if it was an SSI, that'd be fairly trivial to update. -DArrel |
#14
| |||
| |||
|
|
Oh, right. I'm just saying that if it was an SSI, that'd be fairly trivial to update. |
#15
| |||
| |||
|
#16
| |||
| |||
|
|
My website http://www.crimedoctor.com has Java Scripts at the very bottom of the page for updating the copyright year and page last updated date. It displays the year perfectly in IE 6.0 as ?5/16/2005? However, in Netscape and Firefox the Java Script displays the year as ?5/16/105? Can anyone advise me how to fix this code?I can?t see the error? Here is the Java Script code: script type="text/javascript"></script script type="text/javascript">function todayStr() { var today=new Date() return today.getMonth()+"/"+today.getDate()+"/"+(today.getYear()) } function yearStr() { var today=new Date() return today.getYear() } /script Copyright © 1996- script type="text/javascript">document.write(yearStr())</script - Aegis Books, Inc. - All Rights Reserved - <br Page Last Updated - script type="text/javascript">document.write(todayStr())</script |
#17
| |||
| |||
|
|
My website http://www.crimedoctor.com has Java Scripts at the very bottom of the page for updating the copyright year and page last updated date. It displays the year perfectly in IE 6.0 as ?5/16/2005? However, in Netscape and Firefox the Java Script displays the year as ?5/16/105? Can anyone advise me how to fix this code?I can?t see the error? |
#18
| |||
| |||
|
|
p id="foo" style="display:hidden" |
#19
| |||
| |||
|
|
Mick White wrote: p id="foo" style="display:hidden" p id="foo" style="display:none" Gary Yep. |
#20
| |||
| |||
|
|
Yep. Thanks, Gary. |
![]() |
| Thread Tools | |
| Display Modes | |
| |