February 27, 2001 - Finding the Window's Size in Netscape 6
![]() |
February 27, 2001 Finding the Window's Size in Netscape 6 Tips: February 2001
Yehuda Shiran, Ph.D.
|
- Use
window.innerWidth to find the window's width (in pixels)
window.innerHeight to find the window's height (in pixels)
window.pageXOffset to find the horizontal scrolled distance (in pixels)
window.pageYOffset to find the vertical scrolled distance (in pixels)


Find a programming school near you