<?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>Wed, 10 Jun 2026 04:39:53 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Console.log Detection - alvincrespo</title>
      <link>https://snipplr.com/view/52591/consolelog-detection</link>
      <description>&lt;p&gt;Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.&lt;/p&gt;</description>
      <pubDate>Tue, 26 Apr 2011 15:02:19 UTC</pubDate>
      <guid>https://snipplr.com/view/52591/consolelog-detection</guid>
    </item>
    <item>
      <title>(jQuery) Hiding a Dialog Box on Outside Click - alvincrespo</title>
      <link>https://snipplr.com/view/45867/hiding-a-dialog-box-on-outside-click</link>
      <description>&lt;p&gt;This is essentially how to detect an outside click for a dialog box on a website, using HTML/CSS/Javascript/JQuery. &#13;
&#13;
Essentially you need to understand event propagation how it works throughout the DOM with JQuery, to make this as simple as possible. Add a listener to the html or body element that detects a click, hide the box when it receives that event. Otherwise, stop the propagation of the event when the container receives it (the event).&#13;
&#13;
If you have any question, or want a further explanation, don't hesitate to get in contact with me.&#13;
&#13;
Cheers!&lt;/p&gt;</description>
      <pubDate>Fri, 17 Dec 2010 10:09:14 UTC</pubDate>
      <guid>https://snipplr.com/view/45867/hiding-a-dialog-box-on-outside-click</guid>
    </item>
    <item>
      <title>(PHP) PHP Days Ago Script - alvincrespo</title>
      <link>https://snipplr.com/view/38732/php-days-ago-script</link>
      <description>&lt;p&gt;Working on creating a 'days ago' script. I know some already exist, but I just want to know how to do it myself. I'm also incorporating leap year functionality and some utility functions that could be used on other projects.&lt;/p&gt;</description>
      <pubDate>Mon, 09 Aug 2010 05:09:24 UTC</pubDate>
      <guid>https://snipplr.com/view/38732/php-days-ago-script</guid>
    </item>
    <item>
      <title>(CSS) CSS3  Dropshadows - alvincrespo</title>
      <link>https://snipplr.com/view/36630/css3--dropshadows</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 03 Jul 2010 03:35:08 UTC</pubDate>
      <guid>https://snipplr.com/view/36630/css3--dropshadows</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript Random Number Generation (1 - 10) - alvincrespo</title>
      <link>https://snipplr.com/view/29253/javascript-random-number-generation-1--10</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 03 Mar 2010 23:08:57 UTC</pubDate>
      <guid>https://snipplr.com/view/29253/javascript-random-number-generation-1--10</guid>
    </item>
    <item>
      <title>(ActionScript 3) Using the FileReference API in AS3 for Uploading MP3's - alvincrespo</title>
      <link>https://snipplr.com/view/29089/using-the-filereference-api-in-as3-for-uploading-mp3s</link>
      <description>&lt;p&gt;This is the file reference class ive been using for one of my projects&lt;/p&gt;</description>
      <pubDate>Mon, 01 Mar 2010 20:21:18 UTC</pubDate>
      <guid>https://snipplr.com/view/29089/using-the-filereference-api-in-as3-for-uploading-mp3s</guid>
    </item>
    <item>
      <title>(ActionScript 3) Button Template Class in AS3 - alvincrespo</title>
      <link>https://snipplr.com/view/29088/button-template-class-in-as3</link>
      <description>&lt;p&gt;Here is a template button class, ive been using for my projects. Cheers!&lt;/p&gt;</description>
      <pubDate>Mon, 01 Mar 2010 20:17:36 UTC</pubDate>
      <guid>https://snipplr.com/view/29088/button-template-class-in-as3</guid>
    </item>
    <item>
      <title>(ActionScript 3) AS3 File Reference Manager Class using the File Reference API - alvincrespo</title>
      <link>https://snipplr.com/view/28887/as3-file-reference-manager-class-using-the-file-reference-api</link>
      <description>&lt;p&gt;Based on the following references:&#13;
&#13;
http://not-equal.blogspot.com/2006/08/upload-file-as3-php.html     &#13;
&#13;
http://www.thedanosphere.com/?p=76    &#13;
&#13;
I created a simple file manager class that I will be extending in the near future for an AIR App I will also be releasing. If you have more that could be added, let me know and I would be glad to make modifications. Enjoy my fellow actionscriptrs!&lt;/p&gt;</description>
      <pubDate>Thu, 25 Feb 2010 00:54:31 UTC</pubDate>
      <guid>https://snipplr.com/view/28887/as3-file-reference-manager-class-using-the-file-reference-api</guid>
    </item>
    <item>
      <title>(JavaScript) Essential Javascript Techniques - alvincrespo</title>
      <link>https://snipplr.com/view/28811/essential-javascript-techniques</link>
      <description>&lt;p&gt;These are essential javascript techniques every javascriptr must know. I will be adding more to this list, let me know what you'd like to see. Thanks!&lt;/p&gt;</description>
      <pubDate>Tue, 23 Feb 2010 17:52:23 UTC</pubDate>
      <guid>https://snipplr.com/view/28811/essential-javascript-techniques</guid>
    </item>
    <item>
      <title>(PHP) PHP Beginning OOP - alvincrespo</title>
      <link>https://snipplr.com/view/28809/php-beginning-oop</link>
      <description>&lt;p&gt;These are important object oriented principles (OOP) that one must understand in PHP to create dynamic web applications. I hope you find this useful in understanding inheritance.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Feb 2010 17:47:08 UTC</pubDate>
      <guid>https://snipplr.com/view/28809/php-beginning-oop</guid>
    </item>
    <item>
      <title>(ActionScript 3) AS3 - Dynamic Label Generator - alvincrespo</title>
      <link>https://snipplr.com/view/28795/as3--dynamic-label-generator</link>
      <description>&lt;p&gt;This is a dynamic label generator for a project I'm working on.  (Source files coming soon)&lt;/p&gt;</description>
      <pubDate>Tue, 23 Feb 2010 11:47:05 UTC</pubDate>
      <guid>https://snipplr.com/view/28795/as3--dynamic-label-generator</guid>
    </item>
    <item>
      <title>(PHP) Retrieve Twitter Status using PHP and XML - alvincrespo</title>
      <link>https://snipplr.com/view/28676/retrieve-twitter-status-using-php-and-xml</link>
      <description>&lt;p&gt;This is the beginning of my retrieval of twitter status class...just something im playing with right now. It retrieves the xml, saves it on your server, then you can either use javascript or php to traverse the xml tree.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Feb 2010 21:15:46 UTC</pubDate>
      <guid>https://snipplr.com/view/28676/retrieve-twitter-status-using-php-and-xml</guid>
    </item>
    <item>
      <title>(PHP) PHP Database Connection Class - alvincrespo</title>
      <link>https://snipplr.com/view/28635/php-database-connection-class</link>
      <description>&lt;p&gt;Just a beginning, hoping to refine this ASAP.&lt;/p&gt;</description>
      <pubDate>Fri, 19 Feb 2010 17:30:39 UTC</pubDate>
      <guid>https://snipplr.com/view/28635/php-database-connection-class</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript OOP Form Validator - alvincrespo</title>
      <link>https://snipplr.com/view/28592/javascript-oop-form-validator</link>
      <description>&lt;p&gt;Just thought id put up a version of my form validation class. It will be expanded in the future but I thought Id let everyone have a look.&#13;
&#13;
# Update 0.1  #&#13;
    *   Create Error List Function&#13;
    *   Validate Email Address Function&#13;
    *   Validate Length of field&lt;/p&gt;</description>
      <pubDate>Fri, 19 Feb 2010 03:12:07 UTC</pubDate>
      <guid>https://snipplr.com/view/28592/javascript-oop-form-validator</guid>
    </item>
    <item>
      <title>(JavaScript) Loading XML Using Raw Javascript - alvincrespo</title>
      <link>https://snipplr.com/view/28570/loading-xml-using-raw-javascript</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 18 Feb 2010 16:33:14 UTC</pubDate>
      <guid>https://snipplr.com/view/28570/loading-xml-using-raw-javascript</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript OOP Example (Constructor Version) - alvincrespo</title>
      <link>https://snipplr.com/view/28569/javascript-oop-example-constructor-version</link>
      <description>&lt;p&gt;This is a simple example of OOP in Javascript, based off the highly popular Javascript "The Definitive Guide" book by David Flanagan. I will be expanding this example in the future, let me know what you'd like to see.  Thanks!&#13;
&#13;
Note: You must have firebug for firefox to see the results of console.log()&lt;/p&gt;</description>
      <pubDate>Thu, 18 Feb 2010 16:10:15 UTC</pubDate>
      <guid>https://snipplr.com/view/28569/javascript-oop-example-constructor-version</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript - Reverse a String - alvincrespo</title>
      <link>https://snipplr.com/view/28471/javascript--reverse-a-string</link>
      <description>&lt;p&gt;Just a simple snippet on how to reverse a string using a for loop.&lt;/p&gt;</description>
      <pubDate>Wed, 17 Feb 2010 02:56:30 UTC</pubDate>
      <guid>https://snipplr.com/view/28471/javascript--reverse-a-string</guid>
    </item>
    <item>
      <title>(ActionScript 3) How to Reverse a String - alvincrespo</title>
      <link>https://snipplr.com/view/28354/how-to-reverse-a-string</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 15 Feb 2010 22:02:10 UTC</pubDate>
      <guid>https://snipplr.com/view/28354/how-to-reverse-a-string</guid>
    </item>
    <item>
      <title>(ActionScript 3) Sound Manager Class - alvincrespo</title>
      <link>https://snipplr.com/view/28222/sound-manager-class</link>
      <description>&lt;p&gt;This is a sound manager class for a small project I've been working on for the past two days. Nothing really major or new, but just some simple functionality including play/stop/forward/previous functions that may help prove useful to someone. If you have any recommendations for improving this, I would love to hear about it. Thanks!&lt;/p&gt;</description>
      <pubDate>Fri, 12 Feb 2010 02:39:25 UTC</pubDate>
      <guid>https://snipplr.com/view/28222/sound-manager-class</guid>
    </item>
    <item>
      <title>(ActionScript 3) Load Multiple XML Files - alvincrespo</title>
      <link>https://snipplr.com/view/28221/load-multiple-xml-files</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 12 Feb 2010 02:34:46 UTC</pubDate>
      <guid>https://snipplr.com/view/28221/load-multiple-xml-files</guid>
    </item>
  </channel>
</rss>
