<script>
var aaa=['1280X8001.jpg','1280x800.jpg','fds.jpg'];
var count = 0;
function on_load(){
document.body.style.background="url("+aaa[count]+")";
if (++count == aaa.length){
count = 0;
}
}
setInterval("on_load()",1000);
</script>
将此代码放置于网页中,本人测试过ie6、firefox、遨游、google浏览器都可以
最新评论