Stupid Netscape tricks, JavaScript, and Java

We don't get the chance in this class to learn scripting languages or Java programming, but anyone who can follow a URL, cut and paste, and follow directions can add pre-made goodies to a Web page.

Two ways to do this are via Java and JavaScript, which despite their similar names are entirely different things. Here's a definition from Danny Goodman's JavaScript Pages, http://www.dannyg.com/javascript/javavsjavascript.html:

Java, created by Sun Microsystems, is a full-fledged object-oriented programming language. It can be used to create standalone applications and a special type of mini application, called an applet. Applets are downloaded as separate files to your browser alongside an HTML document, and provide an infinite variety of added functionality to the Web site you are visiting. The displayed results of applets can appear to be embedded in an HTML page (e.g., the scrolling banner message that is so common on Java-enhanced sites), but the Java code arrives as a separate file.

JavaScript, developed by Netscape, is a smaller language that does not create applets or standalone applications. In its most common form today, JavaScript resides inside HTML documents, and can provide levels of interactivity far beyond typically flat HTML pages -- without the need for server-based CGI (Common Gateway Interface) programs.

Copyright _ 1996-2001 Danny Goodman.

There are several likely sources of both Java and JavaScript listed under the summary information for this section.

More information

Matt's Script Archive
http://worldwidemart.com/scripts/

Javascript samples from DynamicDrive.com
http://www.dynamicdrive.com/

HTML goodies: Java and JavaScript
http://www.htmlgoodies.com/downloads/

Java applets from ZD Net
http://cgi.zdnet.com/slink?42087:5279841

Javascript from Internet.com
http://javascript.internet.com/