Opening an external link.
In the root folder of your web, create a folder named javascripts.
Download the JavaScript file xlink.js. (Netscape
users alternate click on the file and choose "Save Link As") Place the
file in a folder on your hard drive (make sure to note where the file is being
saved). Locate the file you just downloaded.
Copy the xlink.js file to the javascripts folder you created in the first step.
On each page that contains the external link, click on the html view. Locate the
<title> tag and immediately below it add this line:
<script src="javascripts/xlink.js"></script>
Now you must update your link, click on the Insert Hyperlink icon. The address
should be as follows:
javascript:doWindow('http://www.okc.cc.ok.us/downtown', 'Downtown College')
Substitute the destination url for http://www.okc.cc.ok.us/downtown and a the
name of your link for Downtown College
If you edit your html, your link should appear as
<a href="javascript:doWindow('http://www.okc.cc.ok.us/downtown', 'Downtown
College')">Downtown College Consortium/ACT Center</a>
Troubleshooting.
1. Check to make sure that the single quotes and double quotes are entered as
indicated in this document.
2. Try <script src=”../javascripts/xlink.js”></script> directly beneath the
title tag.
3.
See the script in action.
Edmond Evening Sun
Page updated:
25 Jul 2006 04:56:21 PM -0500
|