Re: How best to highlight an an item...
- From: Andy Dingley <dingbat@xxxxxxxxxxxxxx>
- Date: Tue, 21 Aug 2007 05:06:00 -0700
On 21 Aug, 09:12, dorayme <doraymeRidT...@xxxxxxxxxxxxxxx> 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.
.
- References:
- How best to highlight an an item...
- From: dorayme
- How best to highlight an an item...
- Prev by Date: Blog Revisited
- Next by Date: Re: Differences XHTML - HTML
- Previous by thread: Re: How best to highlight an an item...
- Next by thread: Re: How best to highlight an an item...
- Index(es):