Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/12/2009, 11:29
Avatar de jackson666
jackson666
 
Fecha de Ingreso: noviembre-2009
Ubicación: Buenos Aires, Argentina
Mensajes: 1.971
Antigüedad: 15 años, 4 meses
Puntos: 65
Respuesta: cambiar un valor del css desde javascript

Código PHP:
var width=screen.width;
var 
height=screen.height;

var 
itm=document.getElementById("item1");

itm.style.width=width+"px";
itm.style.height=height+"px"