Exercise #14
The primary purpose for exercise 14 is:
-
Develop limited familiarity with JavaScript for page enhancements.
-
Learn how to use functions.
-
Learn to open pop-up windows.
- Learn to define an object.
- Use function to change images.
- Learn to code <a> tags so they call the function.
Guidelines for grading:
-
They should submit the files properly. (-2 max)
-
Includes <body> event and functions to open alert dialogs (-3 max)
-
Include pop-up window code (-2 max)
-
Includes code needed in anchors to call pop-up code (-5 max).
- Includes image object definition and function in <script> section.(-3
max).
- Anchors properly coded to perform rollover (-5 max).
- Properly coded with all structural elements. (-1 for missing <!doctype>)