width & height of a window/frame

They have: 44 posts

Joined: Jul 1999

is there an object which holds the width and the height of a window or a frame that will work at MSIE?!?
thanks.
bye bye.

------------------
I bet you never been in this site before...
Deja~vu

I bet you never been in this site before...
Deja~vu

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

How about height="400" and width="400" ??

------------------
Jack Michaelson
[email protected]
! Click here for my profile !

They have: 44 posts

Joined: Jul 1999

well, itried that...
(dha...)

it is not working in MSIE
and i mean:
document.width
or
document.innerWidth

etc...

------------------
I bet you never been in this site before...
Deja~vu

I bet you never been in this site before...
Deja~vu

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

it should work

They have: 5,633 posts

Joined: Jan 1970

Use this DHTML code:

document.body.clientWidth
document.body.clientHeight

------------------
http://go.to/hass

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.