<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: MooTools Zebra Tables&#160;Plugin</title> <atom:link href="http://davidwalsh.name/mootools-zebra-tables-plugin/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/mootools-zebra-tables-plugin</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 14:25:32 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: shuaib</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-23751</link> <dc:creator>shuaib</dc:creator> <pubDate>Wed, 27 Apr 2011 01:21:34 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-23751</guid> <description>Hi!Can we use this table in Joomla? any plugin for that?</description> <content:encoded><![CDATA[<p>Hi!</p><p>Can we use this table in Joomla? any plugin for that?</p> ]]></content:encoded> </item> <item><title>By: abdessamad</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-21033</link> <dc:creator>abdessamad</dc:creator> <pubDate>Mon, 18 Oct 2010 21:01:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-21033</guid> <description>nice tuto :) thx a lot!!! i have a Q? mootools and ui any suggestion (sorry for my english !!!!)</description> <content:encoded><![CDATA[<p>nice tuto :) thx a lot!!! i have a Q? mootools and ui any suggestion (sorry for my english !!!!)</p> ]]></content:encoded> </item> <item><title>By: Yossi</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-16564</link> <dc:creator>Yossi</dc:creator> <pubDate>Fri, 19 Mar 2010 15:02:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-16564</guid> <description>Is there any sorting feature that can add to this excellent class ?
Also, is there a way to make pagination on the same tables ?Thanks</description> <content:encoded><![CDATA[<p>Is there any sorting feature that can add to this excellent class ?<br
/> Also, is there a way to make pagination on the same tables ?</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Piers Johnson</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-8490</link> <dc:creator>Piers Johnson</dc:creator> <pubDate>Wed, 01 Apr 2009 03:53:06 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-8490</guid> <description>Seems unnecessarily complex to my, why don&#039;t you use :$$(&#039;table.zebra tr&#039;).each(function(el, num) {el.addClass(num % 2 ? &#039;odd&#039; : &#039;even&#039;);});or better yet:$$(&#039;table.zebra tr:even&#039;).addClass(&#039;odd&#039;);and make the even class the standard style for a zebra tr td.</description> <content:encoded><![CDATA[<p>Seems unnecessarily complex to my, why don&#8217;t you use :</p><p>$$(&#8216;table.zebra tr&#8217;).each(function(el, num) {el.addClass(num % 2 ? &#8216;odd&#8217; : &#8216;even&#8217;);});</p><p>or better yet:</p><p>$$(&#8216;table.zebra tr:even&#8217;).addClass(&#8216;odd&#8217;);</p><p>and make the even class the standard style for a zebra tr td.</p> ]]></content:encoded> </item> <item><title>By: Cristi</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-4200</link> <dc:creator>Cristi</dc:creator> <pubDate>Mon, 15 Dec 2008 07:03:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-4200</guid> <description>Hello,
Great post and really useful for me.I have a data-heavy site and I would like to style the empty cells differently. Can you help me? I have no idea how to mark these up in javascript.
Thank you.</description> <content:encoded><![CDATA[<p>Hello,<br
/> Great post and really useful for me.</p><p>I have a data-heavy site and I would like to style the empty cells differently. Can you help me? I have no idea how to mark these up in javascript.<br
/> Thank you.</p> ]]></content:encoded> </item> <item><title>By: yLinRain</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-4141</link> <dc:creator>yLinRain</dc:creator> <pubDate>Tue, 09 Dec 2008 01:17:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-4141</guid> <description>Hey David:Counld it by col/colgroup?ths!</description> <content:encoded><![CDATA[<p>Hey David:</p><p>Counld it by col/colgroup?ths!</p> ]]></content:encoded> </item> <item><title>By: Brandon</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-4123</link> <dc:creator>Brandon</dc:creator> <pubDate>Sun, 07 Dec 2008 03:43:02 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-4123</guid> <description>So....can this collection of tools be used within Wordpress?</description> <content:encoded><![CDATA[<p>So&#8230;.can this collection of tools be used within WordPress?</p> ]]></content:encoded> </item> <item><title>By: qwan</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-4004</link> <dc:creator>qwan</dc:creator> <pubDate>Sun, 30 Nov 2008 15:50:14 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-4004</guid> <description>I am n00b with javascript, so please tell me how is this related to mootools.
You have given me the css, the javascript and the javascript needed to &quot;activate it&quot;(and the xhmtl too). So how is mootools involved?
I am asking this because I want to implement this inside of joomla and 1.5 has mootools.
So how is this is going to help.
Will i need mootools.js to make this work if I was using it on a plain html site?
Thanks</description> <content:encoded><![CDATA[<p>I am n00b with javascript, so please tell me how is this related to mootools.<br
/> You have given me the css, the javascript and the javascript needed to &#8220;activate it&#8221;(and the xhmtl too). So how is mootools involved?<br
/> I am asking this because I want to implement this inside of joomla and 1.5 has mootools.<br
/> So how is this is going to help.<br
/> Will i need mootools.js to make this work if I was using it on a plain html site?<br
/> Thanks</p> ]]></content:encoded> </item> <item><title>By: anthony</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-3154</link> <dc:creator>anthony</dc:creator> <pubDate>Fri, 26 Sep 2008 20:09:00 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-3154</guid> <description>Hello david,I&#039;m running into an issue I hope you can help with. I am using the following code:window.addEvent(&#039;domready&#039;, function(){
$(&#039;pinstripe&#039;).addEvent(&#039;click&#039;,function(e){
$$(&#039;table&#039;).each(function(table){
$ES(&quot;tr&quot;, table).each(function(row,i){
if ( i % 2 == 1 )
row.toggleClass( &quot;odd&quot; );
});
});
});
});my problem is that i have tables within my tables(hidden unless opened by the user) and the function is pinstriping those tables as well, which I don&#039;t want it to do. I know I need to identify my table that I do want pinstriped by its id and then pinstripe the direct tr children, however this is where my lack of js experience falters. Thanks for any help you can give.</description> <content:encoded><![CDATA[<p>Hello david,</p><p>I&#8217;m running into an issue I hope you can help with. I am using the following code:</p><p> window.addEvent(&#8216;domready&#8217;, function(){<br
/> $(&#8216;pinstripe&#8217;).addEvent(&#8216;click&#8217;,function(e){<br
/> $$(&#8216;table&#8217;).each(function(table){<br
/> $ES(&#8220;tr&#8221;, table).each(function(row,i){<br
/> if ( i % 2 == 1 )<br
/> row.toggleClass( &#8220;odd&#8221; );<br
/> });<br
/> });<br
/> });<br
/> });</p><p>my problem is that i have tables within my tables(hidden unless opened by the user) and the function is pinstriping those tables as well, which I don&#8217;t want it to do. I know I need to identify my table that I do want pinstriped by its id and then pinstripe the direct tr children, however this is where my lack of js experience falters. Thanks for any help you can give.</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://davidwalsh.name/mootools-zebra-tables-plugin/comment-page-1#comment-2134</link> <dc:creator>david</dc:creator> <pubDate>Wed, 02 Jul 2008 03:19:16 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mootools-zebra-tables-class#comment-2134</guid> <description>&lt;p&gt;@Annis:  I want every row regardless (so that I can attach the mouseover effect), so using &quot;:odd&quot; and &quot;:even&quot; would actually create more code.&lt;/p&gt;</description> <content:encoded><![CDATA[<p>@Annis:  I want every row regardless (so that I can attach the mouseover effect), so using &#8220;:odd&#8221; and &#8220;:even&#8221; would actually create more code.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/17 queries in 0.010 seconds using disk: basic
Object Caching 866/866 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 10:02:03 -->
