<?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 17:02:04 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Switch using an Object - 1man</title>
      <link>https://snipplr.com/view/52613/switch-using-an-object</link>
      <description>&lt;p&gt;Using an object as a simple switch.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Apr 2011 01:17:46 UTC</pubDate>
      <guid>https://snipplr.com/view/52613/switch-using-an-object</guid>
    </item>
    <item>
      <title>(JavaScript) Module layout in JavaScript - 1man</title>
      <link>https://snipplr.com/view/39437/module-layout-in-javascript</link>
      <description>&lt;p&gt;Simple illustration of structuring your JavaScript and minimising your use of global vars.&lt;/p&gt;</description>
      <pubDate>Tue, 24 Aug 2010 00:24:53 UTC</pubDate>
      <guid>https://snipplr.com/view/39437/module-layout-in-javascript</guid>
    </item>
    <item>
      <title>(JavaScript) Exceptions in JavaScript - 1man</title>
      <link>https://snipplr.com/view/39431/exceptions-in-javascript</link>
      <description>&lt;p&gt;An example taken from JavaScript: The good parts showing how to catch an exception.&lt;/p&gt;</description>
      <pubDate>Mon, 23 Aug 2010 20:55:09 UTC</pubDate>
      <guid>https://snipplr.com/view/39431/exceptions-in-javascript</guid>
    </item>
    <item>
      <title>(JavaScript) Add hasJS class to HTML element - 1man</title>
      <link>https://snipplr.com/view/14992/add-hasjs-class-to-html-element</link>
      <description>&lt;p&gt;Adds a class of hasJS to the html element, can be used for CSS styling.&lt;/p&gt;</description>
      <pubDate>Thu, 14 May 2009 04:12:12 UTC</pubDate>
      <guid>https://snipplr.com/view/14992/add-hasjs-class-to-html-element</guid>
    </item>
    <item>
      <title>(JavaScript) jQuery Input value select - 1man</title>
      <link>https://snipplr.com/view/11429/jquery-input-value-select</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Thu, 22 Jan 2009 05:32:58 UTC</pubDate>
      <guid>https://snipplr.com/view/11429/jquery-input-value-select</guid>
    </item>
    <item>
      <title>(JavaScript) JSON-P with jQuery - 1man</title>
      <link>https://snipplr.com/view/10700/jsonp-with-jquery</link>
      <description>&lt;p&gt;Using JSON-P with jQuery. Note the callback.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Dec 2008 18:34:06 UTC</pubDate>
      <guid>https://snipplr.com/view/10700/jsonp-with-jquery</guid>
    </item>
    <item>
      <title>(JavaScript) The jQuery Data Store - 1man</title>
      <link>https://snipplr.com/view/9715/the-jquery-data-store</link>
      <description>&lt;p&gt;I didn't realise until now you could do this in jQuery, very useful. Store a value for later use, then remove it.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Nov 2008 10:45:01 UTC</pubDate>
      <guid>https://snipplr.com/view/9715/the-jquery-data-store</guid>
    </item>
    <item>
      <title>(JavaScript) Adobe Air Introspector Commands - 1man</title>
      <link>https://snipplr.com/view/8888/adobe-air-introspector-commands</link>
      <description>&lt;p&gt;Simple list of commands to use within Adobe AIR to help debug an application.&lt;/p&gt;</description>
      <pubDate>Wed, 08 Oct 2008 04:28:52 UTC</pubDate>
      <guid>https://snipplr.com/view/8888/adobe-air-introspector-commands</guid>
    </item>
    <item>
      <title>(JavaScript) jQuery radio button donate submit - 1man</title>
      <link>https://snipplr.com/view/8747/jquery-radio-button-donate-submit</link>
      <description>&lt;p&gt;This snippet is useful on donate forms. If you have a radio button for other value, then this will clear the current value in the text input box, and attach the user in putted value to the other radio button.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:48:14 UTC</pubDate>
      <guid>https://snipplr.com/view/8747/jquery-radio-button-donate-submit</guid>
    </item>
    <item>
      <title>(JavaScript) jQuery open external link in new window - 1man</title>
      <link>https://snipplr.com/view/8733/jquery-open-external-link-in-new-window</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Oct 2008 06:04:07 UTC</pubDate>
      <guid>https://snipplr.com/view/8733/jquery-open-external-link-in-new-window</guid>
    </item>
    <item>
      <title>(JavaScript) Stop Firebug Console Command Errors - 1man</title>
      <link>https://snipplr.com/view/5485/stop-firebug-console-command-errors</link>
      <description>&lt;p&gt;Sometimes i forget to remove firebug console commands when debuging, which makes IE and some other browsers fail / cry.&#13;
&#13;
To stop this happening use the below script from firebugx.js on the firebug lite homepage.&lt;/p&gt;</description>
      <pubDate>Tue, 18 Mar 2008 19:54:35 UTC</pubDate>
      <guid>https://snipplr.com/view/5485/stop-firebug-console-command-errors</guid>
    </item>
    <item>
      <title>(JavaScript) jQuery Fade In Sequence - 1man</title>
      <link>https://snipplr.com/view/5360/jquery-fade-in-sequence</link>
      <description>&lt;p&gt;I'm sure i can clean this up quite a bit, but it works for the moment.&#13;
&#13;
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.&lt;/p&gt;</description>
      <pubDate>Mon, 10 Mar 2008 16:57:08 UTC</pubDate>
      <guid>https://snipplr.com/view/5360/jquery-fade-in-sequence</guid>
    </item>
    <item>
      <title>(JavaScript) Function invocation and 'this' Context Example - 1man</title>
      <link>https://snipplr.com/view/5280/function-invocation-and-this-context-example</link>
      <description>&lt;p&gt;Quick example to show how 'this' depends on how the function in which you called it in was being invoked. From jQuery in Action.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Mar 2008 17:40:56 UTC</pubDate>
      <guid>https://snipplr.com/view/5280/function-invocation-and-this-context-example</guid>
    </item>
    <item>
      <title>(JavaScript) Closure Example Relating to 'this' Execution Context - 1man</title>
      <link>https://snipplr.com/view/5279/closure-example-relating-to-this-execution-context</link>
      <description>&lt;p&gt;Example showing how using 'this' in a function depends on where 'this' is defined. From book jQuery in Action.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Mar 2008 17:32:40 UTC</pubDate>
      <guid>https://snipplr.com/view/5279/closure-example-relating-to-this-execution-context</guid>
    </item>
    <item>
      <title>(JavaScript) jQuery Object Hash and jQuery Extend - 1man</title>
      <link>https://snipplr.com/view/5273/jquery-object-hash-and-jquery-extend</link>
      <description>&lt;p&gt;An example of how to extent the jQuery objects to include our own methods.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Mar 2008 06:03:46 UTC</pubDate>
      <guid>https://snipplr.com/view/5273/jquery-object-hash-and-jquery-extend</guid>
    </item>
    <item>
      <title>(JavaScript) Option Hash Using jQuery - 1man</title>
      <link>https://snipplr.com/view/5221/option-hash-using-jquery</link>
      <description>&lt;p&gt;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.&#13;
