Which of the following DHTML methods is used to control the browser window size, such as
Which of the following DHTML methods is used to control the browser window size, such as
resizing it dynamically via JavaScript?
Show answerHide answer
Correct answer: (A) window.resizeTo()
Explanation
window.resizeTo(width, height) resizes the browser window to the given size (resizeBy changes it by an amount). setSize(), changeSize() and resizeWindow() do not exist.