HTML table mouseover events?
Ronnie Gauthier
linux
Sun Jun 17 15:52:57 PDT 2007
On Sun, 17 Jun 2007 14:54:05 -0500 (EST)
Net Llama! <netllama at linux-sxs.org> wrote:
> On Sun, 17 Jun 2007, Ronnie Gauthier wrote:
> > On Sat, 16 Jun 2007 19:27:23 -0700
> > "Net Llama!" <netllama at linux-sxs.org> wrote:
> >
> >> I'm writing a (relatively trivial) web app in PHP, which generates a
> >> large HTML table (15 columns, 35 rows). Much of the content in the
> >> table is dynamically populated from a PostgreSQL database.
> >>
> >
> > .cellcolor { background-color: #FFFFFF; border: 1px #000000 solid;}
> > <td class="cellcolor" onmouseover="style.backgroundColor='#000000';border: 1px #FFFFFF solid;"
>
My bad. Too early. Not enough coffee. HUMA. Your choice.
<table><tr>
<td style="background-color: #FF0000" onmouseover="style.backgroundColor='#0000FF';"
onmouseout="style.backgroundColor='#FF0000'">
asdfasdfasfasfsdf
</td>
<td style="background-color: #FF0000" onmouseover="style.backgroundColor='#00FF00';"
onmouseout="style.backgroundColor='#FF0000'">
asdfasdfasfasd</td>
</tr></table>
Ronnie
More information about the Linux-users
mailing list