&#13;
Now you can set the defaults inside the function, which will be superseeded if they are passed as an argument.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Feb 2008 15:20:11 UTC</pubDate>
      <guid>https://snipplr.com/view/5221/option-hash-using-jquery</guid>
    </item>
    <item>
      <title>(JavaScript) Cross Browser Cursor Position - 1man</title>
      <link>https://snipplr.com/view/5069/cross-browser-cursor-position</link>
      <description>&lt;p&gt;Nice little snippet i found on Ajaxian, finds the position of the mouse cursor when it is fired.&lt;/p&gt;</description>
      <pubDate>Thu, 14 Feb 2008 16:06:19 UTC</pubDate>
      <guid>https://snipplr.com/view/5069/cross-browser-cursor-position</guid>
    </item>
    <item>
      <title>(JavaScript) jQuery Link Background Quick Fade - 1man</title>
      <link>https://snipplr.com/view/4662/jquery-link-background-quick-fade</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Sat, 19 Jan 2008 12:05:49 UTC</pubDate>
      <guid>https://snipplr.com/view/4662/jquery-link-background-quick-fade</guid>
    </item>
    <item>
      <title>(JavaScript) jQuery Simple Style Switcher - 1man</title>
      <link>https://snipplr.com/view/4483/jquery-simple-style-switcher</link>
      <description>&lt;p&gt;Very simple style switcher using jquery. Takes 3 links with id's on each. When one is clicked various styles are removed, then a new one is added.&lt;/p&gt;</description>
      <pubDate>Thu, 10 Jan 2008 07:20:07 UTC</pubDate>
      <guid>https://snipplr.com/view/4483/jquery-simple-style-switcher</guid>
    </item>
    <item>
      <title>(JavaScript) Adobe AIR Open New URL with Sandbox Bridge - 1man</title>
      <link>https://snipplr.com/view/4442/adobe-air-open-new-url-with-sandbox-bridge</link>
      <description>&lt;p&gt;Adobe Air has a few security settings that stops you executing certain AIR methods when inside the sandbox. The code below bridges between the root document and the security sandbox, allowing you to open a URL in AIR in a default browser.&lt;/p&gt;</description>
      <pubDate>Wed, 02 Jan 2008 10:29:36 UTC</pubDate>
      <guid>https://snipplr.com/view/4442/adobe-air-open-new-url-with-sandbox-bridge</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript Closure - 1man</title>
      <link>https://snipplr.com/view/4247/javascript-closure</link>
      <description>&lt;p&gt;Apologies if I haven't explained this to well, I'm still trying to get my head round closures.&lt;/p&gt;</description>
      <pubDate>Sun, 02 Dec 2007 17:04:45 UTC</pubDate>
      <guid>https://snipplr.com/view/4247/javascript-closure</guid>
    </item>
    <item>
      <title>(JavaScript) Function call() Method - 1man</title>
      <link>https://snipplr.com/view/4241/function-call-method</link>
      <description>&lt;p&gt;This method allows you to call a function as a method of another object. The first argument the call method expects is the object it is to operate on. Any others are part of the function. Note how the this keyword now refers to the comp object, so a result property is created inside comp.&lt;/p&gt;</description>
      <pubDate>Sun, 02 Dec 2007 09:24:31 UTC</pubDate>
      <guid>https://snipplr.com/view/4241/function-call-method</guid>
    </item>
    <item>
      <title>(JavaScript) Array Functions as Data - 1man</title>
      <link>https://snipplr.com/view/4240/array-functions-as-data</link>
      <description>&lt;p&gt;The important thing to notice is the () operator in a[2]. It is invoking the function inside a[0] with the argument a[1].&lt;/p&gt;</description>
      <pubDate>Sun, 02 Dec 2007 07:59:36 UTC</pubDate>
      <guid>https://snipplr.com/view/4240/array-functions-as-data</guid>
    </item>
    <item>
      <title>(JavaScript) Accessing Arguments Using the Arguments Object - 1man</title>
      <link>https://snipplr.com/view/4239/accessing-arguments-using-the-arguments-object</link>
      <description>&lt;p&gt;Every function has an object called the arguments object. This is an object that contains all the arguments that were passed to the function. The example below shows how to access these. Very rarely used but useful to know. Note: it may look like an array, but it's better to think of it as an object with numbered properties.&lt;/p&gt;</description>
      <pubDate>Sun, 02 Dec 2007 06:50:07 UTC</pubDate>
      <guid>https://snipplr.com/view/4239/accessing-arguments-using-the-arguments-object</guid>
    </item>
    <item>
      <title>(JavaScript) Optional Function Arguments - 1man</title>
      <link>https://snipplr.com/view/4238/optional-function-arguments</link>
      <description>&lt;p&gt;Simple way of allowing functions to take optional arguments. Always place the optional arguments last, so you don't have to explicitly pass an argument as "undefined".&lt;/p&gt;</description>
      <pubDate>Sun, 02 Dec 2007 06:19:11 UTC</pubDate>
      <guid>https://snipplr.com/view/4238/optional-function-arguments</guid>
    </item>
    <item>
      <title>(JavaScript) Simple Switch Statement - 1man</title>
      <link>https://snipplr.com/view/4156/simple-switch-statement</link>
      <description>&lt;p&gt;Very basic switch statement.&lt;/p&gt;</description>
      <pubDate>Sun, 18 Nov 2007 10:58:53 UTC</pubDate>
      <guid>https://snipplr.com/view/4156/simple-switch-statement</guid>
    </item>
    <item>
      <title>(JavaScript) Basic Usage of the 'in' and 'instanceOf' Operators - 1man</title>
      <link>https://snipplr.com/view/4128/basic-usage-of-the-in-and-instanceof-operators</link>
      <description>&lt;p&gt;Basic usage of the in and instanceOf operators.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Nov 2007 18:26:13 UTC</pubDate>
      <guid>https://snipplr.com/view/4128/basic-usage-of-the-in-and-instanceof-operators</guid>
    </item>
    <item>
      <title>(JavaScript) Mootools Draggable / Resize Example - 1man</title>
      <link>https://snipplr.com/view/4038/mootools-draggable--resize-example</link>
      <description>&lt;p&gt;Very simple drag and resize function.&lt;/p&gt;</description>
      <pubDate>Mon, 29 Oct 2007 08:29:23 UTC</pubDate>
      <guid>https://snipplr.com/view/4038/mootools-draggable--resize-example</guid>
    </item>
    <item>
      <title>(JavaScript) Mootools Slide Toggle - 1man</title>
      <link>https://snipplr.com/view/4037/mootools-slide-toggle</link>
      <description>&lt;p&gt;Very basic way to toggle an element to slide in and out using mootools 1.1. Uses FX.Slide, other transitions are available.&lt;/p&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:30:30 UTC</pubDate>
      <guid>https://snipplr.com/view/4037/mootools-slide-toggle</guid>
    </item>
    <item>
      <title>(JavaScript) Basic Object Creation - 1man</title>
      <link>https://snipplr.com/view/3629/basic-object-creation</link>
      <description>&lt;p&gt;Create a simple object and add properties and a method. Note where the object is parsed (not from top to bottom).&lt;/p&gt;</description>
      <pubDate>Tue, 04 Sep 2007 03:27:56 UTC</pubDate>
      <guid>https://snipplr.com/view/3629/basic-object-creation</guid>
    </item>
    <item>
      <title>(JavaScript) Focus and Select a Form Input - 1man</title>
      <link>https://snipplr.com/view/3268/focus-and-select-a-form-input</link>
      <description>&lt;p&gt;For forms with a default value onload you don't want your users to have to select the value, delete it and then insert their own input.&#13;
&#13;
This function focuses on a selected input, then it selects the default text so the user can easily type their own value.&lt;/p&gt;</description>
      <pubDate>Wed, 11 Jul 2007 05:51:26 UTC</pubDate>
      <guid>https://snipplr.com/view/3268/focus-and-select-a-form-input</guid>
    </item>
    <item>
      <title>(JavaScript) addEvent Function - 1man</title>
      <link>https://snipplr.com/view/2456/addevent-function</link>
      <description>&lt;p&gt;addEvent function. Can't remember the exact site i got it from. Works well for me.&lt;/p&gt;</description>
      <pubDate>Thu, 12 Apr 2007 04:26:43 UTC</pubDate>
      <guid>https://snipplr.com/view/2456/addevent-function</guid>
    </item>
    <item>
      <title>(JavaScript) Linking Objects &amp; Deleting Info in Objects - 1man</title>
      <link>https://snipplr.com/view/2365/linking-objects--deleting-info-in-objects</link>
      <description>&lt;p&gt;Shows you how to link 2 objects together via the object function. If a value isn't found in the object, it will look for it in the linked object.&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2007 09:56:09 UTC</pubDate>
      <guid>https://snipplr.com/view/2365/linking-objects--deleting-info-in-objects</guid>
    </item>
    <item>
      <title>(JavaScript) Extending Objects and Custom Objects using .prototype - 1man</title>
      <link>https://snipplr.com/view/2364/extending-objects-and-custom-objects-using-prototype</link>
      <description>&lt;p&gt;Extend a custom object, and a pre-defined object(e.g. string) using .prototype available in JS.&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2007 08:02:15 UTC</pubDate>
      <guid>https://snipplr.com/view/2364/extending-objects-and-custom-objects-using-prototype</guid>
    </item>
    <item>
      <title>(JavaScript) Pull in Info from a HTML File using innerHTML - 1man</title>
      <link>https://snipplr.com/view/2331/pull-in-info-from-a-html-file-using-innerhtml</link>
      <description>&lt;p&gt;Simply replaces the div's innerHTML with the response text received from the file.&lt;/p&gt;</description>
      <pubDate>Wed, 14 Mar 2007 09:32:50 UTC</pubDate>
      <guid>https://snipplr.com/view/2331/pull-in-info-from-a-html-file-using-innerhtml</guid>
    </item>
    <item>
      <title>(JavaScript) Basic JSON File - 1man</title>
      <link>https://snipplr.com/view/2323/basic-json-file</link>
      <description>&lt;p&gt;Basic layout for the data contained in a JSON file.(JavaScript Obsect Notation).&lt;/p&gt;</description>
      <pubDate>Wed, 14 Mar 2007 03:09:27 UTC</pubDate>
      <guid>https://snipplr.com/view/2323/basic-json-file</guid>
    </item>
    <item>
      <title>(JavaScript) Ajax Parsing XML Data - 1man</title>
      <link>https://snipplr.com/view/2316/ajax-parsing-xml-data</link>
      <description>&lt;p&gt;This function allows you to parse a simple XML document(passed to it using this.href on a onclick event). Virtually the same as JSON, the things that have been changed ate labeled !Important.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Mar 2007 09:54:15 UTC</pubDate>
      <guid>https://snipplr.com/view/2316/ajax-parsing-xml-data</guid>
    </item>
    <item>
      <title>(JavaScript) Ajax Parsing JSON Data - 1man</title>
      <link>https://snipplr.com/view/2315/ajax-parsing-json-data</link>
      <description>&lt;p&gt;This function is near enough the same as parsing XML. The only things that have changed are the sections marked !important.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Mar 2007 09:47:32 UTC</pubDate>
      <guid>https://snipplr.com/view/2315/ajax-parsing-json-data</guid>
    </item>
    <item>
      <title>(JavaScript) Remove All childNodes - 1man</title>
      <link>https://snipplr.com/view/2312/remove-all-childnodes</link>
      <description>&lt;p&gt;This while loop will remove all childNodes from a selected element.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Mar 2007 07:30:22 UTC</pubDate>
      <guid>https://snipplr.com/view/2312/remove-all-childnodes</guid>
    </item>
    <item>
      <title>(JavaScript) Grab Text from a File Ajax - 1man</title>
      <link>https://snipplr.com/view/2311/grab-text-from-a-file-ajax</link>
      <description>&lt;p&gt;Very basic grab a line of text from a file then display it in an alert box. Uses other functions for loading prepareLinks() and creating the request.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Mar 2007 05:14:55 UTC</pubDate>
      <guid>https://snipplr.com/view/2311/grab-text-from-a-file-ajax</guid>
    </item>
    <item>
      <title>(JavaScript) Ajax Post Request - 1man</title>
      <link>https://snipplr.com/view/2304/ajax-post-request</link>
      <description>&lt;p&gt;Simple Ajax POST request using the getHTTPObject function.&lt;/p&gt;</description>
      <pubDate>Mon, 12 Mar 2007 09:41:25 UTC</pubDate>
      <guid>https://snipplr.com/view/2304/ajax-post-request</guid>
    </item>
    <item>
      <title>(JavaScript) Ajax GET Request - 1man</title>
      <link>https://snipplr.com/view/2303/ajax-get-request</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 12 Mar 2007 09:37:00 UTC</pubDate>
      <guid>https://snipplr.com/view/2303/ajax-get-request</guid>
    </item>
    <item>
      <title>(JavaScript) Ajax getHTTPObject function - 1man</title>
      <link>https://snipplr.com/view/2300/ajax-gethttpobject-function</link>
      <description>&lt;p&gt;This functions allows you to create a new XMLHTTPRequest, it checks to see if the browser supports each method, if not it returns false.&lt;/p&gt;</description>
      <pubDate>Mon, 12 Mar 2007 05:37:54 UTC</pubDate>
      <guid>https://snipplr.com/view/2300/ajax-gethttpobject-function</guid>
    </item>
    <item>
      <title>(JavaScript) Standard Compliant Way to Open A New Page Function - 1man</title>
      <link>https://snipplr.com/view/2245/standard-compliant-way-to-open-a-new-page-function</link>
      <description>&lt;p&gt;This function allows you to open a new window, without using any inline Javascript. Simply add rel="external" to the link you wish to open in a new window.&lt;/p&gt;</description>
      <pubDate>Thu, 08 Mar 2007 03:11:32 UTC</pubDate>
      <guid>https://snipplr.com/view/2245/standard-compliant-way-to-open-a-new-page-function</guid>
    </item>
    <item>
      <title>(JavaScript) Query Variable Function - 1man</title>
      <link>https://snipplr.com/view/2244/query-variable-function</link>
      <description>&lt;p&gt;This function extracts a value from a url. Very useful for tracking codes. For example, you have a url http://your.url/?source=666999, and you need the source number to be placed into a variable. Use the code below.&lt;/p&gt;</description>
      <pubDate>Thu, 08 Mar 2007 02:55:41 UTC</pubDate>
      <guid>https://snipplr.com/view/2244/query-variable-function</guid>
    </item>
    <item>
      <title>(JavaScript) addClass Function - 1man</title>
      <link>https://snipplr.com/view/2181/addclass-function</link>
      <description>&lt;p&gt;Function to look if an element has a class, if it doesn't simply add it to the element. If it does have a class add it to the class that is already there. Function expects 2 values, the element to add the class to, and the new class name (value).&lt;/p&gt;</description>
      <pubDate>Mon, 19 Feb 2007 06:43:37 UTC</pubDate>
      <guid>https://snipplr.com/view/2181/addclass-function</guid>
    </item>
    <item>
      <title>(JavaScript) Stripe Table Rows DOM JS Function - 1man</title>
      <link>https://snipplr.com/view/2167/stripe-table-rows-dom-js-function</link>
      <description>&lt;p&gt;This function looks for tables in a web page, then loops through the rows and sets the backgroundColor for ever other row.This creates a striped table which is easier to read.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Feb 2007 06:29:15 UTC</pubDate>
      <guid>https://snipplr.com/view/2167/stripe-table-rows-dom-js-function</guid>
    </item>
    <item>
      <title>(JavaScript) addLoadEvent Function - 1man</title>
      <link>https://snipplr.com/view/2166/addloadevent-function</link>
      <description>&lt;p&gt;Use this function to queue functions you wish to load on window onload. Very useful when code becomes complex.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Feb 2007 05:55:38 UTC</pubDate>
      <guid>https://snipplr.com/view/2166/addloadevent-function</guid>
    </item>
    <item>
      <title>(JavaScript) Usage of getNextElement Function - 1man</title>
      <link>https://snipplr.com/view/2165/usage-of-getnextelement-function</link>
      <description>&lt;p&gt;Usage of the getNextElement function. Very basic usage to pick out the h1 tags, then change the properties of the next element(not node).&lt;/p&gt;</description>
      <pubDate>Tue, 13 Feb 2007 05:40:55 UTC</pubDate>
      <guid>https://snipplr.com/view/2165/usage-of-getnextelement-function</guid>
    </item>
    <item>
      <title>(JavaScript) getNextElement DOM function - 1man</title>
      <link>https://snipplr.com/view/2164/getnextelement-dom-function</link>
      <description>&lt;p&gt;Useful function for CSS DOM, returns the next element after the selected node. So you could style the element directly after a h1 element for example.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Feb 2007 04:48:15 UTC</pubDate>
      <guid>https://snipplr.com/view/2164/getnextelement-dom-function</guid>
    </item>
  </channel>
</rss>
