reading window size

admin

Administrator
Staff member
I have been trying to explore how to read the width and height for a window. I see there is an object innerWidth and innerHeight for window. I tried to print window.innerWidth and I get undefined printed instead of the window value.

Ultimately, I have a cascasing menu that has an image button. Depending on the window size, the button moves from where I want it. I need to be able to control it if I can determine the size of the window. I hope.
 
Back
Top