Jag har ett knepigt problem med Imagemaps i IE. Jag har ett programm som genererar Imagemaps automatiskt och på vissa sidor funkar alla maps eller så funkar ingen. Alla imagemaps genereras på samma sätt.Imagemap problem
Denna imagemap funkar inte i IE, men i Firefox
<code>
<img name="Status1908" src="images/status0.gif" border="0" ismap="ismap" usemap="#m_Status19082">
<map name="m_Status19082">
<area shape="rect" coords="5,0,10,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 10, 1908)" alt="10%">
<area shape="rect" coords="12,0,17,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 20, 1908)" alt="20%">
<area shape="rect" coords="19,0,24,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 30, 1908)" alt="30%">
<area shape="rect" coords="26,0,31,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 40, 1908)" alt="40%">
<area shape="rect" coords="33,0,38,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 50, 1908)" alt="50%">
<area shape="rect" coords="40,0,45,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 60, 1908)" alt="60%">
<area shape="rect" coords="47,0,52,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 70, 1908)" alt="70%">
<area shape="rect" coords="54,0,59,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 80, 1908)" alt="80%">
<area shape="rect" coords="61,0,66,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 90, 1908)" alt="90%">
<area shape="rect" coords="68,0,73,5" href="javascript: ChangeStatusOnUnderstep(1908,0, 100, 1908)" alt="100%">
</map>
</code>
Denna imagemap funkar i både IE och Firefox
<code>
<img name="Status1913" src="images/status0.gif" border="0" ismap="ismap" usemap="#m_Status19132">
<map name="m_Status19132">
<area shape="rect" coords="5,0,10,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 10, 1913)" alt="10%">
<area shape="rect" coords="12,0,17,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 20, 1913)" alt="20%">
<area shape="rect" coords="19,0,24,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 30, 1913)" alt="30%">
<area shape="rect" coords="26,0,31,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 40, 1913)" alt="40%">
<area shape="rect" coords="33,0,38,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 50, 1913)" alt="50%">
<area shape="rect" coords="40,0,45,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 60, 1913)" alt="60%">
<area shape="rect" coords="47,0,52,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 70, 1913)" alt="70%">
<area shape="rect" coords="54,0,59,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 80, 1913)" alt="80%">
<area shape="rect" coords="61,0,66,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 90, 1913)" alt="90%">
<area shape="rect" coords="68,0,73,5" href="javascript: ChangeStatusOnUnderstep(1910,0, 100, 1913)" alt="100%">
</map>
</code>
Tacksam för all hjälp och förslag :)