Foros del Web » Programando para Internet » Javascript »

alinear al centro una series de imagenes de fondo

Estas en el tema de alinear al centro una series de imagenes de fondo en el foro de Javascript en Foros del Web. Hola a todos, tengo el siguiente código: <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Santiago Talavera Lucas</title> <script type="text/javascript" align="center"> <!-- function ImagenesObj() { n=0; this[n++]="1.png"; ...
  #1 (permalink)  
Antiguo 14/09/2010, 10:32
 
Fecha de Ingreso: septiembre-2007
Mensajes: 104
Antigüedad: 16 años, 6 meses
Puntos: 1
alinear al centro una series de imagenes de fondo

Hola a todos, tengo el siguiente código:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Santiago Talavera Lucas</title>
<script type="text/javascript" align="center">
<!--
function ImagenesObj() {
n=0;
this[n++]="1.png";
this[n++]="2.png";
this[n++]="3.jpg";
this[n++]="4.jpg";
this[n++]="5.jpg";
this[n++]="6.jpg";
this[n++]="7.jpg";
this[n++]="8.jpg";
this.N=n;
}
var Imagenes=new ImagenesObj();
src= Imagenes[ Math.floor(Math.random() * Imagenes.N) ] ;
document.write("<img src="+src+">");
//-->
</script>
<style type="text/css">
<!--
body {
background-color: #006699;
}
-->
</style></head>

<body>

</body>
</html>

Etiquetas: alinear, centro, fondo, imagenes, series
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:17.