<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MattVanAndel.com &#187; Toolbox</title>
	<atom:link href="http://www.mattvanandel.com/category/toolbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattvanandel.com</link>
	<description>Web Development for the Developmentally Challenged</description>
	<lastBuildDate>Mon, 11 Apr 2011 14:29:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>(jQuery) Add &#8220;Smart&#8221; Default Values to Form TextBoxes</title>
		<link>http://www.mattvanandel.com/956/jquery-add-smart-textbox-default-values/</link>
		<comments>http://www.mattvanandel.com/956/jquery-add-smart-textbox-default-values/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 17:07:08 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Toolbox]]></category>
		<category><![CDATA[@Complexity: Intermediate]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.mattvanandel.com/?p=956</guid>
		<description><![CDATA[This article covers a handy usability feature that will allow you to set "smart" default values in your form textboxes. The JavaScript handles three things - coloring (gray for default, black for user-entered values), automatically clearing the field when a user selects it, and automatically replacing the default text if the user de-selects the field without entering anything.

This is particularly useful for forms targeting mobile browsers (such as iPhone or Android, since you can then use the field itself as a label) - or forms where you want to include some "example text" in certain fields. It's a very clean, intuitive way of improving the usability of any web form.]]></description>
		<wfw:commentRss>http://www.mattvanandel.com/956/jquery-add-smart-textbox-default-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(jQuery) .nextOrFirst() function guarantees a selection</title>
		<link>http://www.mattvanandel.com/999/jquery-nextorfirst-function-guarantees-a-selection/</link>
		<comments>http://www.mattvanandel.com/999/jquery-nextorfirst-function-guarantees-a-selection/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 20:26:42 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Toolbox]]></category>
		<category><![CDATA[@Complexity: Beginner]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.mattvanandel.com/?p=999</guid>
		<description><![CDATA[The <span class="code">.nextOrFirst()</span> jQuery function/plugin detailed here works as an alias for <span class="code">.next()</span>, except when there are no more objects for <span class="code">.next()</span> to select. When this happens, <span class="code">.nextOrFirst()</span> will automatically select the first element from within the same parent (essentially treating the first element as "next").]]></description>
		<wfw:commentRss>http://www.mattvanandel.com/999/jquery-nextorfirst-function-guarantees-a-selection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>(jQuery) Make Vimeo Embeds iPhone-friendly&#8230; Automagically!</title>
		<link>http://www.mattvanandel.com/958/jquery-make-vimeo-embeds-iphone-friendly-automagically/</link>
		<comments>http://www.mattvanandel.com/958/jquery-make-vimeo-embeds-iphone-friendly-automagically/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 19:50:43 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Toolbox]]></category>
		<category><![CDATA[@Complexity: Intermediate]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.mattvanandel.com/?p=958</guid>
		<description><![CDATA[This article demonstrates the use of a neat bit of jQuery that will automagically make your Vimeo embeds work on an iPhone or iPad.

If you're a Vimeo user you may have noticed that the service recently added mobile compatibility to their already-respectable list of features. There is a caveat, though. This new mobile compatibility does NOT extend to videos that you embed on your site - only videos that you watch on the Vimeo website. But what if you use Vimeo primarily for embedding videos on your own site, and you want those videos to be watchable on an iPhone or iPad? Vimeos official stance is... add a link. This is *not* ideal.

Fortunately, with a creative bit of jQuery and HTML 5, we can detect mobile browsers and automatically replace Vimeo's flash player on a webpage with an HTML 5 one when appropriate.]]></description>
		<wfw:commentRss>http://www.mattvanandel.com/958/jquery-make-vimeo-embeds-iphone-friendly-automagically/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>(C#) Sending an Email with an Attachment (via Form)</title>
		<link>http://www.mattvanandel.com/842/c-sending-an-email-with-an-attachment-via-form/</link>
		<comments>http://www.mattvanandel.com/842/c-sending-an-email-with-an-attachment-via-form/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 17:58:31 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Toolbox]]></category>
		<category><![CDATA[@Complexity: Intermediate]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://www.mattvanandel.com/?p=842</guid>
		<description><![CDATA[This article explains how to send an email that includes an attachment from a web form. This is particularly useful if you need to create a web form that allows users to upload their own file attachments. The examples in this article assume that you already have a form with a FileUpload element in it, named "fuAttachment". This particular method is especially useful since it does not require you to save any files to the server before sending the email. The posted data is instead handled directly. 

You should already by familiar with sending emails from ASP.NET before reading this article.]]></description>
		<wfw:commentRss>http://www.mattvanandel.com/842/c-sending-an-email-with-an-attachment-via-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(C#) Sending an Email (Plain-Text &amp; HTML)</title>
		<link>http://www.mattvanandel.com/771/c-sending-an-email/</link>
		<comments>http://www.mattvanandel.com/771/c-sending-an-email/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 18:57:11 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Toolbox]]></category>
		<category><![CDATA[@Complexity: Intermediate]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://www.mattvanandel.com/?p=771</guid>
		<description><![CDATA[This article covers the various methods of sending an email using C#, either in plain text or HTML.]]></description>
		<wfw:commentRss>http://www.mattvanandel.com/771/c-sending-an-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(C#) Null Coalescing Operator (setting default variable values)</title>
		<link>http://www.mattvanandel.com/74/null-coalescing-operator/</link>
		<comments>http://www.mattvanandel.com/74/null-coalescing-operator/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 14:00:27 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Toolbox]]></category>
		<category><![CDATA[@Complexity: Beginner]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://mattvanandel.com.mytempweb.com/?p=74</guid>
		<description><![CDATA[The purpose of the <em>Null Coalescing Operator</em> ( <span class="code">??</span> ) is to set a default value for a variable in the event the first value you are attempting to assign from is <span class="code blue">null</span>. Hence, the logic behind the null coalescing operator is this: <em>If this variable is <span class="code blue">null</span>, use this other value instead.</em>

This is handy is because what would otherwise be a multiple-line if/else block is now a single, concise line.]]></description>
		<wfw:commentRss>http://www.mattvanandel.com/74/null-coalescing-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(C#) DateTimes: Finding the last day of a month</title>
		<link>http://www.mattvanandel.com/355/csharp-datetimes-finding-the-last-day-of-a-month/</link>
		<comments>http://www.mattvanandel.com/355/csharp-datetimes-finding-the-last-day-of-a-month/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 00:14:23 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Toolbox]]></category>
		<category><![CDATA[@Complexity: Intermediate]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[DateTime]]></category>

		<guid isPermaLink="false">http://www.mattvanandel.com/?p=355</guid>
		<description><![CDATA[Since we know that all months have at least one day, setting an existing DateTime to the first day of a month is a cinch... but finding the <em>last</em> day of a month is a wee bit more complicated since months tend to have a variable number of days from year to year.

Fortunately, there is a relatively simple (if roundabout) way to calculate the last day in a month.]]></description>
		<wfw:commentRss>http://www.mattvanandel.com/355/csharp-datetimes-finding-the-last-day-of-a-month/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

