<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 14:15:02 +0000</lastBuildDate>
    <item>
      <title>(jQuery) Check to see if function triggered by an event - 1man</title>
      <link>https://snipplr.com/view/52618/check-to-see-if-function-triggered-by-an-event</link>
      <description>&lt;p&gt;Rather that using $(element).trigger('click'), check to see if execute has come from an element rather than directly.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Apr 2011 02:28:27 UTC</pubDate>
      <guid>https://snipplr.com/view/52618/check-to-see-if-function-triggered-by-an-event</guid>
    </item>
    <item>
      <title>(jQuery) Store the relationship between elements using .data() - 1man</title>
      <link>https://snipplr.com/view/52617/store-the-relationship-between-elements-using-data</link>
      <description>&lt;p&gt;Very useful snippet to link elements together.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Apr 2011 02:13:13 UTC</pubDate>
      <guid>https://snipplr.com/view/52617/store-the-relationship-between-elements-using-data</guid>
    </item>
    <item>
      <title>(jQuery) Validate an age using jQuery Validator plug-in - 1man</title>
      <link>https://snipplr.com/view/43071/validate-an-age-using-jquery-validator-plugin</link>
      <description>&lt;p&gt;Useful snippet i found on a forum, use it to check to see if a user is old enough to submit a form.&lt;/p&gt;</description>
      <pubDate>Thu, 28 Oct 2010 01:22:57 UTC</pubDate>
      <guid>https://snipplr.com/view/43071/validate-an-age-using-jquery-validator-plugin</guid>
    </item>
    <item>
      <title>(jQuery) Cache files with jQuery and ajax method - 1man</title>
      <link>https://snipplr.com/view/26403/cache-files-with-jquery-and-ajax-method</link>
      <description>&lt;p&gt;Handy little snippet i found in 'jquery enlightenment' for caching certain selected files. Could be useful for larger files later on in a site.&lt;/p&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:47:22 UTC</pubDate>
      <guid>https://snipplr.com/view/26403/cache-files-with-jquery-and-ajax-method</guid>
    </item>
    <item>
      <title>(jQuery) Simple jQuery plugin layout + how 'this' works - 1man</title>
      <link>https://snipplr.com/view/26382/simple-jquery-plugin-layout--how-this-works</link>
      <description>&lt;p&gt;Simple plugin to demonstrate how the 'this' keyword is used. Plugin also allows chaining via the 'return'&lt;/p&gt;</description>
      <pubDate>Wed, 13 Jan 2010 08:31:58 UTC</pubDate>
      <guid>https://snipplr.com/view/26382/simple-jquery-plugin-layout--how-this-works</guid>
    </item>
    <item>
      <title>(jQuery) Simple jQuery page scroller - 1man</title>
      <link>https://snipplr.com/view/26326/simple-jquery-page-scroller</link>
      <description>&lt;p&gt;Example in 'jQuery enlightenment'&#13;
&#13;
Simple way to jump smoothly down the page without the use of a plugin.&lt;/p&gt;</description>
      <pubDate>Tue, 12 Jan 2010 12:38:10 UTC</pubDate>
      <guid>https://snipplr.com/view/26326/simple-jquery-page-scroller</guid>
    </item>
    <item>
      <title>(jQuery) Custom jQuery selector - 1man</title>
      <link>https://snipplr.com/view/26264/custom-jquery-selector</link>
      <description>&lt;p&gt;Example given in the book jQuery Enlightenment.&#13;
