| Portada | Monotemáticos | Secciones | Desarrolladores | Comunidad | Servicios | Servicios profesionales | RSS | ||||
| FAQ: Propiedad equivalente a innerHeight en Internet Explorer |
Se muestra un comentario sin revisar
| Juan | 25/2/08 |
| Pues tampoco. Esta buscando una solución para el innerHeight en explorer y utilizando esta respuesta he construido esta función: function getWindowDimensions() { var width, height; if (window.innerHeight) { width = window.innerWidth; height = window.innerHeight; } else { height = document.body.clientHeight; width = document.body.clientWidth; } return {w: width, h: height}; } Pero tampoco funciona. Ahora el error me lo da en el clientHeight... :( :( Gracias. |
|