| window.open(url); | Opens a new window looking at the supplied url, which should be a string. | ||||||||||||||||
| window.open(url,name); | Opens a new window, named with the supplied name, looking at the supplied url. You can use the name to control the window. Both arguments should be strings. | ||||||||||||||||
| window.open(url,name,inits); |
Like the previous examples, but you can use the inits string to
initialize certain things about the window. Here are some possibilities:
|
The open method returns a window that you can put into a variable and use methods on to write into. See the example on page 288.
Here are some examples: