JavaScript X52.9755

Home Page

The last lecture will be on Thursday, April 30th, not on May 7th. There's a new teacher as of Thursday, April 2nd.

In-class examples

  1. April 2 (lecture 7)
  2. April 9 (lecture 8)
  3. April 16 (lecture 9)
  4. April 23 (lecture 10)
  5. April 30 (lecture 11)

What your web page will have to contain

There will be no midterm or final. You'll be graded on your web page.
  1. A special character or áccented character. Copyright © 1998. What this country needs is a good 5¢ cigar. π = 3.14159. Here's a list of examples. The World Wide Web Consortium has the official list.
  2. An if statement to put different text in the page depending on the date, time of day, browser, screen width, etc.
  3. One or more cookies.
  4. Nested loops to make a style sheet showing the same sentence in different fonts and different sizes. You'll need an Array to hold the names of the fonts.
  5. A form with JavaScript event handlers in some or all of its <INPUT> tags.

Bibliography

  1. Netscape Navigator and Microsoft Internet Explorer JavaScript pages. The Netscape Reference Manual has documentation about each method and property of each object. For example,
    document.write ("hello");
    
  2. The World Wide Web Consortium documentation for scripts in HTML files.
  3. Andrew Wooldridge's JavaScript Index contains examples such as this calculator and Stefan Koch's tutorial.
  4. The JavaScript newsgroup.

Affiliation

Textbook

Spring 1998 dates and room

List the Spring 1998 Section 1 students:
loginname, finger, home page

Please use your acf5.nyu.edu account, not your wwwultra.sce.nyu.edu account:

Spring 1998 Class photos

The <SCRIPT> tags

<SCRIPT>                               JavaScript is the default.
<SCRIPT LANGUAGE = "JavaScript">       Deprecated by the WWW Consortium.
<SCRIPT TYPE = "text/javascript">      How the Consortium wants it.
Better yet, you can set up a default SCRIPT'ing language:
<HEAD>
<META http-equiv = "Content-Script-Type" content = "text/javascript">
</HEAD>

<SCRIPT>

Miscellaneous