FF1+ IE5+ Opr7+
Open offsite links in new window
Author: Dynamic Drive
Note: Script rewritten Aug 28th 07'
Description: Concerned about people leaving your site when navigating to offsite links? This script lets you either automatically have all offsite links open in a new window, or let the user decide, via a checkbox. Links that belong to your own domain(s)- as specified by you inside the script- are not affected either way. A quick rundown of this script:
Try clicking on links on this page that do not contain the "dynamicdrive.com" root. Here's some:
Simply add the following script to the <BODY> section of
your page where you wish the "checkbox" interface to appear (applicable
if you're using "
The script above references an external .js file, which you need to download: