<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2651596618062883721.post2537582617114996612..comments</id><updated>2010-01-16T10:07:52.817+11:00</updated><title type='text'>Comments on Just another tech blog: jQuery - Table Row Highlighting</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://richard.gluga.com/feeds/2537582617114996612/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default'/><link rel='alternate' type='text/html' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html'/><author><name>Richard G.</name><uri>http://www.blogger.com/profile/08720641341153510266</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2651596618062883721.post-3080158197094089763</id><published>2010-01-16T10:07:52.817+11:00</published><updated>2010-01-16T10:07:52.817+11:00</updated><title type='text'>Jay, see the following example for using this with...</title><content type='html'>Jay, see the following example for using this with tablesorter: http://dl.dropbox.com/u/642364/blogger/scripts/jq-highlight-ts.html&lt;br /&gt;&lt;br /&gt;The two changes I had to make was make the .highlight css rules !important, and tweak the code to add/remove the hover class as $(this).parents(&amp;#39;tr&amp;#39;).find(&amp;#39;td&amp;#39;) so that is adds the .highlight class directly on the cells rather than rows.&lt;br /&gt;&lt;br /&gt;There&amp;#39;s probably easier pays to do this, like making the css rule &amp;#39;.highlight td&amp;#39; or using the jQuery .siblings method, etc.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/3080158197094089763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/3080158197094089763'/><link rel='alternate' type='text/html' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html?showComment=1263596872817#c3080158197094089763' title=''/><author><name>Richard G.</name><uri>http://www.blogger.com/profile/08720641341153510266</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='14453418771121755861'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html' ref='tag:blogger.com,1999:blog-2651596618062883721.post-2537582617114996612' source='http://www.blogger.com/feeds/2651596618062883721/posts/default/2537582617114996612' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2651596618062883721.post-2971780078704729257</id><published>2010-01-15T23:18:06.203+11:00</published><updated>2010-01-15T23:18:06.203+11:00</updated><title type='text'>I haven't tried it, but inspecting the tablesorter...</title><content type='html'>I haven&amp;#39;t tried it, but inspecting the tablesorter HTML in Firebug it looks like the two methods should work together. That is, say you have a table with id #myTable, you would first attach the tablesorter and then run the code I supplied above to make the rows highlightable and clickable. It should look something like this:&lt;br /&gt;&lt;br /&gt;$(document).ready(function(){&lt;br /&gt;  $(&amp;quot;#myTable&amp;quot;).tablesorter();&lt;br /&gt;  $(&amp;quot;#myTable tbody td&amp;quot;).hover(function() {                                  $(this).parents(&amp;#39;tr&amp;#39;).addClass(&amp;#39;highlight&amp;#39;);&lt;br /&gt;        }, function() {          $(this).parents(&amp;#39;tr&amp;#39;).removeClass(&amp;#39;highlight&amp;#39;);&lt;br /&gt;        });&lt;br /&gt;      });</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/2971780078704729257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/2971780078704729257'/><link rel='alternate' type='text/html' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html?showComment=1263557886203#c2971780078704729257' title=''/><author><name>Richard G.</name><uri>http://www.blogger.com/profile/08720641341153510266</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='14453418771121755861'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html' ref='tag:blogger.com,1999:blog-2651596618062883721.post-2537582617114996612' source='http://www.blogger.com/feeds/2651596618062883721/posts/default/2537582617114996612' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2651596618062883721.post-7040744599940765690</id><published>2010-01-15T21:09:49.225+11:00</published><updated>2010-01-15T21:09:49.225+11:00</updated><title type='text'>any idea how to make rows highlight-able when usin...</title><content type='html'>any idea how to make rows highlight-able when using the plugin tablesorter by Christian Bach?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/7040744599940765690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/7040744599940765690'/><link rel='alternate' type='text/html' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html?showComment=1263550189225#c7040744599940765690' title=''/><author><name>Jay</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html' ref='tag:blogger.com,1999:blog-2651596618062883721.post-2537582617114996612' source='http://www.blogger.com/feeds/2651596618062883721/posts/default/2537582617114996612' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2651596618062883721.post-6799364562020093355</id><published>2010-01-13T04:58:02.612+11:00</published><updated>2010-01-13T04:58:02.612+11:00</updated><title type='text'>cool thanks!</title><content type='html'>cool thanks!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/6799364562020093355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/6799364562020093355'/><link rel='alternate' type='text/html' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html?showComment=1263319082612#c6799364562020093355' title=''/><author><name>my n</name><uri>http://www.blogger.com/profile/00290130459364254976</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html' ref='tag:blogger.com,1999:blog-2651596618062883721.post-2537582617114996612' source='http://www.blogger.com/feeds/2651596618062883721/posts/default/2537582617114996612' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2651596618062883721.post-8819985553784096035</id><published>2009-06-25T16:43:05.227+10:00</published><updated>2009-06-25T16:43:05.227+10:00</updated><title type='text'>thanks!</title><content type='html'>thanks!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/8819985553784096035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2651596618062883721/2537582617114996612/comments/default/8819985553784096035'/><link rel='alternate' type='text/html' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html?showComment=1245912185227#c8819985553784096035' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://richard.gluga.com/2009/06/jquery-table-row-highlighting.html' ref='tag:blogger.com,1999:blog-2651596618062883721.post-2537582617114996612' source='http://www.blogger.com/feeds/2651596618062883721/posts/default/2537582617114996612' type='text/html'/></entry></feed>