target="_blank"of the A tag. This is a quick and easy solution.
Put this script in the HEAD section of the page. The script creates a new
window.open() function, and should be
called from the link:
The function uses the follwing parameters:
The URL of the page that you want to load in the new window.
The name that you give to the new window. This can be useful if you want to reuse a window. If you use the same value a second time then no new window will be created, but the contents of the window will be replaced with the page supplied in the new URL.
You can control the look and size of the new window with a set of window features. These features must be supplied as a single string, with the features separated by commas.
This parameter is optional. If you do not supply it, the default features
will be available in the new window.
Otherwise, if you do supply a value, then only the features you supply will be available in the new window.
|copyhistory||The history of visited pages available in the "Go" menu.|
|directories||The row with buttons that link to predefined addresses.|
The height of the new window in pixels. Replace
|location||The field where the user can enter an URL.|
|menubar||The menubar of the browser.|
|resizable||The possibility for the user to resize the window.|
|scrollbars||Display scrollbars if the page contents do not fit in the window.|
|status||The statusbar of the window.|
|toolbar||The bar with buttons to navigate, like "Back" and "Forward".|
The width of the new window in pixels. Replace
For example, if you want to create a new window, with a size of 400x200 pixels, plus a status bar and the location field, then you must use this features string:
Now a complete link to the file
faq13demo.html with the previous
features looks like this:
Back to the FAQ main page