<?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</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 08:09:54 GMT</pubDate>
<item>
<title>(CSS) Simple button fade transition</title>
<link>http://snipplr.com/view/71277/simple-button-fade-transition/</link>
<description><![CDATA[ <p>On hover the button will have a smooth transition to the hover colour, then fade out on  mouse out.</p> ]]></description>
<pubDate>Thu, 23 May 2013 11:56:51 GMT</pubDate>
<guid>http://snipplr.com/view/71277/simple-button-fade-transition/</guid>
</item>
<item>
<title>(jQuery) Check to see if function triggered by an event</title>
<link>http://snipplr.com/view/52618/check-to-see-if-function-triggered-by-an-event/</link>
<description><![CDATA[ <p>Rather that using $(element).trigger('click'), check to see if execute has come from an element rather than directly.</p> ]]></description>
<pubDate>Wed, 27 Apr 2011 02:28:27 GMT</pubDate>
<guid>http://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()</title>
<link>http://snipplr.com/view/52617/store-the-relationship-between-elements-using-data/</link>
<description><![CDATA[ <p>Very useful snippet to link elements together.</p> ]]></description>
<pubDate>Wed, 27 Apr 2011 02:13:13 GMT</pubDate>
<guid>http://snipplr.com/view/52617/store-the-relationship-between-elements-using-data/</guid>
</item>
<item>
<title>(JavaScript) Switch using an Object</title>
<link>http://snipplr.com/view/52613/switch-using-an-object/</link>
<description><![CDATA[ <p>Using an object as a simple switch.</p> ]]></description>
<pubDate>Wed, 27 Apr 2011 01:17:46 GMT</pubDate>
<guid>http://snipplr.com/view/52613/switch-using-an-object/</guid>
</item>
<item>
<title>(CSS) CSS Clearfix</title>
<link>http://snipplr.com/view/50587/css-clearfix/</link>
<description><![CDATA[ <p>CSS clearfix without using overflow: hidden.</p> ]]></description>
<pubDate>Sat, 12 Mar 2011 20:50:34 GMT</pubDate>
<guid>http://snipplr.com/view/50587/css-clearfix/</guid>
</item>
<item>
<title>(CSS) Vertically centre a menu without setting an explicit width</title>
<link>http://snipplr.com/view/48293/vertically-centre-a-menu-without-setting-an-explicit-width/</link>
<description><![CDATA[ <p>Useful bit of CSS to vertically centre a navigation. Good for Pagination.</p> ]]></description>
<pubDate>Thu, 03 Feb 2011 01:16:25 GMT</pubDate>
<guid>http://snipplr.com/view/48293/vertically-centre-a-menu-without-setting-an-explicit-width/</guid>
</item>
<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>(JavaScript) Module layout in JavaScript</title>
<link>http://snipplr.com/view/39437/module-layout-in-javascript/</link>
<description><![CDATA[ <p>Simple illustration of structuring your JavaScript and minimising your use of global vars.</p> ]]></description>
<pubDate>Tue, 24 Aug 2010 00:24:53 GMT</pubDate>
<guid>http://snipplr.com/view/39437/module-layout-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Exceptions in JavaScript</title>
<link>http://snipplr.com/view/39431/exceptions-in-javascript/</link>
<description><![CDATA[ <p>An example taken from JavaScript: The good parts showing how to catch an exception.</p> ]]></description>
<pubDate>Mon, 23 Aug 2010 20:55:09 GMT</pubDate>
<guid>http://snipplr.com/view/39431/exceptions-in-javascript/</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) Function Timing Example (includes jQuery)</title>
<link>http://snipplr.com/view/16617/function-timing-example-includes-jquery/</link>
<description><![CDATA[ <p>A way to time how long it takes to get through a certain block of code. Good way to measure performance on the page.

You could also use the built in logging functions in firebug. Not sure how they would tally up in a test.</p> ]]></description>
<pubDate>Fri, 03 Jul 2009 07:17:55 GMT</pubDate>
<guid>http://snipplr.com/view/16617/function-timing-example-includes-jquery/</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>(JavaScript) Add hasJS class to HTML element</title>
<link>http://snipplr.com/view/14992/add-hasjs-class-to-html-element/</link>
<description><![CDATA[ <p>Adds a class of hasJS to the html element, can be used for CSS styling.</p> ]]></description>
<pubDate>Thu, 14 May 2009 04:12:12 GMT</pubDate>
<guid>http://snipplr.com/view/14992/add-hasjs-class-to-html-element/</guid>
</item>
<item>
<title>(CSS) Button Sliding Doors</title>
<link>http://snipplr.com/view/14965/button-sliding-doors/</link>
<description><![CDATA[ <p>Finally got round going through a sliding door example myself. All fairly straightforward apart from a few IE6 issues (who would have guessed!). 

The button is floated so you may need to add overflow: hidden to it's container.</p> ]]></description>
<pubDate>Wed, 13 May 2009 11:19:36 GMT</pubDate>
<guid>http://snipplr.com/view/14965/button-sliding-doors/</guid>
</item>
<item>
<title>(CSS) Css Button Sliding doors</title>
<link>http://snipplr.com/view/14647/css-button-sliding-doors/</link>
<description><![CDATA[ <p>Useful little spippet for a button anchor where the text may change.</p> ]]></description>
<pubDate>Sat, 02 May 2009 11:35:43 GMT</pubDate>
<guid>http://snipplr.com/view/14647/css-button-sliding-doors/</guid>
</item>
<item>
<title>(HTML) HTML 4 Doctype</title>
<link>http://snipplr.com/view/14284/html-4-doctype/</link>
<description><![CDATA[ <p>Simple HTML Strict doctype</p> ]]></description>
<pubDate>Wed, 22 Apr 2009 11:45:54 GMT</pubDate>
<guid>http://snipplr.com/view/14284/html-4-doctype/</guid>
</item>
</channel>
</rss>