book / CPANio

CPAN.io
http://cpan.io/
7 stars 6 forks source link

hovering over an author should highlight all instances of that author on the page #28

Open neilb opened 9 years ago

neilb commented 9 years ago

Where a page displays multple tables, if the user hovers over an author, then not only should that row be highlighted, but any other rows for that author elsewhere on the page should also be highlighted.

book commented 9 years ago

One way to do this is to add a class named after the author to each corresponding tr, and use some JavaScript on the mouseover and mouseout events to update that specific class style with some highlighting (background color, or border). I suspect using jQuery will help. :-)

Is there another way?