<?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/tags/javascript</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 00:14:31 GMT</pubDate>
<item>
<title>(JavaScript) Merge or unmerge lists of items depending on window size - jbernus</title>
<link>http://snipplr.com/view/71515/merge-or-unmerge-lists-of-items-depending-on-window-size/</link>
<description><![CDATA[ <p>For side by side ULs that become too wide on small screens/devices.
The following script let you merge or unmerge ULs depending on the size of the screen/device.

Works with jQuery</p> ]]></description>
<pubDate>Thu, 13 Jun 2013 23:02:02 GMT</pubDate>
<guid>http://snipplr.com/view/71515/merge-or-unmerge-lists-of-items-depending-on-window-size/</guid>
</item>
<item>
<title>(JavaScript) Javascript - How to know if an object is Empty - satie83</title>
<link>http://snipplr.com/view/71495/javascript--how-to-know-if-an-object-is-empty/</link>
<description><![CDATA[ <p>Assuming that by empty means "has no properties of its own"</p> ]]></description>
<pubDate>Thu, 13 Jun 2013 02:24:27 GMT</pubDate>
<guid>http://snipplr.com/view/71495/javascript--how-to-know-if-an-object-is-empty/</guid>
</item>
<item>
<title>(JavaScript) Really basic jquery plugin template - with callback - rickygri</title>
<link>http://snipplr.com/view/71455/really-basic-jquery-plugin-template--with-callback/</link>
<description><![CDATA[ <p>This is a really basic skeleton template for jQuery plugins. It provides a callback function which can be called anywhere in your plugin with base.success(); This will return the current element, but you can pass anything you like back by changing the base.$el value passed to the function to whatever you like.</p> ]]></description>
<pubDate>Sat, 08 Jun 2013 01:35:44 GMT</pubDate>
<guid>http://snipplr.com/view/71455/really-basic-jquery-plugin-template--with-callback/</guid>
</item>
<item>
<title>(PHP) WP External Links - freelancephp</title>
<link>http://snipplr.com/view/71438/wp-external-links/</link>
<description><![CDATA[ <p>Configure settings for all external links on your site.

Features:
* Open external links in new window or tab
* Add "nofollow"
* Set link title
* Set link icon
* Set classes (for your own styling)
* Set no-icon class
* SEO friendly</p> ]]></description>
<pubDate>Fri, 07 Jun 2013 07:00:10 GMT</pubDate>
<guid>http://snipplr.com/view/71438/wp-external-links/</guid>
</item>
<item>
<title>(JavaScript) Poor Man's JavaScript OOP Tools - octaviannitagmailcom</title>
<link>http://snipplr.com/view/71370/poor-mans-javascript-oop-tools/</link>
<description><![CDATA[ <p>In which one can see why exactly JavaScript is the 'assembler' of the web :) ...</p> ]]></description>
<pubDate>Sun, 02 Jun 2013 04:35:26 GMT</pubDate>
<guid>http://snipplr.com/view/71370/poor-mans-javascript-oop-tools/</guid>
</item>
<item>
<title>(JavaScript) node.js_url_shortener_w_qr_code_generation_api/service by Matt Grill - redhatmatt</title>
<link>http://snipplr.com/view/71364/nodejsurlshortenerwqrcodegenerationapiservice-by-matt-grill/</link>
<description><![CDATA[ <p>It currently uses redis as a store for the data. The url's are pretty long since it's all base64 encoded data and the images are returned as base64 encoded PNG's but that can be solved pretty easily. This could be used a service for something kind of authentication front end, drupal</p> ]]></description>
<pubDate>Sat, 01 Jun 2013 04:54:58 GMT</pubDate>
<guid>http://snipplr.com/view/71364/nodejsurlshortenerwqrcodegenerationapiservice-by-matt-grill/</guid>
</item>
<item>
<title>(JavaScript) Equal height for list items - jbernus</title>
<link>http://snipplr.com/view/71280/equal-height-for-list-items/</link>
<description><![CDATA[ <p>It's not mine, I just found it on stackoverflow</p> ]]></description>
<pubDate>Thu, 23 May 2013 17:12:24 GMT</pubDate>
<guid>http://snipplr.com/view/71280/equal-height-for-list-items/</guid>
</item>
<item>
<title>(JavaScript) iOS orientation change zoom bug fix - bitsculptor</title>
<link>http://snipplr.com/view/71258/ios-orientation-change-zoom-bug-fix/</link>
<description><![CDATA[ <p>This is a simple fix for the iOS zoom bug that happens when changing screen orientations.</p> ]]></description>
<pubDate>Wed, 22 May 2013 04:48:06 GMT</pubDate>
<guid>http://snipplr.com/view/71258/ios-orientation-change-zoom-bug-fix/</guid>
</item>
<item>
<title>(HTML) HTML5 Shim - nshakin</title>
<link>http://snipplr.com/view/71235/html5-shim/</link>
<description><![CDATA[ <p>Source code adds new HTML5 elements (which is simple code), but also supports printing HTML5 elements and includes the default styles for HTML5 elements, like block on article and section.  (GOTO the referenced url to download the javascript package)</p> ]]></description>
<pubDate>Sun, 19 May 2013 16:22:16 GMT</pubDate>
<guid>http://snipplr.com/view/71235/html5-shim/</guid>
</item>
<item>
<title>(JavaScript) Check If JQuery Is Loaded In The Browser - nshakin</title>
<link>http://snipplr.com/view/71207/check-if-jquery-is-loaded-in-the-browser/</link>
<description><![CDATA[ <p>Use Javascript to check if JQuery is loaded properly in the browser</p> ]]></description>
<pubDate>Fri, 17 May 2013 00:00:29 GMT</pubDate>
<guid>http://snipplr.com/view/71207/check-if-jquery-is-loaded-in-the-browser/</guid>
</item>
<item>
<title>(JavaScript) How to retrieve data from a list in Sharepoint 2013 using oData and JavaScript - rumremix</title>
<link>http://snipplr.com/view/71175/how-to-retrieve-data-from-a-list-in-sharepoint-2013-using-odata-and-javascript/</link>
<description><![CDATA[ <p>The following code fetches contents of each Title field from the list called "LandingMiddleLinks"</p> ]]></description>
<pubDate>Wed, 15 May 2013 03:29:20 GMT</pubDate>
<guid>http://snipplr.com/view/71175/how-to-retrieve-data-from-a-list-in-sharepoint-2013-using-odata-and-javascript/</guid>
</item>
<item>
<title>(JavaScript) email validation - dreamstarter</title>
<link>http://snipplr.com/view/70726/email-validation/</link>
<description><![CDATA[ <p>Use a regex to check the email address input</p> ]]></description>
<pubDate>Tue, 09 Apr 2013 23:33:35 GMT</pubDate>
<guid>http://snipplr.com/view/70726/email-validation/</guid>
</item>
<item>
<title>(JavaScript) Using Ajax in JavaScript and jQuery - codingforever99</title>
<link>http://snipplr.com/view/70718/using-ajax-in-javascript-and-jquery/</link>
<description><![CDATA[ <p>simple code of using Ajax by JavaScript or jQuery</p> ]]></description>
<pubDate>Tue, 09 Apr 2013 09:41:04 GMT</pubDate>
<guid>http://snipplr.com/view/70718/using-ajax-in-javascript-and-jquery/</guid>
</item>
<item>
<title>(JavaScript) Dynamic Table Generator - COBOLdinosaur</title>
<link>http://snipplr.com/view/70654/dynamic-table-generator/</link>
<description><![CDATA[ <p>The use of dynamic data acquisition on modern web sites and in a lot of intranet applications, sometimes means we have to build structures dynamically as data comes in from a feed or AJAX operations. The problem is not with the data, but rather that it is unstructured, or not appropriately tagged. The solution is to dynamically build the necessary structures to make the data presentable in a web page</p> ]]></description>
<pubDate>Thu, 04 Apr 2013 07:15:15 GMT</pubDate>
<guid>http://snipplr.com/view/70654/dynamic-table-generator/</guid>
</item>
<item>
<title>(JavaScript) Redirect with a Dropdown Menu in JavaScript - apphp-snippets</title>
<link>http://snipplr.com/view/70263/redirect-with-a-dropdown-menu-in-javascript/</link>
<description><![CDATA[ <p>This simple scripts show a possibility to call a JavaScript function that retrieves a variable passed from drop down box as a parameter and then the JavaScript redirects the browser to the variable that was passed to it.</p> ]]></description>
<pubDate>Tue, 05 Mar 2013 20:11:05 GMT</pubDate>
<guid>http://snipplr.com/view/70263/redirect-with-a-dropdown-menu-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Specify Referring Page in JavaScript - apphp-snippets</title>
<link>http://snipplr.com/view/70240/specify-referring-page-in-javascript/</link>
<description><![CDATA[ <p>This script informs your visitor that a given page may be reached only from the page that you specify. Paste this code before the ending  tag on the page:</p> ]]></description>
<pubDate>Mon, 04 Mar 2013 20:17:29 GMT</pubDate>
<guid>http://snipplr.com/view/70240/specify-referring-page-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Email Validation in JavaScript - apphp-snippets</title>
<link>http://snipplr.com/view/70239/email-validation-in-javascript/</link>
<description><![CDATA[ <p>One of the important things about user input is to verify that the user has supplied the email that you have requested. The function below allows you to verify email address with easy.</p> ]]></description>
<pubDate>Mon, 04 Mar 2013 20:16:37 GMT</pubDate>
<guid>http://snipplr.com/view/70239/email-validation-in-javascript/</guid>
</item>
<item>
<title>(Java) Close Window in JavaScript - apphp-snippets</title>
<link>http://snipplr.com/view/70238/close-window-in-javascript/</link>
<description><![CDATA[ <p>The function that closes window is very useful when you use a pop-up window on your page, because it allows the visitor to easily close the window. You can also do it several ways: to use a button, a text link or make the window closes automatically after a given number of seconds.</p> ]]></description>
<pubDate>Mon, 04 Mar 2013 20:15:30 GMT</pubDate>
<guid>http://snipplr.com/view/70238/close-window-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Pass Parameters in SetInterval() function in JavaScript - apphp-snippets</title>
<link>http://snipplr.com/view/70222/pass-parameters-in-setinterval-function-in-javascript/</link>
<description><![CDATA[ <p>You may perform this work with two ways: pass it directly like described in sample #1 or use an anonymous function like its shown in sample #2.</p> ]]></description>
<pubDate>Sun, 03 Mar 2013 21:02:26 GMT</pubDate>
<guid>http://snipplr.com/view/70222/pass-parameters-in-setinterval-function-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Toggling Elements with JavaScript - apphp-snippets</title>
<link>http://snipplr.com/view/70221/toggling-elements-with-javascript/</link>
<description><![CDATA[ <p>This function allows you to pass two variables that represent ID of two elements on your page. What you click on one of them it hide it and shows another one.</p> ]]></description>
<pubDate>Sun, 03 Mar 2013 21:01:01 GMT</pubDate>
<guid>http://snipplr.com/view/70221/toggling-elements-with-javascript/</guid>
</item>
</channel>
</rss>