Ver Mensaje Individual
  #8 (permalink)  
Antiguo 05/06/2012, 00:46
xinxan22
 
Fecha de Ingreso: septiembre-2005
Mensajes: 522
Antigüedad: 18 años, 7 meses
Puntos: 0
Respuesta: Problemas con screen.width

Emprear:

A que te refieres con los 6 modelos ?

Bueno he probado el código que me has propuesto y el resultado es width: 800 y height: 1003

Furoya:

He probado también con screen.width y también me da los 800 de width



He probado lo siguiente:

Código HTML:
<html>
<head>
<script language="javascript">
function getSize()
{
	var width = window.screen.width;
	var height = window.screen.height;
	document.write("Width: " + width + " Height: " + height);
}
setTimeout(getSize(), 200);
</script>
</head>
<body style="font-size:200%;"></body>
</html> 
También sale width: 800 y height: 1003