CIS89C: Client-Side Programming with JavaScript

Week 5

Assignment 5


Window, Document


Due Date: Week 6 Day 1
50 points (Layout: 10, Content: 40)

DO NOT USE ANYTHING THAT WE HAVE NOT LEARNED YET. THE LESSONS STOP AT WEEK 5. We want to learn step by step, i.e. be able to use what we have learned during the first 5 weeks.

Think along the line of your business, hobbies, or personal Web site.

Create an Employment page. So create a link to Employment. When clicked, the employment page is loaded.

Have at least 2 job positions. Create a link for each job position. When clicked on a job position, a popup window is created (create a function to load the appropriate job position). It must be focused to be in front of all the other windows.

The new popup window must have the following attributes:

  • height is 300 pixels
  • width is 500 pixels
  • no toolbar
  • no menubar
  • no location
  • scrollable
  • resizable
  • display a message on the status bar (anything you want)
  • in the popup window, display the description for that job position. Use an html document to store the description (i.e. you have 2 html documents)
  • in the popup window, create a link to print the popup window. Once clicked, the page is printed and the popup window is closed. Use setTimeout.

Make sure to read the requirements very carefully. Once your assignment is submitted, it's not allowed for you to redo it. I do not regrade. One day late is 10% off. A perfect assignment with more than 2 weeks late will get a maximum of 10% only.

Email me in the format shown below to inform me that your lab is ready to be graded. I highly suggest you send yourself a courtesy copy (cc).

{Your name}
{Your Voyager account name (e.g. xyz36459}
{Class: CIS89C}
{Assignment #5}

I cannot grade if I don't receive your email.