The following passes the test as valid, and the mouseover for the six
indicated areas also work.
I need various areas to link to another page, including the six
mentioned.
However either the MAP works by itself, or the below mouseover works,
but not both.
Would someone be kind as to lend some help?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Stripp er wells and production</title>
<style type="text/css">
#centerImage {text-align: center;}
</style>
</head>
<body>
<div>
<img src="Usa52.gif" alt="USA map" usemap="#USMap"
style="position : top: 2px; left: 4px; height: 431px; width: 760px;
border-style:none" />
</div>
<div style="position : absolute; top: 64px; left: 264px; "
<img style = "" ALT=""
src='USblk.gif' onmouseover="th is.src='USred.g if';"
onmouseout="thi s.src='USblk.gi f';" >
</div>
<div style="position : absolute; top: 175px; left: 623px; "
<img style = "" ALT=""
src='Ired.gif' onmouseover="th is.src='Iblk.gi f';"
onmouseout="thi s.src='Ired.gif ';" >
</div>
<div style="position : absolute; top: 150px; left: 444px; "
<img style = "" ALT=""
src='IIred.gif' onmouseover="th is.src='IIblk.g if';"
onmouseout="thi s.src='IIred.gi f';" >
</div>
<div style="position : absolute; top: 334px; left: 372px; "
<img style = "" ALT=""
src='IIIred.gif ' onmouseover="th is.src='IIIblk. gif';"
onmouseout="thi s.src='IIIred.g if';" >
</div>
<div style="position : absolute; top: 140px; left: 299px; "
<img style = "" ALT=""
src='IVred.gif' onmouseover="th is.src='IVblk.g if';"
onmouseout="thi s.src='IVred.gi f';" >
</div>
<div style="position : absolute; top: 166px; left: 179px; "
<img style = "" ALT=""
src='Vred.gif' onmouseover="th is.src='Vblk.gi f';"
onmouseout="thi s.src='Vred.gif ';" >
</div>
<div>
<map id="Usa52" name="Usa52">
<area shape="rect" alt="US" coords="264,64, 288,79"
href="gUS.htm" title="US" >
<area shape="poly" alt="CA" coords="157,164 ,151,168,151,17 3,148,182,148,1 89,
153,213,159,216 ,156,222,157,22 5,159,228,162,2 29,162,235,161, 239,166,254,169 ,
254,167,262,171 ,269,177,270,17 7,272,181,276,1 84,276,184,278, 185,280,191,280 ,
196,295,219,297 ,225,281,224,26 5,184,209,189,1 71"
href="gCA.htm" title="CA" >
<area shape="default" nohref="nohref" alt="" >
</map>
</div>
</body>
</html>
indicated areas also work.
I need various areas to link to another page, including the six
mentioned.
However either the MAP works by itself, or the below mouseover works,
but not both.
Would someone be kind as to lend some help?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Stripp er wells and production</title>
<style type="text/css">
#centerImage {text-align: center;}
</style>
</head>
<body>
<div>
<img src="Usa52.gif" alt="USA map" usemap="#USMap"
style="position : top: 2px; left: 4px; height: 431px; width: 760px;
border-style:none" />
</div>
<div style="position : absolute; top: 64px; left: 264px; "
<img style = "" ALT=""
src='USblk.gif' onmouseover="th is.src='USred.g if';"
onmouseout="thi s.src='USblk.gi f';" >
</div>
<div style="position : absolute; top: 175px; left: 623px; "
<img style = "" ALT=""
src='Ired.gif' onmouseover="th is.src='Iblk.gi f';"
onmouseout="thi s.src='Ired.gif ';" >
</div>
<div style="position : absolute; top: 150px; left: 444px; "
<img style = "" ALT=""
src='IIred.gif' onmouseover="th is.src='IIblk.g if';"
onmouseout="thi s.src='IIred.gi f';" >
</div>
<div style="position : absolute; top: 334px; left: 372px; "
<img style = "" ALT=""
src='IIIred.gif ' onmouseover="th is.src='IIIblk. gif';"
onmouseout="thi s.src='IIIred.g if';" >
</div>
<div style="position : absolute; top: 140px; left: 299px; "
<img style = "" ALT=""
src='IVred.gif' onmouseover="th is.src='IVblk.g if';"
onmouseout="thi s.src='IVred.gi f';" >
</div>
<div style="position : absolute; top: 166px; left: 179px; "
<img style = "" ALT=""
src='Vred.gif' onmouseover="th is.src='Vblk.gi f';"
onmouseout="thi s.src='Vred.gif ';" >
</div>
<div>
<map id="Usa52" name="Usa52">
<area shape="rect" alt="US" coords="264,64, 288,79"
href="gUS.htm" title="US" >
<area shape="poly" alt="CA" coords="157,164 ,151,168,151,17 3,148,182,148,1 89,
153,213,159,216 ,156,222,157,22 5,159,228,162,2 29,162,235,161, 239,166,254,169 ,
254,167,262,171 ,269,177,270,17 7,272,181,276,1 84,276,184,278, 185,280,191,280 ,
196,295,219,297 ,225,281,224,26 5,184,209,189,1 71"
href="gCA.htm" title="CA" >
<area shape="default" nohref="nohref" alt="" >
</map>
</div>
</body>
</html>
Comment