Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

276
Vistas
get the browser's sceen height, when the console is open

in order to get the browser's screen height,

window.innerHeight in js and $(window).height() in jquery is used.

i have a modal(popup) which i calculate and refresh it's position(i make it center aligned) when it's inner html is changed.

so first i need to compare the modal's new height to the browser screen's height before positioning.

Problem: the problem i have is that when the browser's console is open, the code above doesn't give me the browsers screen height, i gives a much less number

browser height is less when console is opened

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

To find the entire height,

window.outerHeight

or

screen.availHeight

can be used. This will not consider the console size.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda