留言板

2013-07-12 02:58:11 -0400
«Newer      Older»

----Comments(6)----
此时此刻 (@doubi) | @ at 2014-04-27 01:16:
踩一脚~
此时此刻 (@doubi) | @ at 2014-04-27 01:15:
踩一脚~
solo_ (@zml) | @ at 2014-04-26 06:30:
呵呵
落叶似秋 (@zyw8) | @ at 2014-04-07 12:22:
来看看,不过资源有点少哈
Daydream (@zzz) | @ at 2014-01-07 23:04:
document.write('<b>本站已建立</b><font color=red>')
var urodz= new Date("02/06/2013");
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>天')
document.writeln("</div>");
document.writeln("<div style=\"float:right;\">");
document.writeln(" <script language=Javascript> ");
document.writeln(" function time(){");
document.writeln(" //获得显示时间的div");
document.writeln(" t_div = document.getElementById(\'showtime\');");
document.writeln(" var now=new Date()");
document.writeln(" //替换div内容 ");
document.writeln(" t_div.innerHTML = +now.getHours()+\"点\"+now.getMinutes() +\"分\"+now.getSeconds()+\"秒\";");
document.writeln(" //等待一秒钟后调用time方法,由于settimeout在time方法内,所以可以无限调用");
document.writeln(" setTimeout(time,1000);");
document.writeln(" }");
document.writeln("</script>");
document.writeln("</head>");
document.writeln("");
document.writeln("<body onload=\"time()\">");
document.writeln("<div id=\"showtime\"></div>");
迷失的音乐 (@misw) | @ at 2013-07-12 09:36:

Comment:
Name:

Back to home

Subscribe | Register | Login | N