Visual Basic (1)
Obtain screen and current window size in VBScript
7 comments. Current rating: (5 votes). Leave comments and/ or rate it.
Question:I want to adjust my web page's controls to the browser window size. How can I find the size of the browser's window?
Answer:VBScript has the screen variable with properties height and width. Use document.body.clientWidth and document.body.clientHeight for the viewable size.