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,

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

Javascript samples from

HTML goodies: Java and JavaScript

Java applets from ZD Net

Javascript from