Exercise Windows

Before you begin, go File...Save As this Wordpad document to your Exercise Folder on your harddrive. Save as Firstname.LastName.exwindows.htm. Also right click and save a copy of the image on this page into your exercise folder if it(jr.jpg) is not already there.
Now, begin your work on your harddrive copy. Comment out each line or section of code using the /* (insert comments here) and */ symbols. See p. 14 for an example.

1. Creating new windows of specific sizes and locations is often used on the World Wide Web. It allows the user to popup a smaller window that can have some extra information on top of the original window. Create the following scripts:

  1. Create a small window that opens up when this page loads. Make the window fix itself in the upper left hand corner of screen. Make the window 200 pixels by 200 pixels and contain the following message: "Thank you for visiting my website. This page was last updated October 4th, 2000. Check back in about a week for a feature story on Rholl, the king of the dufous's."
  2. Create a window that opens by clicking a link off of this page. You create the link. You decide the text that appears with the link. You decide the size and location of the window, but it must have a fixed size and location. The content of the new window must include the picture to the right.

Save this html document into the Exercise Windows Folder on the server. Do a File....Save As....Firstname.Lastname.exwindows.htm an extra copy of your completed document into the Exercises Windows folder on the server. Open up your exercise on the server in a browser to make sure it appears the way your want it.