#12004/10/11 9:06:20
情况是这样的,每周自动更新一张图片,我查了一下只发现以下代码,但功能太简单了,请高手帮助下下,谢谢!!
<script>
<!--
var imagetag='<img src="news.gif" alt="1">' var today=new Date() function expireat(expiredate){ var expire=new Date(expiredate) if (today.getTime()<=expire.getTime()) document.write(imagetag) }
//-->
</script>
<script>
expireat("january 1, 2003")