Código:
<head>
<script type="text/javascript">
<!--
function ImagenesObj() {
n=0;
this[n++]="imagen1.jpg";
this[n++]="imagen2.jpg";
this[n++]="imagen3.jpg";
this[n++]="imagen4.gif";
this[n++]="imagen5.gif";
this[n++]="imagen6.jpg";
this[n++]="imagen7.jpg";
this[n++]="imagen1.jpg";
this.N=n;
}
var Imagenes=new ImagenesObj();
src= Imagenes[ Math.floor(Math.random() * Imagenes.N) ] ;
document.write("<img src="+src+">");
//-->
</script>
</head>
Hola, ese es para ponerlo entre head, y yo uso wordpress, y e header.php se la foto del top esta entre body, ese no sirve...
o hay una forma de ponerlo entre body?
no entiendo...