| Programming C# C++ (7) Delphi (604) Java (8) JavaScript (55) perl (40) php (12) VBScript (1) Visual Basic (1) |
Obtain screen and current window size in VBScript
(2 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.
Comments:
|