canadianjameson
10-31-2007, 09:56 PM
Hi,
I was wondering, are there any known issues with images maps and differences in coordinates in FF vs IE?
I ask because I'm trying to use an image map for the following application and it works in IE but the clickable area isn't where it's supposed to be in FF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="js/Animator.js"></script>
<script type="text/javascript" src="js/BorderFade.js"></script>
<link rel="stylesheet" href="css/main.css" type="text/css">
</head>
<body>
<div id="mainHome"><img src="images/test4flat.jpg" usemap="#Map">
<map name="Map">
<area id="video" shape="rect" coords="12,397,203,460" href="video.htm" target="_self" alt="Video Reel" onmouseover="zxcAnimator('opacity',this,50,100,'linear',625);" onmouseout="zxcAnimator('opacity',this,100,50,'linear',625);">
<area id="film" shape="rect" coords="247,397,417,461" href="film.htm" target="_self" alt="Film Reel" onmouseover="zxcAnimator('opacity',this,50,100,'linear',625);" onmouseout="zxcAnimator('opacity',this,100,50,'linear',625);">
</map>
<div id="text">
<span onmouseover="zxcBorder('border-Right',link1,1000,'#FFFFFF','#000000','solid #000000 1px');" onmouseout="zxcBorder('border-Right',link1,1000,'#FFFFFF','#FFFFFF','solid #FFFFFF 1px');">JOSEPH BARON</span><br>
<span onmouseover="zxcBorder('border-Right',link2,1000,'#FFFFFF','#000000','solid #000000 1px');" onmouseout="zxcBorder('border-Right',link2,1000,'#FFFFFF','#FFFFFF','solid #FFFFFF 1px');">514.805.6585<br></span>
<span onmouseover="zxcBorder('border-Right',link3,1000,'#FFFFFF','#000000','solid #000000 1px');" onmouseout="zxcBorder('border-Right',link3,1000,'#FFFFFF','#FFFFFF','solid #FFFFFF 1px');">resume<br></span>
<span id="email" onmouseover="zxcBorder('border-Right',link4,1000,'#FFFFFF','#000000','solid #000000 1px');" onmouseout="zxcBorder('border-Right',link4,1000,'#FFFFFF','#FFFFFF','solid #FFFFFF 1px');">josephbaron@gmail.com</span>
</div>
<div id="link1"> </div>
<div id="link2"> </div>
<div id="link3"> </div>
<div id="link4"> </div>
</div>
</body>
</html>
Thanks
I was wondering, are there any known issues with images maps and differences in coordinates in FF vs IE?
I ask because I'm trying to use an image map for the following application and it works in IE but the clickable area isn't where it's supposed to be in FF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="js/Animator.js"></script>
<script type="text/javascript" src="js/BorderFade.js"></script>
<link rel="stylesheet" href="css/main.css" type="text/css">
</head>
<body>
<div id="mainHome"><img src="images/test4flat.jpg" usemap="#Map">
<map name="Map">
<area id="video" shape="rect" coords="12,397,203,460" href="video.htm" target="_self" alt="Video Reel" onmouseover="zxcAnimator('opacity',this,50,100,'linear',625);" onmouseout="zxcAnimator('opacity',this,100,50,'linear',625);">
<area id="film" shape="rect" coords="247,397,417,461" href="film.htm" target="_self" alt="Film Reel" onmouseover="zxcAnimator('opacity',this,50,100,'linear',625);" onmouseout="zxcAnimator('opacity',this,100,50,'linear',625);">
</map>
<div id="text">
<span onmouseover="zxcBorder('border-Right',link1,1000,'#FFFFFF','#000000','solid #000000 1px');" onmouseout="zxcBorder('border-Right',link1,1000,'#FFFFFF','#FFFFFF','solid #FFFFFF 1px');">JOSEPH BARON</span><br>
<span onmouseover="zxcBorder('border-Right',link2,1000,'#FFFFFF','#000000','solid #000000 1px');" onmouseout="zxcBorder('border-Right',link2,1000,'#FFFFFF','#FFFFFF','solid #FFFFFF 1px');">514.805.6585<br></span>
<span onmouseover="zxcBorder('border-Right',link3,1000,'#FFFFFF','#000000','solid #000000 1px');" onmouseout="zxcBorder('border-Right',link3,1000,'#FFFFFF','#FFFFFF','solid #FFFFFF 1px');">resume<br></span>
<span id="email" onmouseover="zxcBorder('border-Right',link4,1000,'#FFFFFF','#000000','solid #000000 1px');" onmouseout="zxcBorder('border-Right',link4,1000,'#FFFFFF','#FFFFFF','solid #FFFFFF 1px');">josephbaron@gmail.com</span>
</div>
<div id="link1"> </div>
<div id="link2"> </div>
<div id="link3"> </div>
<div id="link4"> </div>
</div>
</body>
</html>
Thanks