以下为引用的内容: <script>加在根目录下header.asp,找到<!--顶部-->把代码加在下面就可以了 function noneme(){ document.getElementById("pop").style.display="none"; } </script> <a name="top" id="top"></a> <div id="pop"> <table width="984" border="0" cellpadding="0" cellspacing="0" background="http://www.veryhuo.com/upload/userup/87/60china.gif"> //前面是您的图片地址 <tr> <td width="4%" height="58" align="center"></td> <td width="90%" align="right"><SPAN id=span_dt_dt></SPAN> <SCRIPT language=javascript> <!-- //document.write(""); function show_date_time(){ window.setTimeout("show_date_time()", 1000); BirthDay=new Date("October 1 00:00:00 2009");//这个日期是可以修改的 today=new Date(); timeold=(BirthDay.getTime()-today.getTime()); sectimeold=timeold/1000 secondsold=Math.floor(sectimeold); msPerDay=24*60*60*1000 e_daysold=timeold/msPerDay daysold=Math.floor(e_daysold); e_hrsold=(e_daysold-daysold)*24; hrsold=Math.floor(e_hrsold); e_minsold=(e_hrsold-hrsold)*60; minsold=Math.floor((e_hrsold-hrsold)*60); seconds=Math.floor((e_minsold-minsold)*60); span_dt_dt.innerHTML="<b><font color=ffffff>距新中国成立60周年庆还有"+daysold+"天"+hrsold+"小时"+minsold+"分"+seconds+""+"秒</b>"; } show_date_time(); //--> </SCRIPT></td> </tr> </table> </div> |
图片素材,请右击另存为...
上一篇 来自阿里巴巴的海外淘宝联盟