<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - 1man</title>
<link>http://snipplr.com/users/1man/tags/jquery</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 00:33:24 GMT</pubDate>
<item>
<title>(jQuery) Validate an age using jQuery Validator plug-in</title>
<link>http://snipplr.com/view/43071/validate-an-age-using-jquery-validator-plugin/</link>
<description><![CDATA[ <p>Useful snippet i found on a forum, use it to check to see if a user is old enough to submit a form.</p> ]]></description>
<pubDate>Thu, 28 Oct 2010 01:22:57 GMT</pubDate>
<guid>http://snipplr.com/view/43071/validate-an-age-using-jquery-validator-plugin/</guid>
</item>
<item>
<title>(jQuery) Cache files with jQuery and ajax method</title>
<link>http://snipplr.com/view/26403/cache-files-with-jquery-and-ajax-method/</link>
<description><![CDATA[ <p>Handy little snippet i found in 'jquery enlightenment' for caching certain selected files. Could be useful for larger files later on in a site.</p> ]]></description>
<pubDate>Wed, 13 Jan 2010 12:47:22 GMT</pubDate>
<guid>http://snipplr.com/view/26403/cache-files-with-jquery-and-ajax-method/</guid>
</item>
<item>
<title>(jQuery) Simple jQuery plugin layout + how 'this' works</title>
<link>http://snipplr.com/view/26382/simple-jquery-plugin-layout--how-this-works/</link>
<description><![CDATA[ <p>Simple plugin to demonstrate how the 'this' keyword is used. Plugin also allows chaining via the 'return'</p> ]]></description>
<pubDate>Wed, 13 Jan 2010 08:31:58 GMT</pubDate>
<guid>http://snipplr.com/view/26382/simple-jquery-plugin-layout--how-this-works/</guid>
</item>
<item>
<title>(jQuery) Simple jQuery page scroller</title>
<link>http://snipplr.com/view/26326/simple-jquery-page-scroller/</link>
<description><![CDATA[ <p>Example in 'jQuery enlightenment'

Simple way to jump smoothly down the page without the use of a plugin.</p> ]]></description>
<pubDate>Tue, 12 Jan 2010 12:38:10 GMT</pubDate>
<guid>http://snipplr.com/view/26326/simple-jquery-page-scroller/</guid>
</item>
<item>
<title>(jQuery) Custom jQuery selector</title>
<link>http://snipplr.com/view/26264/custom-jquery-selector/</link>
<description><![CDATA[ <p>Example given in the book jQuery Enlightenment.

Create your own custom selectors in jQuery and manipulate as usual.</p> ]]></description>
<pubDate>Mon, 11 Jan 2010 10:34:01 GMT</pubDate>
<guid>http://snipplr.com/view/26264/custom-jquery-selector/</guid>
</item>
<item>
<title>(jQuery) jQuery and Yahoo pipes simple ajax call</title>
<link>http://snipplr.com/view/23066/jquery-and-yahoo-pipes-simple-ajax-call/</link>
<description><![CDATA[ <p>Very simple example of pulling in a JSON feed from Yahoo pipes using jQuery.</p> ]]></description>
<pubDate>Fri, 13 Nov 2009 10:43:24 GMT</pubDate>
<guid>http://snipplr.com/view/23066/jquery-and-yahoo-pipes-simple-ajax-call/</guid>
</item>
<item>
<title>(jQuery) Add class of 'last' to every 3rd image</title>
<link>http://snipplr.com/view/15924/add-class-of-last-to-every-3rd-image/</link>
<description><![CDATA[ <p>Quick little clientside script to pick out every 3rd image and add a class of last to it.

I needed this because the images were layed out in 3 columns, adding a margin to the right hand side would leave a large gap on the right hand side which i didn't want. This now allows me to remove the margin for the last image.</p> ]]></description>
<pubDate>Sun, 14 Jun 2009 12:53:41 GMT</pubDate>
<guid>http://snipplr.com/view/15924/add-class-of-last-to-every-3rd-image/</guid>
</item>
<item>
<title>(jQuery) Add table row to the bottom of a table</title>
<link>http://snipplr.com/view/13326/add-table-row-to-the-bottom-of-a-table/</link>
<description><![CDATA[ <p>Great little snippit to add a  to the bottom of a table. Note the use of the context in the jQuery e.g var n = $('tr:last td', this).length; Will have to use this in the future, very good to know!</p> ]]></description>
<pubDate>Fri, 20 Mar 2009 12:53:48 GMT</pubDate>
<guid>http://snipplr.com/view/13326/add-table-row-to-the-bottom-of-a-table/</guid>
</item>
<item>
<title>(jQuery) Simple jQuery Equal Columns Plug-in</title>
<link>http://snipplr.com/view/13096/simple-jquery-equal-columns-plugin/</link>
<description><![CDATA[ <p>A very simple plug-in I wrote to make x number of columns equal height. Looks for the column with the biggest height then sets the rest to the same. I'm sure it can be made cleaner, will look into that later.</p> ]]></description>
<pubDate>Fri, 13 Mar 2009 14:47:20 GMT</pubDate>
<guid>http://snipplr.com/view/13096/simple-jquery-equal-columns-plugin/</guid>
</item>
<item>
<title>(jQuery) jQuery event namespace</title>
<link>http://snipplr.com/view/13018/jquery-event-namespace/</link>
<description><![CDATA[ <p>Adding a namespace to an event can make it easier to unbind. It is very easy to unbind all events with the same namespace.</p> ]]></description>
<pubDate>Thu, 12 Mar 2009 06:18:08 GMT</pubDate>
<guid>http://snipplr.com/view/13018/jquery-event-namespace/</guid>
</item>
<item>
<title>(jQuery) Find selected elements index</title>
<link>http://snipplr.com/view/13015/find-selected-elements-index/</link>
<description><![CDATA[ <p>Never used the index() method in jQuery but could be useful to know. Find a selected elements index when you click on it. Note the $('ul#mylist') inside the index method, gives the search some context of where to look for .selected, saves looking through all the DOM.</p> ]]></description>
<pubDate>Thu, 12 Mar 2009 05:07:34 GMT</pubDate>
<guid>http://snipplr.com/view/13015/find-selected-elements-index/</guid>
</item>
<item>
<title>(jQuery) Simple jQuery Imagefader</title>
<link>http://snipplr.com/view/12844/simple-jquery-imagefader/</link>
<description><![CDATA[ <p>Simple imagefader to rotate around a few images. Seem to be doing this a lot in various projects so decided to put something a bit more generic together. Uses jQuery. Images named as car1.jpg, car2.jpg, car3..... etc.</p> ]]></description>
<pubDate>Fri, 06 Mar 2009 07:11:15 GMT</pubDate>
<guid>http://snipplr.com/view/12844/simple-jquery-imagefader/</guid>
</item>
<item>
<title>(JavaScript) jQuery Input value select</title>
<link>http://snipplr.com/view/11429/jquery-input-value-select/</link>
<description><![CDATA[ <p>Click on an input field with a prefilled value, if that value equals the default then select it, if not leave it as it was. Relies on jQuery.</p> ]]></description>
<pubDate>Thu, 22 Jan 2009 05:32:58 GMT</pubDate>
<guid>http://snipplr.com/view/11429/jquery-input-value-select/</guid>
</item>
<item>
<title>(JavaScript) JSON-P with jQuery</title>
<link>http://snipplr.com/view/10700/jsonp-with-jquery/</link>
<description><![CDATA[ <p>Using JSON-P with jQuery. Note the callback.</p> ]]></description>
<pubDate>Fri, 26 Dec 2008 18:34:06 GMT</pubDate>
<guid>http://snipplr.com/view/10700/jsonp-with-jquery/</guid>
</item>
<item>
<title>(JavaScript) The jQuery Data Store</title>
<link>http://snipplr.com/view/9715/the-jquery-data-store/</link>
<description><![CDATA[ <p>I didn't realise until now you could do this in jQuery, very useful. Store a value for later use, then remove it.</p> ]]></description>
<pubDate>Thu, 13 Nov 2008 10:45:01 GMT</pubDate>
<guid>http://snipplr.com/view/9715/the-jquery-data-store/</guid>
</item>
<item>
<title>(JavaScript) jQuery open external link in new window</title>
<link>http://snipplr.com/view/8733/jquery-open-external-link-in-new-window/</link>
<description><![CDATA[ <p>Two different ways to open an external link (ones that start in http) in a new window. I know this isn't a great thing to do, but some clients _need_ to have it.</p> ]]></description>
<pubDate>Wed, 01 Oct 2008 06:04:07 GMT</pubDate>
<guid>http://snipplr.com/view/8733/jquery-open-external-link-in-new-window/</guid>
</item>
<item>
<title>(JavaScript) jQuery Fade In Sequence</title>
<link>http://snipplr.com/view/5360/jquery-fade-in-sequence/</link>
<description><![CDATA[ <p>I'm sure i can clean this up quite a bit, but it works for the moment.

This function looks to see if you are on a selected page. If you are it hides the navigation, then loops through and shows each li one after the other. So they don't all fade in together. Needs a tidy i think.</p> ]]></description>
<pubDate>Mon, 10 Mar 2008 16:57:08 GMT</pubDate>
<guid>http://snipplr.com/view/5360/jquery-fade-in-sequence/</guid>
</item>
<item>
<title>(JavaScript) jQuery Object Hash and jQuery Extend</title>
<link>http://snipplr.com/view/5273/jquery-object-hash-and-jquery-extend/</link>
<description><![CDATA[ <p>An example of how to extent the jQuery objects to include our own methods.</p> ]]></description>
<pubDate>Wed, 05 Mar 2008 06:03:46 GMT</pubDate>
<guid>http://snipplr.com/view/5273/jquery-object-hash-and-jquery-extend/</guid>
</item>
<item>
<title>(JavaScript) Option Hash Using jQuery</title>
<link>http://snipplr.com/view/5221/option-hash-using-jquery/</link>
<description><![CDATA[ <p>If you have a complex function you may need to pass it lots of arguments. Instead of having to remember how many you need to pass, and passing 'null' for un needed arguments, pass the function an object.

Now you can set the defaults inside the function, which will be superseeded if they are passed as an argument.</p> ]]></description>
<pubDate>Wed, 27 Feb 2008 15:20:11 GMT</pubDate>
<guid>http://snipplr.com/view/5221/option-hash-using-jquery/</guid>
</item>
<item>
<title>(JavaScript) jQuery Link Background Quick Fade</title>
<link>http://snipplr.com/view/4662/jquery-link-background-quick-fade/</link>
<description><![CDATA[ <p>Found this quick little bit of code on the Google jQuery discussion group. It simply fades the background image of a link you have hovered over to a certain color, then fades it back to the original color.</p> ]]></description>
<pubDate>Sat, 19 Jan 2008 12:05:49 GMT</pubDate>
<guid>http://snipplr.com/view/4662/jquery-link-background-quick-fade/</guid>
</item>
</channel>
</rss>