Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
What does window.clientHeight specifies in mobile screens?

I have a simple doubt that when we specify window.clientheight in JavaScript for mobile screens, does it tells the whole screen's height including navigation panel (shown in image) or it excludes that panel. enter image description here

And if it includes that panel (as I'm guessing), how can I specify only screen's width excluding the panel.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

in your senerio, window.innerHeight is better option for you. I guess.

console.log(window.innerHeight)

about 4 years ago · Juan Pablo Isaza Report

0

clientHeight belongs to an element and window is not an element. So there is nothing for window.clientHeight.

window.clientHeight = undefined

read this, this may help you : https://javascript.info/size-and-scroll-window

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!