http://www.forosdelweb.com/f13/cambi...os-seg-535315/
Mira ese enlace. Se me ocurre que lo que quieres se puede hacer con:
Código:
function setFondo()
{
arrImages=new Array('urlImagen1', 'urlImagen2', ...);
var i=Math.round(Math.random()*arrImages.lenght);
window.document.style.background=arrImages[i];
}
Y llama a la función en el
onload del
body. No probé el código, así que puede tener errores. ¡Suerte!