You are here: Re: How best to highlight an an item... « HTML « IT news, forums, messages
Re: How best to highlight an an item...

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация