I would like to be able to dynamically change the attributes of an <area>
element in an image map. The following works in IE 6 and Opera 7:
<map name="Map1">
<area shape="rect" coords="10,10,100,50" href="foo.html" id="area1">
</map>
....
<script>
document.area1.href = "bar.html";
</script>
but it doesn't work in Mozilla 1.4. I tried using name="area1", but that
didn't work either. Is there any way to referrence the attributes of an
<area> tag in Mozilla?
thanks,
Gabe