CIT041J Index > Assignment 5

CIT041J - Assignment 5

Read everything before doing anything.

Using this page as your starting point, add JavaScript code to enable mouse rollover. When you roll over a country’s flag, it lights up, as does the corresponding country on the map of Europe. When you roll over the country on the map, it lights up, as does the corresponding flag.

You may get all the image files that you need from this .ZIP file, which expands into a directory called roll_images.

Here are the individual images in that folder, and their names:

flag of France
france0.png
flag of Germany
germany0.png
flag of Spain
spain0.png
flag of Sweden
sweden0.png
flag of France
france1.png
flag of Germany
germany1.png
flag of Spain
spain1.png
flag of Sweden
sweden1.png
Map of Europe
euro_mt.png
Map of Europe (France highlighted)
euro_fr.png
Map of Europe (Germany highlighted)
euro_de.png
Map of Europe (Spain highlighted)
euro_es.png
Map of Europe (Sweden highlighted)
euro_se.png

When You Finish

Name your HTML file in the form lastname_firstname_images.html and email it to the instructor. You don’t need to email the images in the roll_images directory; I already have a copy of those.