Summary
In this chapter you've learned:
How to open new windows with
window.open()
How to incorporate various standard browser elements in the new window using the
feature
parameterHow to close the windows you've opened with
window_name.close()
How to move windows to the front of the screen with
window.focus()
How to send windows to the back of the screen with
window.blur()
How to change the message in the window's status bar by setting
window.status
How a window you've opened can affect the previous window with
window.opener
How to resize windows with
window.resizeTo()
andwindow.resizeBy()
How to move windows with
window.moveTo()
andwindow.moveBy()
Congratulations! Now that you know how to swap images and mess with windows, you can handle about 75 percent ...
Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.