HTML table mouseover events?
Net Llama!
netllama
Sun Jun 17 12:54:05 PDT 2007
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;"
Thanks, but this doesn't seem to work right. What I'm getting is all the
cells default to white background, and as soon as I mouseoever any of
them, all the cells default to the background color of the entire page,
and never update again.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
LlamaLand http://netllama.linux-sxs.org
More information about the Linux-users
mailing list