<!-- This example is from the book _JavaScript: The Definitive Guide_. --> <!-- Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates. --> <!-- This example is provided WITHOUT WARRANTY either expressed or implied.--> <!-- You may study, use, modify, and distribute it for any purpose. --> <!-- This script jumps to a new page if JavaScript 1.1 is supported --> <!-- it also set a flag that we can test for below so we don't display --> <!-- the message during the time the browser is loading the new file --> <SCRIPT LANGUAGE="JavaScript1.1"> <!-- location.replace(location.search.substring(1)); self.loading =index.html true; // --> </SCRIPT> <!-- Otherwise we display a message, either in HTML or with JavaScript 1.0 --> <SCRIPT LANGUAGE="JavaScript"> <!-- --> <HR><H1>This Page Requires JavaScript 1.1</H1> <!-- --> Your non-JavaScript browser cannot run this page.<HR> <!-- if (!self.loading) { document.write('<HR><H1>This Page Requires JavaScript 1.1</H1>'); document.write('Your JavaScript 1.0 browser cannot run this page.<HR>'); } // --> </SCRIPT>
file: /Techref/language/JAVA/SCRIPT/definitive/examples/18.6.txt, 1KB, , updated: 1997/4/4 10:59, local time: 2024/12/24 05:21,
18.225.56.181:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/language/JAVA/SCRIPT/definitive/examples/18.6.txt"> This Page Requires JavaScript 1.1</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.