oops .T1 tr:hover td { should be #T1 tr:hover td {
On Apr 17, 3:50 pm, MorningZ <morni...@gmail.com> wrote: > How about working the other way... > > You provide a small sample of your table HTML, and then someone could > provide CSS or jQuery help, as there is no idea why CSS's :hover > wouldn't work unless it's not leveraged properly > > like a super simple example :-) > > <table id="T1"> > <tr><td>Row 1</td></tr> > <tr><td>Row 2</td></tr> > <tr><td>Row 3</td></tr> > <table> > > .T1 tr:hover td { > color: #0000ff; > > } > > On Apr 17, 2:41 pm, András Csányi <sayusi.a...@gmail.com> wrote: > > > Hi all! > > > I'm developing an php and jQuery based grid (something like > > this:http://www.phpgrid.com/grid/) for my Thesises and I want to coloring > > the table row if the mouse over the row. You know, this is the minimal > > visual feature what is following the users eyes... > > I tried with css (<tr class="css_class with :hover">) and jQuery > > (every tr tag has id and .addClasses and .removeClasses) but I > > could'nt. I'm not an css and jquery magician. :$ > > > So, I need some hints how can I do this with jquery. Or you can give > > some tutorial or examples. > > > Appreciate yours help! > > > András > > > -- > > - - > > -- Csanyi Andras --http://sayusi.hu--Sayusi Ando > > -- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell