|
Script Introduction
This script will allow you to open as many links as you want to in a new window of their own.
Cut and Paste Code: HEAD Section
This code should be placed between the <head> and </head> tags.
Cut and Paste Code: BODY Section
This code should be placed between the <body> and </body> tags.
Installation Instructions
-
Paste the BODY Section code from above between the <body> and </body> tags on your page,
exactly where you want the forward and back images to appear.
-
Find the matching lines below in the script and change the text in red to
the URLs and text you wish to use:
// set the width and height
var the_width=200;
var the_height=200;
// set window position
var from_top=20;
var from_left=20;
// set other attributes
var has_toolbar='yes';
var has_location='yes';
var has_directories='yes';
var has_status='yes';
var has_menubar='yes';
var has_scrollbars='yes';
var is_resizable='yes';
<a href="javascript:n_window('http://someplace.com/page1.htm');">Link 1</a>
<br />
<a href="javascript:n_window('http://someplace.com/page2.htm');">Link 2</a>
-
Check the Format Window
to be sure you do not have one single line of code, or too many line breaks in the code.
Example
A working sample of the script is shown below.
Link 1
Link 2
|