Tema: Firefox
Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/09/2007, 13:39
Avatar de mdk
mdk
 
Fecha de Ingreso: noviembre-2002
Mensajes: 531
Antigüedad: 22 años, 4 meses
Puntos: 11
Re: Firefox

Tambien he probado poniendo estos estilos...

.DisplayOn {
display: block;
}
.DisplayOff {
display: none;
}


y este codigo javascript

function VWindow(VTop,VLeft,VWidth,VHeight,VName) {
Obj = document.getElementById(VName);
Obj.className = "DisplayOn";
Obj.style.top = VTop;
Obj.style.left = VLeft;
Obj.style.width = VWidth;
Obj.style.height = VHeight;
}
function WAdm() {
WHeight = 300;
WWidth = 700;

Vent1 = (document.body.clientHeight / 2) - (WHeight / 2);
Vent2 = (document.body.clientWidth / 2) - (WWidth / 2);

Sb1a = (document.body.clientHeight / 2) - (WHeight / 2) - 20;
Sb1b = (document.body.clientWidth / 2) - (WWidth / 2) - 20;
Sb1c = WWidth + 40;
Sb1d = WHeight + 40;
VWindow(Vent1,Vent2,WWidth,WHeight,"Ventana");
VWindow(0,0,document.body.scrollWidth,document.bod y.scrollHeight,"fondo");
VWindow(Vent1,Vent2,WWidth,WHeight,"Ventana");
}


Y sigue dando error en la misma linea, haga lo que haga...
__________________
SoY Lo Ke VeS iNKLuSo KuAnDo No Me VeS ;)