<?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/"
> <channel><title>Comments on: Alternate Background Colours</title> <atom:link href="http://www.elanman.co.uk/2009/06/alternate-background-colours/feed/" rel="self" type="application/rss+xml" /><link>http://www.elanman.co.uk/2009/06/alternate-background-colours/</link> <description>ElanMan&#039;s Code Snippets</description> <lastBuildDate>Wed, 18 Jan 2012 12:55:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Wizely</title><link>http://www.elanman.co.uk/2009/06/alternate-background-colours/comment-page-1/#comment-96</link> <dc:creator>Wizely</dc:creator> <pubDate>Wed, 17 Jun 2009 20:53:30 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=910#comment-96</guid> <description>Like Eris I&#039;ve been getting my hands mucky in a bit of Javascript here and there - sure the libraries are powerful and easy but I always like to know how things work. So thanks for going through these &#039;simple&#039; walkthroughs - they are very clear and do help... I love peering into your drawers!</description> <content:encoded><![CDATA[<p>Like Eris I&#8217;ve been getting my hands mucky in a bit of Javascript here and there &#8211; sure the libraries are powerful and easy but I always like to know how things work. So thanks for going through these &#8216;simple&#8217; walkthroughs &#8211; they are very clear and do help&#8230; I love peering into your drawers!</p> ]]></content:encoded> </item> <item><title>By: ElanMan</title><link>http://www.elanman.co.uk/2009/06/alternate-background-colours/comment-page-1/#comment-95</link> <dc:creator>ElanMan</dc:creator> <pubDate>Wed, 10 Jun 2009 16:07:03 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=910#comment-95</guid> <description>Thanks for the comments :)
@Scott Haha! The frameworks like jquery certainly do make this kind of thing a doddle but if you&#039;re just after a couple of quick functions, they aren&#039;t really worth it imo.
@Eris Thanks for the nice words! I&#039;m sure it won&#039;t take you long to grok javascript. &#039;Simply Javascript&#039; by Sitepoint is a good read :)</description> <content:encoded><![CDATA[<p>Thanks for the comments <img
src='http://www.elanman.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br
/> @Scott Haha! The frameworks like jquery certainly do make this kind of thing a doddle but if you&#8217;re just after a couple of quick functions, they aren&#8217;t really worth it imo.</p><p>@Eris Thanks for the nice words! I&#8217;m sure it won&#8217;t take you long to grok javascript. &#8216;Simply Javascript&#8217; by Sitepoint is a good read <img
src='http://www.elanman.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: ErisDS</title><link>http://www.elanman.co.uk/2009/06/alternate-background-colours/comment-page-1/#comment-94</link> <dc:creator>ErisDS</dc:creator> <pubDate>Wed, 10 Jun 2009 12:32:46 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=910#comment-94</guid> <description>I&#039;ve seen this done in other ways but it&#039;s nice to see an unobtrusive, progressive enhancement style version.  I&#039;m doing my best to learn javascript atm &amp; this kind of &quot;quick trick snippet&quot; is really quite inspiring, thanks!</description> <content:encoded><![CDATA[<p>I&#8217;ve seen this done in other ways but it&#8217;s nice to see an unobtrusive, progressive enhancement style version.  I&#8217;m doing my best to learn javascript atm &amp; this kind of &#8220;quick trick snippet&#8221; is really quite inspiring, thanks!</p> ]]></content:encoded> </item> <item><title>By: Scott S</title><link>http://www.elanman.co.uk/2009/06/alternate-background-colours/comment-page-1/#comment-93</link> <dc:creator>Scott S</dc:creator> <pubDate>Wed, 10 Jun 2009 01:14:45 +0000</pubDate> <guid
isPermaLink="false">http://www.elanman.co.uk/?p=910#comment-93</guid> <description>Hmmmm... I wonder where you got the idea for this...
For those of your visitors using jQuery, it can be done using the built in &quot;addClass&quot; like so:
&lt;code&gt;$(document).ready(function() {
$(&quot;.zebra tr:even&quot;).addClass(&quot;alt&quot;);
});&lt;/code&gt;
Once again, a nice article :) Consider it dugg!</description> <content:encoded><![CDATA[<p>Hmmmm&#8230; I wonder where you got the idea for this&#8230;</p><p>For those of your visitors using jQuery, it can be done using the built in &#8220;addClass&#8221; like so:</p><p><code>$(document).ready(function() {<br
/> $(".zebra tr:even").addClass("alt");<br
/> });</code></p><p>Once again, a nice article <img
src='http://www.elanman.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Consider it dugg!</p> ]]></content:encoded> </item> </channel> </rss>
