Previous Example-|-Next Example-|-Return to Chapter Listing

Example 2.11:
Automatically Forwarding Readers


If you are still viewing this page, your browser isn't JavaScript-enabled. (Maybe you have turned JavaScript off in the preferences--in Netscape Navigator select Options|Security Preferences, click on the General tab, and make sure that the Disable JavaScript check box is cleared.) The script in this page automatically forwards the browser to another document. To slow down the process a little, I've inserted some pictures:


This is the script we used: <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- alert("Our URL has changed. Please bookmark the new one when we forward you to the new page. And please inform the owner of the page you have come from of the change. Thank you.") //--> </SCRIPT> </HEAD> <BODY onload="location='2-11a.htm'">
Previous Example-|-Next Example-|-Return to Chapter Listing