PDA

View Full Version : Browser Window Size


simonboris
09-27-2004, 02:17 PM
Hi everybody.

I am resizing my browser window manually with the handle bar. I want to get the width and height of the browser window at runtime.

In netscape, i am able to achieve it using 'innerWidth' and 'innerHeight' method.

Is there a similar method in Internet Explorer // or how can i achieve that ?

tg
09-27-2004, 04:51 PM
try:

window.screen.availWidth
window.screen.availHeight