| Assignment #4 Create a page with an image in it. This image when clicked will open 5 sub windows. 1 in the top left corner of the screen, 1 in the top right corner, 1 in the lower left corner, and 1 in the lower right corner. Also, open 1 in the center of the screen. The URLs for the window can be of your choosing. When the main window is closed, all of the sub windows should also automatically close. If you would like to challenge yourself, using the randomization example from the first class in this course, have a sixth window open in a random location on the page. It should appear in a different location each time the button is pressed.
Reading Assignment in JavaScript for the World Wide Web: Ch. 3, p. 29-58 (language essentials) |