页脚的自动日期
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了页脚的自动日期相关的知识,希望对你有一定的参考价值。
i found this snippet here on snipplr (see the link up above), and really liked it. it came up with a validation error under Xhtml 1.0 Strict so i changed it to what you see in the bottom.....
var d=new Date(); yr=d.getFullYear(); if (yr!=2002) document.write("-"+yr); </script>
以上是关于页脚的自动日期的主要内容,如果未能解决你的问题,请参考以下文章