<script>
var bgg=['a.jpg','b.jpg','c.jpg'];
var count = 0;
function on_load(){
document.body.style.background="url("+bgg[count]+")";
if (++count == bgg.length){
count = 0; } }
setInterval("on_load()",1000);
</script>
可以换成类似CSS变换的,这个是改过来的。呵呵