Hi
I'm trying to highlight a position in a table. KevenFSI wrote a nice post but I am having trouble implementing it. I have an image map that when clicked should hyperlink to a table and highlight the cell. I've tried this code:
<Map Name="ESDailyReport">
<Area Shape="Rect" HREF="#AirDryerA" Coords="159,296,180,307"
OnClick="document.getElementById('AirDryerA').style.backgroundColor='Yellow';">
</Map>
<IMG USEMAP="#ESDailyReport" SRC="../Images/AirWateFuels.jpg" Border="0">
I get the error message "that this object is not supported". Does anyone know what is wrong? Should I have "JavaScript:" somewhere?
Thanks,
Rewdee
I'm trying to highlight a position in a table. KevenFSI wrote a nice post but I am having trouble implementing it. I have an image map that when clicked should hyperlink to a table and highlight the cell. I've tried this code:
<Map Name="ESDailyReport">
<Area Shape="Rect" HREF="#AirDryerA" Coords="159,296,180,307"
OnClick="document.getElementById('AirDryerA').style.backgroundColor='Yellow';">
</Map>
<IMG USEMAP="#ESDailyReport" SRC="../Images/AirWateFuels.jpg" Border="0">
I get the error message "that this object is not supported". Does anyone know what is wrong? Should I have "JavaScript:" somewhere?
Thanks,
Rewdee