Hypermedia Production, Fall 1998
Project 2

The second project focuses on JavaScript. A complete introduction to this scripting language could easily take the rest of the semester. Our objective here is simply to introduce a few basic JavaScript concepts and give you enough acquaintance with the language to use it in conjunction with HTML-4 (Dynamic HTML) later on. Using a good reference book like Flanagan's Definitive Guide, you can teach yourself many more techniques and approaches than we'll cover in this project.

Concept: Create a randomized image display that "samples" views from your QuickTimeVR movie. This display will be delivered on a Web page that checks for the appropriate QuickTime plugin in the user's Web client.

Specifications:

  1. 10-15 images, either captured from screenshots or from your panorama PICT file directly, representing several views of your panoramic space;
  2. A cutout page for users who do not have the right plugin;
  3. A main page containing one named graphic and several scripts.

Store these elements in a single directory. When the main page is loaded, its scripts must:

  1. Check for the appropriate QuickTime plugin and send the user to a cutout page if it is not present;
  2. Select one of your sample images at random and display it in the named graphic space on your page;
  3. Re-activate the random selection and display functions so that the page continues to display images at a certain interval so long as it is loaded.

You will have two weeks to work on this assignment. All the techniques needed to create the project will be explained in the handout for this (the first) week.