&#13;
Create your own custom selectors in jQuery and manipulate as usual.&lt;/p&gt;</description>
      <pubDate>Mon, 11 Jan 2010 10:34:01 UTC</pubDate>
      <guid>https://snipplr.com/view/26264/custom-jquery-selector</guid>
    </item>
    <item>
      <title>(jQuery) jQuery and Yahoo pipes simple ajax call - 1man</title>
      <link>https://snipplr.com/view/23066/jquery-and-yahoo-pipes-simple-ajax-call</link>
      <description>&lt;p&gt;Very simple example of pulling in a JSON feed from Yahoo pipes using jQuery.&lt;/p&gt;</description>
      <pubDate>Fri, 13 Nov 2009 10:43:24 UTC</pubDate>
      <guid>https://snipplr.com/view/23066/jquery-and-yahoo-pipes-simple-ajax-call</guid>
    </item>
    <item>
      <title>(jQuery) Function Timing Example (includes jQuery) - 1man</title>
      <link>https://snipplr.com/view/16617/function-timing-example-includes-jquery</link>
      <description>&lt;p&gt;A way to time how long it takes to get through a certain block of code. Good way to measure performance on the page.&#13;
&#13;
You could also use the built in logging functions in firebug. Not sure how they would tally up in a test.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jul 2009 07:17:55 UTC</pubDate>
      <guid>https://snipplr.com/view/16617/function-timing-example-includes-jquery</guid>
    </item>
    <item>
      <title>(jQuery) Add class of 'last' to every 3rd image - 1man</title>
      <link>https://snipplr.com/view/15924/add-class-of-last-to-every-3rd-image</link>
      <description>&lt;p&gt;Quick little clientside script to pick out every 3rd image and add a class of last to it.&#13;
&#13;
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.&lt;/p&gt;</description>
      <pubDate>Sun, 14 Jun 2009 12:53:41 UTC</pubDate>
      <guid>https://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 - 1man</title>
      <link>https://snipplr.com/view/13326/add-table-row-to-the-bottom-of-a-table</link>
      <description>&lt;p&gt;Great little snippit to add a &lt;tr&gt; 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!&lt;/p&gt;</description>
      <pubDate>Fri, 20 Mar 2009 12:53:48 UTC</pubDate>
      <guid>https://snipplr.com/view/13326/add-table-row-to-the-bottom-of-a-table</guid>
    </item>
    <item>
      <title>(jQuery) Simple jQuery Equal Columns Plug-in - 1man</title>
      <link>https://snipplr.com/view/13096/simple-jquery-equal-columns-plugin</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Fri, 13 Mar 2009 14:47:20 UTC</pubDate>
      <guid>https://snipplr.com/view/13096/simple-jquery-equal-columns-plugin</guid>
    </item>
    <item>
      <title>(jQuery) jQuery event namespace - 1man</title>
      <link>https://snipplr.com/view/13018/jquery-event-namespace</link>
      <description>&lt;p&gt;Adding a namespace to an event can make it easier to unbind. It is very easy to unbind all events with the same namespace.&lt;/p&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:18:08 UTC</pubDate>
      <guid>https://snipplr.com/view/13018/jquery-event-namespace</guid>
    </item>
    <item>
      <title>(jQuery) Find selected elements index - 1man</title>
      <link>https://snipplr.com/view/13015/find-selected-elements-index</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Thu, 12 Mar 2009 05:07:34 UTC</pubDate>
      <guid>https://snipplr.com/view/13015/find-selected-elements-index</guid>
    </item>
    <item>
      <title>(jQuery) Simple jQuery Imagefader - 1man</title>
      <link>https://snipplr.com/view/12844/simple-jquery-imagefader</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Fri, 06 Mar 2009 07:11:15 UTC</pubDate>
      <guid>https://snipplr.com/view/12844/simple-jquery-imagefader</guid>
    </item>
    <item>
      <title>(jQuery) Remove text from a node (e.g in links) - 1man</title>
      <link>https://snipplr.com/view/12178/remove-text-from-a-node-eg-in-links</link>
      <description>&lt;p&gt;Removed a certain word from a list of links (purely for design reasons). Link length way to long with the link included.&lt;/p&gt;</description>
      <pubDate>Fri, 13 Feb 2009 11:06:49 UTC</pubDate>
      <guid>https://snipplr.com/view/12178/remove-text-from-a-node-eg-in-links</guid>
    </item>
  </channel>
</rss>
