|
You are here:
This page uses an onLoad handler to open a second window 400 x 400 pixels in size,
50 pixels from the upper left corner of the browser. A classic
"popup" window...
View source to see how it's done.
The basic code syntax for Internet Explorer 3+ is as follows:
newWindow =
window.open([URL] [,Name] [,Features] [,Replace])
 |
URL is the URL of
the new page to open |
 |
Name is the name
you want to give the new window |
 |
Features lets you
configure the window |
 |
Replace specifies
whether the URL that is loaded into the new window should should
create
a new entry in the browsing history. If this argument is set to
true, no new history entry is created for the new page. |
One application of this might be for a window containing a form, its
confirmation or a password field. You might not want the user to browse back to that page through the history method.
Arguments shown in brackets above are optional, and the commas within the
brackets only need to be there if you use an optional argument.
Click to open the test window again.
Click Here to reload the page from a local function
Click to load Sandra's Page Home
-- Sandra

|