In this exercise, you will create an imagemap using the coordinates you derived from the image in Exercise One; this imagemap will become the navigation for the frame site you worked on in Module 7. You can download ALL the files you'll need for this exercise from the links at the bottom of this page.
Instructions
IMG
tag, add "widgetNav.gif"
to "leftPage.htm"
; don't forget the WIDTH
and HEIGHT
attributes. Mark "widgetNav.gif"
using the DIV
tag with its ALIGN
attribute set equal to "center"
; this will cause the image to center on the page.MAP
tag to "leftPage.htm"
; set its NAME
attribute equal to "widgetNav"
.AREA
tags into your MAP
tag. Using the shapes and coordinates you derived during Exercise One, program your imagemap information into these AREA
tags.HREF
for the "Widgets" AREA
tag should be "./displayPage1.htm"
HREF
for the "Gadgets" AREA
tag should be "./displayPage2.htm"
HREF
for the "Dingbats" AREA
tag should be "./displayPage.htm"
TARGET
for all three AREA
tags above should be "main"
(the name of the rightmost frame).HREF
for the "Email*" AREA
tag should be "mailto:info@widget.com"
BORDER
attribute of the "widgetNav.gif"
IMG tag equal to "0"
.USEMAP
attribute of the "widgetNav.gif"
IMG tag equal to "#widgetNav"
.P
tag. Test site again; make corrections, as needed.View Solution Code (abbreviated) for "leftPage.htm".
Download Exercise Files
Mac Files (.sit -- 14K)
PC Files (.zip -- 10K)
Copyright © 2001 Michael Masumoto. All Rights Reserved.