JavaScript Window Properties

jc2823
06-24-2002, 07:59 AM
I am posting this here because the JavaScript forum is having some serious issues!

Situation:

I have a JavaScript menu bar that right now has defaults set for its positioning. So if the user resizes their window, the menu bar is not in the correct location. So, I am looking to try and calculate the width of the browser screen each time the window is resized so that I can use those values to position the menu bar correctly.

Hopefully this is clear enough! Thanks in advance!

jc2823
06-24-2002, 09:07 AM
Nevermind. Figured it out using:

document.body.clientHeight
document.body.clientWidth

Thanks!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum