<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Table Striping Made Easy</title>
	<link>http://15daysofjquery.com/table-striping-made-easy/5/</link>
	<description>Examples and tutorials to help you learn JQuery</description>
	<pubDate>Thu, 28 Aug 2008 11:46:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>

	<item>
		<title>By: wesley</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-2</link>
		<author>wesley</author>
		<pubDate>Mon, 22 May 2006 11:45:55 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-2</guid>
					<description>ummm where is the tutorial?</description>
		<content:encoded><![CDATA[<p>ummm where is the tutorial?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-3</link>
		<author>Jack</author>
		<pubDate>Mon, 22 May 2006 13:12:30 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-3</guid>
					<description>Sorry, Wesley... this site went up last night and you came by before I could put up the link.

&lt;a href="/examples/zebra/" target="_blank" rel="nofollow"&gt;Tutorial is here.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, Wesley&#8230; this site went up last night and you came by before I could put up the link.</p>
<p><a href="/examples/zebra/" target="_blank" rel="nofollow">Tutorial is here.</a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Matthew Pennell</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-4</link>
		<author>Matthew Pennell</author>
		<pubDate>Tue, 23 May 2006 07:49:23 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-4</guid>
					<description>Interesting - I've been meaning to have a closer look at jQuery for a while; it certainly seems very intuitively written.

On the issue of using a class or id to reference the table, I'd be interested to see some performance comparisons (as I assume that the $(.whatever) function uses some kind of getElementsByClassName which is obviously going to be slower than getElementById).

Good stuff, though. :)</description>
		<content:encoded><![CDATA[<p>Interesting - I&#8217;ve been meaning to have a closer look at jQuery for a while; it certainly seems very intuitively written.</p>
<p>On the issue of using a class or id to reference the table, I&#8217;d be interested to see some performance comparisons (as I assume that the $(.whatever) function uses some kind of getElementsByClassName which is obviously going to be slower than getElementById).</p>
<p>Good stuff, though. <img src='http://15daysofjquery.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: wesley</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-5</link>
		<author>wesley</author>
		<pubDate>Tue, 23 May 2006 07:54:56 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-5</guid>
					<description>Oh I apologise then :) I just read the tutorial, it was excellent, well done.</description>
		<content:encoded><![CDATA[<p>Oh I apologise then <img src='http://15daysofjquery.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I just read the tutorial, it was excellent, well done.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: alex vidal</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-8</link>
		<author>alex vidal</author>
		<pubDate>Sat, 27 May 2006 06:49:53 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-8</guid>
					<description>Matthew:

It can always be changed to use an id if you assign, let's say id="stripeMe" to the table, then changed two spots in the js from $(".stripeMe tr") to $("#stripeMe tr"), it should work instantly.</description>
		<content:encoded><![CDATA[<p>Matthew:</p>
<p>It can always be changed to use an id if you assign, let&#8217;s say id=&#8221;stripeMe&#8221; to the table, then changed two spots in the js from $(&#8221;.stripeMe tr&#8221;) to $(&#8221;#stripeMe tr&#8221;), it should work instantly.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Joel Birch</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-10</link>
		<author>Joel Birch</author>
		<pubDate>Sat, 27 May 2006 09:23:31 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-10</guid>
					<description>I guess you could use the jQuery hover() function too:

$(".stripeMe tr").hover(function(){/*mouseover stuff*/},function(){/*mouseout stuff*/});

Great tutorial. Looking forward to more!

PS. For some reason the link goes to a menu of folder contents instead of straight to the index.html file.</description>
		<content:encoded><![CDATA[<p>I guess you could use the jQuery hover() function too:</p>
<p>$(&#8221;.stripeMe tr&#8221;).hover(function(){/*mouseover stuff*/},function(){/*mouseout stuff*/});</p>
<p>Great tutorial. Looking forward to more!</p>
<p>PS. For some reason the link goes to a menu of folder contents instead of straight to the index.html file.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-15</link>
		<author>Jack</author>
		<pubDate>Sat, 27 May 2006 14:55:24 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-15</guid>
					<description>@Joel,
Thanks for the heads up. It was a change I had made in the .htaccess file to make the homepage work... unintended consequences. It's amazing what we (I) miss on our own sites.

@Mathew &#038; Alex
Good points, both of you. I chose class name over id for flexibility... in case several tables on a page were to be striped. That was really the only reason.</description>
		<content:encoded><![CDATA[<p>@Joel,<br />
Thanks for the heads up. It was a change I had made in the .htaccess file to make the homepage work&#8230; unintended consequences. It&#8217;s amazing what we (I) miss on our own sites.</p>
<p>@Mathew &#038; Alex<br />
Good points, both of you. I chose class name over id for flexibility&#8230; in case several tables on a page were to be striped. That was really the only reason.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: guillermo cruz</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-47</link>
		<author>guillermo cruz</author>
		<pubDate>Fri, 09 Jun 2006 05:17:16 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-47</guid>
					<description>very nice tutorial, the code is clean and small, I like it! jQuery looks interesting.</description>
		<content:encoded><![CDATA[<p>very nice tutorial, the code is clean and small, I like it! jQuery looks interesting.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Andrew</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-50</link>
		<author>Andrew</author>
		<pubDate>Fri, 09 Jun 2006 13:41:32 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-50</guid>
					<description>Freakin' SWEET!
you've made a jQuery believer out of me.

thanks for the nice tutorial!</description>
		<content:encoded><![CDATA[<p>Freakin&#8217; SWEET!<br />
you&#8217;ve made a jQuery believer out of me.</p>
<p>thanks for the nice tutorial!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Crille</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-52</link>
		<author>Crille</author>
		<pubDate>Fri, 09 Jun 2006 14:34:47 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-52</guid>
					<description>I've done something similar with prototype:

function tableruler(){
    if (document.getElementById &#38;&#38; document.createTextNode){
        var tableRows = $$('table.ruler tbody tr');
        tableRows.each(
            function(row){
                 row.onmouseover=function(){this.className='ruled';return false}
                row.onmouseout=function(){this.className='';return false}
            }
        )
    }
}</description>
		<content:encoded><![CDATA[<p>I&#8217;ve done something similar with prototype:</p>
<p>function tableruler(){<br />
    if (document.getElementById &amp;&amp; document.createTextNode){<br />
        var tableRows = $$(&#8217;table.ruler tbody tr&#8217;);<br />
        tableRows.each(<br />
            function(row){<br />
                 row.onmouseover=function(){this.className=&#8217;ruled&#8217;;return false}<br />
                row.onmouseout=function(){this.className=&#8221;;return false}<br />
            }<br />
        )<br />
    }<br />
}</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-54</link>
		<author>Jack</author>
		<pubDate>Fri, 09 Jun 2006 14:36:52 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-54</guid>
					<description>@Andrew - You're welcome

@Guillermo - Glad you liked the tutorial.</description>
		<content:encoded><![CDATA[<p>@Andrew - You&#8217;re welcome</p>
<p>@Guillermo - Glad you liked the tutorial.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-55</link>
		<author>Jack</author>
		<pubDate>Fri, 09 Jun 2006 14:40:11 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-55</guid>
					<description>@Crille,
First, thanks for the code. jQuery is just one way to do things and certainly Prototype is popular for a reason.

I'd like to see a page with this in action. (Suppose I could do it myself, but I'm swamped today)</description>
		<content:encoded><![CDATA[<p>@Crille,<br />
First, thanks for the code. jQuery is just one way to do things and certainly Prototype is popular for a reason.</p>
<p>I&#8217;d like to see a page with this in action. (Suppose I could do it myself, but I&#8217;m swamped today)</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Chris</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-125</link>
		<author>Chris</author>
		<pubDate>Wed, 28 Jun 2006 22:09:35 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-125</guid>
					<description>Great tutorial.  

For some reason it is only adding the alt class and mouse events to my first 3 rows.  Any ideas?  My rows are being generated via PHP &#38; mySQL

Cheers</description>
		<content:encoded><![CDATA[<p>Great tutorial.  </p>
<p>For some reason it is only adding the alt class and mouse events to my first 3 rows.  Any ideas?  My rows are being generated via PHP &amp; mySQL</p>
<p>Cheers</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-126</link>
		<author>Jack</author>
		<pubDate>Thu, 29 Jun 2006 01:55:06 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-126</guid>
					<description>Chris,
Please provide a link and I'll take a look.  No promises, but sometimes a second pair of eyes is all it takes.</description>
		<content:encoded><![CDATA[<p>Chris,<br />
Please provide a link and I&#8217;ll take a look.  No promises, but sometimes a second pair of eyes is all it takes.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Chris</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-127</link>
		<author>Chris</author>
		<pubDate>Thu, 29 Jun 2006 10:09:25 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-127</guid>
					<description>Thanks mate,

I have had to butcher out the login procedure so that you can access the page.  

http://hapuk.coreware.co.uk/activity_test.php

Thanks for your help</description>
		<content:encoded><![CDATA[<p>Thanks mate,</p>
<p>I have had to butcher out the login procedure so that you can access the page.  </p>
<p><a href="http://hapuk.coreware.co.uk/activity_test.php" rel="nofollow">http://hapuk.coreware.co.uk/activity_test.php</a></p>
<p>Thanks for your help</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-128</link>
		<author>Jack</author>
		<pubDate>Thu, 29 Jun 2006 14:08:36 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-128</guid>
					<description>I looked, and although I don't have a definitive answer, I can give you some things to try:

I suspect that something in your html is throwing off jQuery's DOM functions. Look here and you'll see that there is a lot of invalid or problematic markup:

http://validator.w3.org/check?verbose=1&#038;uri=http%3A%2F%2Fhapuk.coreware.co.uk%2Factivity_test.php

Next, the DOM inspector I use (Firebug) says there's something wrong with the doctype at the very beginning of the xhtml. So you might want to look at that too.

Finally, to troubleshoot, you might remove all js except the table striping and see what happens.

The fact that it stripes three table rows and stops indicates to me that it's most likely invalid markup.

A closer inspection shows at least one unclosed a href tag:

&lt;pre&gt;
&#60;td&#62;&#60;a href=&#34;map.php?city=12&#34;&#62;Sheffield&#60;/td&#62;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I looked, and although I don&#8217;t have a definitive answer, I can give you some things to try:</p>
<p>I suspect that something in your html is throwing off jQuery&#8217;s DOM functions. Look here and you&#8217;ll see that there is a lot of invalid or problematic markup:</p>
<p><a href="http://validator.w3.org/check?verbose=1&#038;uri=http%3A%2F%2Fhapuk.coreware.co.uk%2Factivity_test.php" rel="nofollow">http://validator.w3.org/check?verbose=1&#038;uri=http%3A%2F%2Fhapuk.coreware.co.uk%2Factivity_test.php</a></p>
<p>Next, the DOM inspector I use (Firebug) says there&#8217;s something wrong with the doctype at the very beginning of the xhtml. So you might want to look at that too.</p>
<p>Finally, to troubleshoot, you might remove all js except the table striping and see what happens.</p>
<p>The fact that it stripes three table rows and stops indicates to me that it&#8217;s most likely invalid markup.</p>
<p>A closer inspection shows at least one unclosed a href tag:</p>
<pre>
&lt;td&gt;&lt;a href=&quot;map.php?city=12&quot;&gt;Sheffield&lt;/td&gt;
</pre>
]]></content:encoded>
				</item>
	<item>
		<title>By: Chris</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-143</link>
		<author>Chris</author>
		<pubDate>Mon, 03 Jul 2006 12:20:35 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-143</guid>
					<description>Hi Jack.

Thanks for pointing the validator out for me.  Very useful.  Have fixed all the errors but this hasn't fixed the problem.  Any more ideas?

Thanks a lot</description>
		<content:encoded><![CDATA[<p>Hi Jack.</p>
<p>Thanks for pointing the validator out for me.  Very useful.  Have fixed all the errors but this hasn&#8217;t fixed the problem.  Any more ideas?</p>
<p>Thanks a lot</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-144</link>
		<author>Jack</author>
		<pubDate>Mon, 03 Jul 2006 12:33:18 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-144</guid>
					<description>The other tip I gave you is to try removing all js but jquery and seeing what happens.</description>
		<content:encoded><![CDATA[<p>The other tip I gave you is to try removing all js but jquery and seeing what happens.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Chris</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-146</link>
		<author>Chris</author>
		<pubDate>Mon, 03 Jul 2006 15:41:07 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-146</guid>
					<description>Yep.  Tried that.  I tried to use the DOM inspector I have on Firefox but it didn't seem to say I have any errors.  Saying that, I don't know how to use it.

Any other ideas?

Cheers</description>
		<content:encoded><![CDATA[<p>Yep.  Tried that.  I tried to use the DOM inspector I have on Firefox but it didn&#8217;t seem to say I have any errors.  Saying that, I don&#8217;t know how to use it.</p>
<p>Any other ideas?</p>
<p>Cheers</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Joe</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-309</link>
		<author>Joe</author>
		<pubDate>Wed, 02 Aug 2006 17:46:33 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-309</guid>
					<description>Very nice tutorial but instead of mouseout() and mouseover() can't you jus use the hover(function,function) to achieve the same effect but with less code</description>
		<content:encoded><![CDATA[<p>Very nice tutorial but instead of mouseout() and mouseover() can&#8217;t you jus use the hover(function,function) to achieve the same effect but with less code</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-310</link>
		<author>Jack</author>
		<pubDate>Wed, 02 Aug 2006 17:54:53 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-310</guid>
					<description>Yes, good point.  I think that the hover function was added after this tutorial... or perhaps my skill level wasn't quite up to speed.</description>
		<content:encoded><![CDATA[<p>Yes, good point.  I think that the hover function was added after this tutorial&#8230; or perhaps my skill level wasn&#8217;t quite up to speed.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Bakyt NIyazov</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-438</link>
		<author>Bakyt NIyazov</author>
		<pubDate>Thu, 19 Oct 2006 03:29:41 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-438</guid>
					<description>Hello thank you for your tutorial(s)!!
I've found some bug i don't where is the bug in Opera or in code..i think Opera.

So, when you place some 
in one of your  then when you try to select some option it will be reseted because of onmouseover invoking in other below 

sorry for my English</description>
		<content:encoded><![CDATA[<p>Hello thank you for your tutorial(s)!!<br />
I&#8217;ve found some bug i don&#8217;t where is the bug in Opera or in code..i think Opera.</p>
<p>So, when you place some<br />
in one of your  then when you try to select some option it will be reseted because of onmouseover invoking in other below </p>
<p>sorry for my English</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-441</link>
		<author>Jack</author>
		<pubDate>Thu, 19 Oct 2006 03:46:33 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-441</guid>
					<description>Bakyt,
Sorry, not catching what you're trying to get across.</description>
		<content:encoded><![CDATA[<p>Bakyt,<br />
Sorry, not catching what you&#8217;re trying to get across.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Bakyt NIyazov</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-523</link>
		<author>Bakyt NIyazov</author>
		<pubDate>Mon, 06 Nov 2006 10:34:27 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-523</guid>
					<description>Hi Jack,
HTML tags are stripped out...
once again :)

when you place some SELECT tag in one of your TD tags you cannot actually make selection in SELECT tag because onmouseover invoked in other TD below.

OR

Just place some SELECT tag with OPTION tags to one of the TD (but not last TD) and try to select... you'll see what i'm trying to tell :)</description>
		<content:encoded><![CDATA[<p>Hi Jack,<br />
HTML tags are stripped out&#8230;<br />
once again <img src='http://15daysofjquery.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>when you place some SELECT tag in one of your TD tags you cannot actually make selection in SELECT tag because onmouseover invoked in other TD below.</p>
<p>OR</p>
<p>Just place some SELECT tag with OPTION tags to one of the TD (but not last TD) and try to select&#8230; you&#8217;ll see what i&#8217;m trying to tell <img src='http://15daysofjquery.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-525</link>
		<author>Jack</author>
		<pubDate>Tue, 07 Nov 2006 02:15:39 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-525</guid>
					<description>Sorry about tags being stripped out...

I'll have to check out that problem and see if there's a simple solution.</description>
		<content:encoded><![CDATA[<p>Sorry about tags being stripped out&#8230;</p>
<p>I&#8217;ll have to check out that problem and see if there&#8217;s a simple solution.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Austin</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-1264</link>
		<author>Austin</author>
		<pubDate>Thu, 28 Dec 2006 08:35:20 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-1264</guid>
					<description>Worked great, nice "hello world"-ish intro to jquery.

One comment: IMO "chaining" mouseover and mouseout via the return from addClass makes the code a little sloppy to look at. Hover works well (as others have noted) and is much easier on the eyes.</description>
		<content:encoded><![CDATA[<p>Worked great, nice &#8220;hello world&#8221;-ish intro to jquery.</p>
<p>One comment: IMO &#8220;chaining&#8221; mouseover and mouseout via the return from addClass makes the code a little sloppy to look at. Hover works well (as others have noted) and is much easier on the eyes.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-1287</link>
		<author>Jack</author>
		<pubDate>Thu, 28 Dec 2006 14:48:18 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-1287</guid>
					<description>Austin,
Once you get used to it, chaining via jQuery is really really handy.</description>
		<content:encoded><![CDATA[<p>Austin,<br />
Once you get used to it, chaining via jQuery is really really handy.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Alexis Bellido</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-2466</link>
		<author>Alexis Bellido</author>
		<pubDate>Thu, 01 Feb 2007 17:22:15 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-2466</guid>
					<description>Hey, very clear steps.

And you could make it even shorter using the hover event, as Joel mentioned.

I'd like to suggest putting a link to the basic HTML and CSS for those who don't get it that they have to grab it from Matthew's example.</description>
		<content:encoded><![CDATA[<p>Hey, very clear steps.</p>
<p>And you could make it even shorter using the hover event, as Joel mentioned.</p>
<p>I&#8217;d like to suggest putting a link to the basic HTML and CSS for those who don&#8217;t get it that they have to grab it from Matthew&#8217;s example.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: kumar chetan</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-2523</link>
		<author>kumar chetan</author>
		<pubDate>Sat, 03 Feb 2007 07:13:15 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-2523</guid>
					<description>This is cheap and dirty way to convert a prototype follower to Jquery. I mean I knew it was as simple as adding and removing classes but not in 5 lines.
cool</description>
		<content:encoded><![CDATA[<p>This is cheap and dirty way to convert a prototype follower to Jquery. I mean I knew it was as simple as adding and removing classes but not in 5 lines.<br />
cool</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Darryl</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-2727</link>
		<author>Darryl</author>
		<pubDate>Thu, 08 Feb 2007 17:30:09 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-2727</guid>
					<description>I was smiling all the way through. Jquery is very elegant. Reminds me of Ruby on Rails.</description>
		<content:encoded><![CDATA[<p>I was smiling all the way through. Jquery is very elegant. Reminds me of Ruby on Rails.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Dave Foy</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-5080</link>
		<author>Dave Foy</author>
		<pubDate>Thu, 19 Apr 2007 12:26:21 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-5080</guid>
					<description>Sorry to throw a 'me too' in here but... me too!  Superb tutorial, so well thought out and clearly written.  I love the way you continuously recap, just what a beginner like me needs.

Thanks so much  : )</description>
		<content:encoded><![CDATA[<p>Sorry to throw a &#8216;me too&#8217; in here but&#8230; me too!  Superb tutorial, so well thought out and clearly written.  I love the way you continuously recap, just what a beginner like me needs.</p>
<p>Thanks so much  : )</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Srini</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-12594</link>
		<author>Srini</author>
		<pubDate>Thu, 13 Sep 2007 08:41:26 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-12594</guid>
					<description>Great tutorial.. Great start to jQuery. jQuery is super powerful.. Such short code to achieve such a complex task.. Chaining is great as well..</description>
		<content:encoded><![CDATA[<p>Great tutorial.. Great start to jQuery. jQuery is super powerful.. Such short code to achieve such a complex task.. Chaining is great as well..</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ash Searle</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-15446</link>
		<author>Ash Searle</author>
		<pubDate>Thu, 25 Oct 2007 10:18:49 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-15446</guid>
					<description>Updated "one-liner" - using hover, filter and implicit $(document).ready() call:

$(function() {
    $(".stripeMe tr").hover(
        function() { $(this).addClass("over"); },
        function() { $(this).removeClass("over"); }
    ).
    filter(':even').
    addClass('alt');
});</description>
		<content:encoded><![CDATA[<p>Updated &#8220;one-liner&#8221; - using hover, filter and implicit $(document).ready() call:</p>
<p>$(function() {<br />
    $(&#8221;.stripeMe tr&#8221;).hover(<br />
        function() { $(this).addClass(&#8221;over&#8221;); },<br />
        function() { $(this).removeClass(&#8221;over&#8221;); }<br />
    ).<br />
    filter(&#8217;:even&#8217;).<br />
    addClass(&#8217;alt&#8217;);<br />
});</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Scott Thompson</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-29052</link>
		<author>Scott Thompson</author>
		<pubDate>Tue, 18 Mar 2008 17:26:01 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-29052</guid>
					<description>I have been playing with this and I like it, both methods too actually, I've no clue what one is better or it's moot. One thing I do have an issue with is I have multiple tables on my page.

One table is coloured based upon the data by my CGI and the second table has the nice stripe alternating and the mouseover or hover work perfectly.

Problem is, the hover / mouseover is happening on all the tables. While this is not a huge issue, the way I see it, it should only be affecting the table with the class of stripeMe

Am I missing something? I put a different class name on the table I didn't want affected but it was.

Scott</description>
		<content:encoded><![CDATA[<p>I have been playing with this and I like it, both methods too actually, I&#8217;ve no clue what one is better or it&#8217;s moot. One thing I do have an issue with is I have multiple tables on my page.</p>
<p>One table is coloured based upon the data by my CGI and the second table has the nice stripe alternating and the mouseover or hover work perfectly.</p>
<p>Problem is, the hover / mouseover is happening on all the tables. While this is not a huge issue, the way I see it, it should only be affecting the table with the class of stripeMe</p>
<p>Am I missing something? I put a different class name on the table I didn&#8217;t want affected but it was.</p>
<p>Scott</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: JSP tutorials</title>
		<link>http://15daysofjquery.com/table-striping-made-easy/5/#comment-30257</link>
		<author>JSP tutorials</author>
		<pubDate>Wed, 02 Apr 2008 13:37:31 +0000</pubDate>
		<guid>http://15daysofjquery.com/table-striping-made-easy/5/#comment-30257</guid>
					<description>Gr8 tutorials for beginners like me !! .</description>
		<content:encoded><![CDATA[<p>Gr8 tutorials for beginners like me !! .</p>
]]></content:encoded>
				</item>
</channel>
</rss>
