i need to be able to change the background color of an individual cell
with an onclick of a radio button.
each radio button will be able to change the cell to red, blue, green [ i will include color number later ]
each radio button will be located directly below the cell that the button will change.
the button will not be in the same cell as the color change. it will be in its own cell.
below is an example of the layout.
<TABLE WIDTH="500" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
<TD WIDTH="10%" VALIGN=TOP></TD>
</TR>
<TR>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="1" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="2" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="3" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="4" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="5" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="6" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="7" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="8" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="9" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
<TD WIDTH="10%" VALIGN=TOP>
<P>
<INPUT TYPE=RADIO NAME="10" ONCLICK="show(red);show(bl
ue0;show(g
reen)"></T
D>
</TR>
</TABLE>
i hope this can be done.
thanks
mike
Start Free Trial