背景颜色不停变化

磨盘底部运行时间js代码

2014-11-30 17:31:32 -0500
var d= new Date();document.write(d.getFullYear()+'年'+(d.getMonth()+1)+'月'+d.getDate()+'日');document.write(' 周'+'日一二三四五六'.charAt(new Date().getDay()));function time_get(){now = new Date();h="0"+now.getHours();m="0"+now.getMinutes();if(h>9){h=now.getHours()}if(m>9){m=now.getMinutes()}document.write(" "+h+":"+m+"");}time_get();
document.write("<br>");
document.write('<b>本站已稳定运行</b><font color=yellow>');
var urodz= new Date("07/22/2010");
var now = new Date();
var ile = now.getTime() - urodz.getTime();
var dni = Math.floor(ile / (1000 * 60 * 60 * 24));
document.write(dni);
document.write('</font>天');
var e=document.getElementById("ln-h"); if (e) {e.style.display="none"}
«Newer      Older»
Comment:
Name:

Back to home

Subscribe | Register | Login | N