<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/library</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 17:25:30 GMT</pubDate>
<item>
<title>(JavaScript) Create Screenshots with JavaScript - Maximus1983</title>
<link>http://snipplr.com/view/65045/create-screenshots-with-javascript/</link>
<description><![CDATA[ <p>You will need to get an account at [GrabzIt](http://grabz.it) once you have this you need to add your [authorized domain](http://grabz.it/account/domains.aspx) this stops people using your account resources.

Then get your [application key](http://grabz.it/api/) place this where it says APPPLICATION KEY in the snipped below.

Change http://www.google.com to be the website of your choice.

Place this snippet anywhere within the body tag. Your screenshot should appear within a few seconds. You can have as many of these tags on the page as you like.

If you need to debug it they have a [diagnostics panel](http://grabz.it/account/diagnostics/) there are also [more options](http://grabz.it/api/javascript/) available.</p> ]]></description>
<pubDate>Thu, 24 May 2012 00:13:40 GMT</pubDate>
<guid>http://snipplr.com/view/65045/create-screenshots-with-javascript/</guid>
</item>
<item>
<title>(JavaScript) 2D Graphics Library (work in progress) - jatkins</title>
<link>http://snipplr.com/view/64991/2d-graphics-library-work-in-progress/</link>
<description><![CDATA[ <p>Released into the public domain</p> ]]></description>
<pubDate>Tue, 22 May 2012 09:14:02 GMT</pubDate>
<guid>http://snipplr.com/view/64991/2d-graphics-library-work-in-progress/</guid>
</item>
<item>
<title>(JavaScript) A compact, versatile library - AndyG</title>
<link>http://snipplr.com/view/50766/a-compact-versatile-library/</link>
<description><![CDATA[ <p>This is my own (compact) JS library which contains a variety of methods - cookies, (fast) sorting of tables,paragraphs, etc., highlighting rows, moving elements up or down, converting strings to dates, updating a clock etc.. Include the library and add a JS line such as 'var adg = new AndyG_ns.ADG_Utils();' to access the methods.
The ADG_Drag class is not mine - if anyone knows the author please advise me and I will acknowledge. Andy.</p> ]]></description>
<pubDate>Thu, 17 Mar 2011 08:41:22 GMT</pubDate>
<guid>http://snipplr.com/view/50766/a-compact-versatile-library/</guid>
</item>
<item>
<title>(JavaScript) Light (4kb mini-jQuery) - freelancephp</title>
<link>http://snipplr.com/view/29083/light-4kb-minijquery/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 01 Mar 2010 16:47:11 GMT</pubDate>
<guid>http://snipplr.com/view/29083/light-4kb-minijquery/</guid>
</item>
<item>
<title>(JavaScript) jsCore - icoder</title>
<link>http://snipplr.com/view/19261/jscore/</link>
<description><![CDATA[ <p>This i my base library with extensions to the JavaScript objects like String and Date</p> ]]></description>
<pubDate>Fri, 04 Sep 2009 07:57:56 GMT</pubDate>
<guid>http://snipplr.com/view/19261/jscore/</guid>
</item>
<item>
<title>(JavaScript) SoQ Code - full library - uncompressed - Piotrek290</title>
<link>http://snipplr.com/view/19179/soq-code--full-library--uncompressed/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Sep 2009 12:20:00 GMT</pubDate>
<guid>http://snipplr.com/view/19179/soq-code--full-library--uncompressed/</guid>
</item>
<item>
<title>(JavaScript) SoQ Code - full library - Piotrek290</title>
<link>http://snipplr.com/view/19004/soq-code--full-library/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 29 Aug 2009 16:41:34 GMT</pubDate>
<guid>http://snipplr.com/view/19004/soq-code--full-library/</guid>
</item>
<item>
<title>(JavaScript) toggle classnames on a DOM element (supports multiple classnames) - noah</title>
<link>http://snipplr.com/view/3338/toggle-classnames-on-a-dom-element-supports-multiple-classnames/</link>
<description><![CDATA[ <p># Example
Assuming some element like 

     < span id="foo" class="bar homer marge"  >

Then switch `#foo` back and forth between class names as follows.  Note that doing so does not destroy the other classnames that are attached to `#foo`.

     toggleClassname($('#foo')[0], 'bar', 'baz');

If this is applied to an element that does not have the classname `bar` then that classname will be added.

There is also a jQuery version of [toggle class name and replace classname.](http://github.com/textarcana/jquery_plugins)</p> ]]></description>
<pubDate>Fri, 20 Jul 2007 19:15:59 GMT</pubDate>
<guid>http://snipplr.com/view/3338/toggle-classnames-on-a-dom-element-supports-multiple-classnames/</guid>
</item>
<item>
<title>(JavaScript) Sort the OPTIONs in a SELECT menu - noah</title>
<link>http://snipplr.com/view/3265/sort-the-options-in-a-select-menu/</link>
<description><![CDATA[ <p>Author: Clyde Ingram</p> ]]></description>
<pubDate>Tue, 10 Jul 2007 15:46:00 GMT</pubDate>
<guid>http://snipplr.com/view/3265/sort-the-options-in-a-select-menu/</guid>
</item>
<item>
<title>(JavaScript) Toggle value of nested property - noah</title>
<link>http://snipplr.com/view/3251/toggle-value-of-nested-property/</link>
<description><![CDATA[ <p>I feel like I once found an elegant way of setting nested properties without using eval().  However i can't find that code, and atm this is the best I can do.</p> ]]></description>
<pubDate>Sun, 08 Jul 2007 10:58:49 GMT</pubDate>
<guid>http://snipplr.com/view/3251/toggle-value-of-nested-property/</guid>
</item>
<item>
<title>(JavaScript) Crockford's object producer - noah</title>
<link>http://snipplr.com/view/3154/crockfords-object-producer/</link>
<description><![CDATA[ <p>Note that this will /not/ work:
var a = {a:1, b:2}
var b = {prototype: a}</p> ]]></description>
<pubDate>Fri, 06 Jul 2007 21:06:54 GMT</pubDate>
<guid>http://snipplr.com/view/3154/crockfords-object-producer/</guid>
</item>
<item>
<title>(JavaScript) Safely Get and Operate Upon An Element - noah</title>
<link>http://snipplr.com/view/3071/safely-get-and-operate-upon-an-element/</link>
<description><![CDATA[ <p>Pass this an ID or an object reference, as well as any number of functions that take the referenced object as a parameter.  This wrapper is intended to provide a sanity check against missing DOM elements.</p> ]]></description>
<pubDate>Thu, 28 Jun 2007 20:09:25 GMT</pubDate>
<guid>http://snipplr.com/view/3071/safely-get-and-operate-upon-an-element/</guid>
</item>
<item>
<title>(JavaScript) keys: get an array of all property names in an object - noah</title>
<link>http://snipplr.com/view/2841/keys-get-an-array-of-all-property-names-in-an-object/</link>
<description><![CDATA[ <p>do the same thing as the Perl "keys" subroutine</p> ]]></description>
<pubDate>Mon, 11 Jun 2007 08:56:49 GMT</pubDate>
<guid>http://snipplr.com/view/2841/keys-get-an-array-of-all-property-names-in-an-object/</guid>
</item>
<item>
<title>(JavaScript) Trim trailing white space - noah</title>
<link>http://snipplr.com/view/2840/trim-trailing-white-space/</link>
<description><![CDATA[ <p>Trim whitespace at the end of a line</p> ]]></description>
<pubDate>Mon, 11 Jun 2007 08:55:47 GMT</pubDate>
<guid>http://snipplr.com/view/2840/trim-trailing-white-space/</guid>
</item>
<item>
<title>(JavaScript) Prototype Based JavaScript Tooltip - jonhenshaw</title>
<link>http://snipplr.com/view/1441/prototype-based-javascript-tooltip/</link>
<description><![CDATA[ <p>JavaScript Tooltip libraries number about as many as rounded CSS corner libraries.

Jonathan Weiss thought the ones he saw were "too complicated and bloated, did just too much and most of the time were still not flexible enough with the tooltip. So I decided to create my own library that is based on prototype.js".</p> ]]></description>
<pubDate>Fri, 20 Oct 2006 17:22:09 GMT</pubDate>
<guid>http://snipplr.com/view/1441/prototype-based-javascript-tooltip/</guid>
</item>
</channel>
</rss>