以下为引用的内容:
<head> php程序员之家
<script> // Refresh code r_s = 0; timenow = 0; function calrs() { d = new Date(); h= d.getHours(); m = d.getMinutes(); s = d.getSeconds(); if( m < 10) m = '0' + m; if( s < 10) s = '0' + s; status = ' ' + h + ":" + m + ":" + s; r_s = 2000; } www~phperz~com
calrs(); phperz~com
function reload_me() { c = document.getElementById("reload1"); c.src = ""; c.src = "XXXXX.php?reload=1"; phperz.com
calrs(); setTimeout('reload_me()', r_s); } php程序员站
// Refresh code setTimeout('reload_me()', r_s); </script> www.phperz.com
<script id="reload1"></script> www.phperz.com
</head><small> <div id="p_show></div> phperz~com
</small> php程序员站
|