日期:2014-05-16 浏览次数:20831 次
<?php
header("Content-Type: text/html; charset=gb2312");
?>
<script language="javascript">
function check(){
document.form1.submit();
}
</script>
<script language="javascript">
function re()
{
var http = new ActiveXObject("Microsoft.XMLHTTP");
http.open("GET","message.php",false);
http.send();
var str = http.responsebody;
t.innerHTML=str;
setTimeout( "re()" , 2000 );
}
</script>
<script language="JavaScript" type="text/javascript">
window.setInterval("run()",100);
function run()
{
with(window.document.body) {
setAttribute("scrollTop",40000);
}
}
</script>
<body onLoad="re();">
<span id=t>Loading...</span>
</body>