|
Posted by Andy Dingley on 08/21/07 12:06
On 21 Aug, 09:12, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> Can't think of any normal html/css way of doing this. Not
> particularly keen on a js way
No reliable :hover outside of <a>, so you're stuck with either JS or
both. Both works fine. It's hardly a crucial feature, so a graceful JS
degradation shoudl be OK too.
Use standard JS rollover code to flip the class on the row. You should
be easily able to integrate this with your CSS rules for the :hover
selector too. Make sure that the JS doesn't wipe out any previous
class settings though, such as an even/odd indicator for a striped
table.
> Anyone know of a php way perhaps?
Nope. It's an asynchronous client-side event, you're going to have to
cope with it client-side.
Navigation:
[Reply to this message]
|