spacer
Yehuda Shiran February 27, 2001
Finding the Window's Size in Netscape 6
Tips: February 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Eclipse Helios Update Brings New PHP Tools
Internet Explorer 9 Ups Standards Support
JBoss Portal 5 Release Easier to Use

Netscape 6 is similar to Netscape Navigator 4.x in computing the window and scrollbar sizes:
  • Use window.innerWidth to find the window's width (in pixels)
  • Use window.innerHeight to find the window's height (in pixels)
  • Use window.pageXOffset to find the horizontal scrolled distance (in pixels)
  • Use window.pageYOffset to find the vertical scrolled distance (in pixels)

People who read this tip also read these tips:

Look for similar tips by subject:

webref The latest from WebReference.com Browse >
Flashmaps' DynamicLocator: Interactive Maps for Small Areas · Flashmaps' AreaSelector: Interactive Maps for Wide Areas · The DB Mapper: Interactive Street-level Maps of U.S. and Canada
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags