Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/03/2002, 18:13
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 5 meses
Puntos: 61
Re: Cambiar fondo dependiendo resolucion!

Mofo!

Creo que te serviría esto:
-------------
<html>
<head>
<title>fondos</title>
</head>

<body id="pepe">

<script>
var x=screen.width

if (x==800){pepe.style.background='url(imagen1.jpg)'}
if (x==1024){pepe.style.background='url(imagen2.jpg)' }
if (x==640){pepe.style.background='url(imagen3.jpg)'}
</script>

</body>
</html>

-------------------------------------

Si tienes cualquier duda... ya sabes... a preguntar!!

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="190" height="51"><param name="bgcolor" value="#0066CC"><param name="movie" value="http://www.webareyou.com/Movie1.swf"><embed src="http://www.webareyou.com/Movie1.swf"></embebed></object>