Metropolitan State University

ICS 225 Web Design and Implementation

Spring 2004

 

Lab 3   20 points

Due Jan. 28 (accepted through Feb. 3)

 

Events, Controlling Windows, Functions

 

Part I.  Creating a Pop Up Window

 

Start a new HTML document named lab3.html  On this page provide a link which, when clicked, causes a pop up window to appear (see page 20).  

 

Your pop up window should

 

  • have scrollbars
  • a toolbar
  • be resizable
  • your name in it

 

Put your name in each web page.

Once you have a working solution, change your solution to include a function with at least one argument. 

 

Part II.  Controlling Remote Windows

 

Start a new HTML document named lab3b.html.  From lab3b.html, cause a second pop up window to appear.  In the pop up window, give the user several options.  Each option, when clicked, should cause some change in the original window.  Both the windows should include your name.

Part III.  history()

 

Demonstrate the correct use of the history function (p. 19).  Display an explanation of what you have done in the body of the web page.  That is, as I read your web page, I should see a description of how you are demonstrating the use of the history() function. Show your name on the web page.

 

Turn in:

Upload your solutions to the class server.  Remember that all web pages must be in your public_html directory or one of its subdirectories in order to be visible from the world wide web.

Hand in or email to me the URL's of all of your solutions.