HTML table mouseover events?
Net Llama!
netllama
Sat Jun 16 19:27:23 PDT 2007
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.
The basic functionality works fine, and I'm trying to spruce up the
look & feel at this point. One of the things that I'd like to do is
add a mouseover effect, such that the row & column where the mouse
pointer is hovering gets highlighted in a different color, kind of
like a cross hair. I've googled quite a bit (as my javascript skillz
are just about non-existent), and found a few promising examples.
However, they all fail to work in one way or another. One of them
only ends up highlighting the non-dynamic content in the table.
Another requires me to set a unique ID for every cell in the table,
which is just crazy (especially when they're getting dynamically
generated).
Has anyone done this sort of thing before?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at gmail.com
LlamaLand http://netllama.linux-sxs.org
More information about the Linux-users
mailing list