<?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>Trent Richardson</title>
	<atom:link href="http://trentrichardson.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://trentrichardson.com</link>
	<description>practical web design &#38; development</description>
	<lastBuildDate>Thu, 29 Jul 2010 12:02:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Timepicker Addon Now on Github</title>
		<link>http://trentrichardson.com/2010/07/06/timepicker-addon-now-on-github/</link>
		<comments>http://trentrichardson.com/2010/07/06/timepicker-addon-now-on-github/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 11:47:37 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[timepicker]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=635</guid>
		<description><![CDATA[Just wanted to update on the timepicker addon. I&#8217;ve had trouble keeping up with all the submitted code for features and bug fixes I saw it as a good idea to add timepicker to Github. I&#8217;m still a bit new to Github, so please bear with me as I&#8217;m just getting my feet under me. [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.2'>Timepicker Addon 0.2</a></li>
<li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
<li><a href='http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.4'>Timepicker Addon 0.4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just wanted to update on the timepicker addon.  I&#8217;ve had trouble keeping up with all the submitted code for features and bug fixes I saw it as a good idea to add <a href="http://github.com/trentrichardson/jQuery-Timepicker-Addon">timepicker to Github</a>.  I&#8217;m still a bit new to Github, so please bear with me as I&#8217;m just getting my feet under me.  Hopefully now instead of going through blog posts grabbing snippets of code there will be a more organized way of updating and keeping up with changes to the timepicker addon.</p>
<p>Also after I get fairly familiar with it I am considering moving all my little projects over to it (uberuploadcropper, Impromptu, iframer, etc..).  I hope this works best in the long run.  Many people have submitted code but I just can&#8217;t find the time to integrate it all in a timely manor.  I hope this improves the turnaround rate for updates!</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.2'>Timepicker Addon 0.2</a></li>
<li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
<li><a href='http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.4'>Timepicker Addon 0.4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/07/06/timepicker-addon-now-on-github/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>New to Github</title>
		<link>http://trentrichardson.com/2010/06/24/new-to-github/</link>
		<comments>http://trentrichardson.com/2010/06/24/new-to-github/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 11:54:33 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=633</guid>
		<description><![CDATA[So I recently signed up on Github.. it seems to be the coolest thing to do right now. I&#8217;ve put some thought towards moving my projects over to it. However, other than version control I don&#8217;t see what the benefit is in it? I guess it will allow other people to view and commit too? [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2006/12/02/css-bubble-tooltips/' rel='bookmark' title='Permanent Link: CSS Bubble Tooltips'>CSS Bubble Tooltips</a></li>
<li><a href='http://trentrichardson.com/2008/08/19/ubuntu-friends/' rel='bookmark' title='Permanent Link: Ubuntu Friends!?'>Ubuntu Friends!?</a></li>
<li><a href='http://trentrichardson.com/2008/04/18/navicat-for-postgres-on-ubuntu/' rel='bookmark' title='Permanent Link: Navicat For Postgres on Ubuntu'>Navicat For Postgres on Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So I recently signed up on <a href="http://github.com/">Github</a>.. it seems to be the coolest thing to do right now.  I&#8217;ve put some thought towards moving my projects over to it.  However, other than version control I don&#8217;t see what the benefit is in it?  I guess it will allow other people to view and commit too?  The part I don&#8217;t favor is the fact that it will separate the downloads from the documentation, which I&#8217;m not a fan of.  I would much rather the &#8220;one stop shop&#8221; like it is now.</p>
<p>What are your thoughts?</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2006/12/02/css-bubble-tooltips/' rel='bookmark' title='Permanent Link: CSS Bubble Tooltips'>CSS Bubble Tooltips</a></li>
<li><a href='http://trentrichardson.com/2008/08/19/ubuntu-friends/' rel='bookmark' title='Permanent Link: Ubuntu Friends!?'>Ubuntu Friends!?</a></li>
<li><a href='http://trentrichardson.com/2008/04/18/navicat-for-postgres-on-ubuntu/' rel='bookmark' title='Permanent Link: Navicat For Postgres on Ubuntu'>Navicat For Postgres on Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/06/24/new-to-github/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Timepicker 0.5</title>
		<link>http://trentrichardson.com/2010/06/21/timepicker-0-5/</link>
		<comments>http://trentrichardson.com/2010/06/21/timepicker-0-5/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 11:53:14 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[datepicker]]></category>
		<category><![CDATA[datetimepicker]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[timepicker]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=630</guid>
		<description><![CDATA[Just a delayed announcement that the jQuery Timepicker Addon 0.5 is now available. The most notable fix is the correction of the bug with the stepHour, stepMinute, and stepSecond. Thank you Peter for you help! The next step is correcting some of the options (change events, etc..). Timepicker Download and Examples Related posts:Timepicker Addon for [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
<li><a href='http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.2'>Timepicker Addon 0.2</a></li>
<li><a href='http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.4'>Timepicker Addon 0.4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just a delayed announcement that the jQuery Timepicker Addon 0.5 is now available.  The most notable fix is the correction of the bug with the stepHour, stepMinute, and stepSecond.  Thank you Peter for you help!  The next step is correcting some of the options (change events, etc..).</p>
<p><a href="http://trentrichardson.com/examples/timepicker/">Timepicker Download and Examples</a></p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
<li><a href='http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.2'>Timepicker Addon 0.2</a></li>
<li><a href='http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.4'>Timepicker Addon 0.4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/06/21/timepicker-0-5/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>jQuery Selector: Text Content Equals a Number</title>
		<link>http://trentrichardson.com/2010/06/04/jquery-selector-text-content-equals-a-number/</link>
		<comments>http://trentrichardson.com/2010/06/04/jquery-selector-text-content-equals-a-number/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 11:53:52 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[numbers]]></category>
		<category><![CDATA[selectors]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=627</guid>
		<description><![CDATA[I&#8217;ve been messing with some table with a lot of numbers, and one thing that came up is that I need to select all cells which have zero, or not zero. Sounds straight forward but there could be multiple variations of zero (0, 0.0, 0.000, .0, etc..). Here is a couple quick selectors to check [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2009/08/25/custom-button-text-with-impromptu/' rel='bookmark' title='Permanent Link: Custom Button Text with Impromptu'>Custom Button Text with Impromptu</a></li>
<li><a href='http://trentrichardson.com/2009/02/22/key-value-pairs-of-form-values-with-jquery/' rel='bookmark' title='Permanent Link: Key Value Pairs of Form Values with jQuery'>Key Value Pairs of Form Values with jQuery</a></li>
<li><a href='http://trentrichardson.com/2009/03/31/handling-php-form-arrays-with-jquery/' rel='bookmark' title='Permanent Link: Handling PHP Form Arrays with jQuery'>Handling PHP Form Arrays with jQuery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been messing with some table with a lot of numbers, and one thing that came up is that I need to select all cells which have zero, or not zero.  Sounds straight forward but there could be multiple variations of zero (0, 0.0, 0.000, .0, etc..).  Here is a couple quick selectors to check for this (or any number, not just zero):</p>
<pre><code class="js">
$.expr[":"].numbereq = function(obj, index, meta, stack){
	return parseFloat((obj.textContent || obj.innerText || $(obj).text() || "")) == parseFloat(meta[3]);
}
</code></pre>
<p>And you would call it like this:</p>
<pre><code class="js">
$(".myel:numbereq(0)");
</code></pre>
<p>And since that was so easy I figure I might as well do the not equals as well..</p>
<pre><code class="js">
$.expr[":"].numberneq = function(obj, index, meta, stack){
	return parseFloat((obj.textContent || obj.innerText || $(obj).text() || "")) != parseFloat(meta[3]);
}
</code></pre>
<p>And you would call it like this:</p>
<pre><code class="js">
$(".myel:numberneq(5)");
</code></pre>
<p>There you go, a pretty quick, simple selector to help out when dealing with numbers as your text content of nodes.</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2009/08/25/custom-button-text-with-impromptu/' rel='bookmark' title='Permanent Link: Custom Button Text with Impromptu'>Custom Button Text with Impromptu</a></li>
<li><a href='http://trentrichardson.com/2009/02/22/key-value-pairs-of-form-values-with-jquery/' rel='bookmark' title='Permanent Link: Key Value Pairs of Form Values with jQuery'>Key Value Pairs of Form Values with jQuery</a></li>
<li><a href='http://trentrichardson.com/2009/03/31/handling-php-form-arrays-with-jquery/' rel='bookmark' title='Permanent Link: Handling PHP Form Arrays with jQuery'>Handling PHP Form Arrays with jQuery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/06/04/jquery-selector-text-content-equals-a-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timepicker Addon 0.4</title>
		<link>http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/</link>
		<comments>http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/#comments</comments>
		<pubDate>Fri, 28 May 2010 11:45:12 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[datepicker]]></category>
		<category><![CDATA[datetimepicker]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[timepicker]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=625</guid>
		<description><![CDATA[A new timepicker is now available thanks to Jeremy and other commenters. I don&#8217;t have all the suggested/submitted changes yet. Jeremy submitted quite a few changes so I thought I would take a couple smaller steps in integrating all the other changes. I know there are still a few issues that commenters mentioned which are [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.2'>Timepicker Addon 0.2</a></li>
<li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
<li><a href='http://trentrichardson.com/2010/05/07/timepicker-addon-0-3/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.3'>Timepicker Addon 0.3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A new timepicker is now available thanks to Jeremy and other commenters.  I don&#8217;t have all the suggested/submitted changes yet.  Jeremy submitted quite a few changes so I thought I would take a couple smaller steps in integrating all the other changes.  I know there are still a few issues that commenters mentioned  which are not fixed, but I&#8217;m trying to work through them, promise!  Thank You everyone for your code changes and suggestions!</p>
<p><a href="http://trentrichardson.com/examples/timepicker/">Timepicker Documentation and Download</a></p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.2'>Timepicker Addon 0.2</a></li>
<li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
<li><a href='http://trentrichardson.com/2010/05/07/timepicker-addon-0-3/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.3'>Timepicker Addon 0.3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Moopromptu &#8211; A Mootools Version of Impromptu</title>
		<link>http://trentrichardson.com/2010/05/18/moopromptumootools-version-of-impromptu/</link>
		<comments>http://trentrichardson.com/2010/05/18/moopromptumootools-version-of-impromptu/#comments</comments>
		<pubDate>Tue, 18 May 2010 11:58:55 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Impromptu]]></category>
		<category><![CDATA[alert]]></category>
		<category><![CDATA[confirm]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[modal]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[prompt]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=622</guid>
		<description><![CDATA[Sometimes my mind wonders and I just want to play with other technologies. This was one of those times. I&#8217;d been wanting to learn a little more about Mootools, especially after reading about their upcoming 1.3 release with a fast, new selector engine. So I figured what better way to learn a new framework than [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2007/08/30/jquery-impromptu-any-final-requests-for-version-1/' rel='bookmark' title='Permanent Link: jQuery Impromptu &#8211; Final Call for Version 1.0'>jQuery Impromptu &#8211; Final Call for Version 1.0</a></li>
<li><a href='http://trentrichardson.com/2007/11/05/mootools-vs-jquery-speed-smoothness-friendliest/' rel='bookmark' title='Permanent Link: Mootools vs. jQuery: Speed, Smoothness, Friendliest'>Mootools vs. jQuery: Speed, Smoothness, Friendliest</a></li>
<li><a href='http://trentrichardson.com/2009/06/03/next-version-of-impromptu-suggestions/' rel='bookmark' title='Permanent Link: Next Version of Impromptu Suggestions'>Next Version of Impromptu Suggestions</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sometimes my mind wonders and I just want to play with other technologies.  This was one of those times.  I&#8217;d been wanting to learn a little more about <a href="http://mootools.net/">Mootools</a>, especially after reading about their upcoming <a href="http://mootools.net/blog/2010/04/27/mootools-1-3-beta-1/">1.3 release</a> with a fast, new selector engine.  So I figured what better way to learn a new framework than to jump in the deep end and convert one of my favorite jQuery plugins, <a href="http://trentrichardson.com/Impromptu/index.php">Impromptu</a>.</p>
<p>The journey was very educational.  I found that I like and dislike some things about Mootools, but overall it was an enjoyable experience.  I&#8217;ll write up another post on my likes and dislikes, this post is about the Mootools version of Impromptu.  So yep, there is now a Moopromptu!  I&#8217;ve converted all the methods of the jQuery versions, and to my knowledge the only option which is irrelevant is the &#8220;show&#8221; option, simply because with Core there aren&#8217;t any such functions.  So to call this beast we have $prompt instead of $.prompt, and we must call .show(msg, options) to open the prompt. (because I decided give it as much of the Mootools feel as possible)</p>
<pre><code class="js">
$prompt.show('hello world!', {
	buttons: { Ok: true, Cancel: false }
});
</code></pre>
<p>If you need to create a new instance of Impromptu it would look like the following:</p>
<pre><code class="js">
var myPrompt = new Impromptu();
myPrompt.show('hello world!');
</code></pre>
<p>And to access all the properties you would call them just like with the jQuery version:</p>
<pre><code class="js">
$prompt.goToState('myStateName');
$prompt.close();
// etc...
</code></pre>
<p>Really the only difference is $.prompt converts to $prompt, and to show it you call $prompt.show().  Moopromptu only requires Core, so there are no real requirements.  This is the first version, and my first Mootools plugin, so if any Mootools gurus out there notice I&#8217;ve not done something the Mootools way, let me know, or if you find a bug let me know, or if you just want to let me know how awesome Impromptu is (and I know it is) let me know :)  Enjoy!!</p>
<p><a href="http://trentrichardson.com/Impromptu/index.php">Impromptu Downloads and Documentation</a></p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2007/08/30/jquery-impromptu-any-final-requests-for-version-1/' rel='bookmark' title='Permanent Link: jQuery Impromptu &#8211; Final Call for Version 1.0'>jQuery Impromptu &#8211; Final Call for Version 1.0</a></li>
<li><a href='http://trentrichardson.com/2007/11/05/mootools-vs-jquery-speed-smoothness-friendliest/' rel='bookmark' title='Permanent Link: Mootools vs. jQuery: Speed, Smoothness, Friendliest'>Mootools vs. jQuery: Speed, Smoothness, Friendliest</a></li>
<li><a href='http://trentrichardson.com/2009/06/03/next-version-of-impromptu-suggestions/' rel='bookmark' title='Permanent Link: Next Version of Impromptu Suggestions'>Next Version of Impromptu Suggestions</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/05/18/moopromptumootools-version-of-impromptu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get the Most Out of Your Break</title>
		<link>http://trentrichardson.com/2010/05/14/using-javascript-break-loops/</link>
		<comments>http://trentrichardson.com/2010/05/14/using-javascript-break-loops/#comments</comments>
		<pubDate>Fri, 14 May 2010 11:59:25 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=617</guid>
		<description><![CDATA[A rarely seen animal in the javascript world is a break. When it is seen 99% of the time it is within a switch statement. But did you know it can be used for more than that? In Javascript you can label your blocks of code, then when you call your break specify which block [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2007/04/02/oh-boy-vista/' rel='bookmark' title='Permanent Link: Oh Boy!, Vista'>Oh Boy!, Vista</a></li>
<li><a href='http://trentrichardson.com/2009/12/15/regular-expressions-with-xregexp/' rel='bookmark' title='Permanent Link: Regular Expressions with XRegExp'>Regular Expressions with XRegExp</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A rarely seen animal in the javascript world is a break.  When it is seen 99% of the time it is within a switch statement.  But did you know it can be used for more than that? In Javascript you can label your blocks of code, then when you call your break specify which block to break.  Here&#8217;s a simple example:</p>
<pre><code class="js">
var i=0;

myLoop: for(i=0; i&lt;10; i++)
		if(i == 5)
			break myLoop;

alert(i);
</code></pre>
<p>This code isn&#8217;t rocket science but you will notice when i gets to 5 the loop is broken.  The magic comes in when you have nest loops and you want to break out of a specific loop.  That uses the same concept. Here&#8217;s an example:</p>
<pre><code class="js">
var i, k, magic=17;

myLoop: for(i=0; i&lt;10; i++)
	myOtherLoop: for(k=0; k&lt;10; k++)
		if((i+k) == magic)
			break myLoop;

alert(i +' + '+ k +' = '+ magic);
</code></pre>
<p>Try not to let the complex logic get in the way of the example ;) , but here you can see the break actually specifies &#8220;myLoop&#8221; which is the outer most in this case.  Ok, your turn to try and break some stuff!</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2007/04/02/oh-boy-vista/' rel='bookmark' title='Permanent Link: Oh Boy!, Vista'>Oh Boy!, Vista</a></li>
<li><a href='http://trentrichardson.com/2009/12/15/regular-expressions-with-xregexp/' rel='bookmark' title='Permanent Link: Regular Expressions with XRegExp'>Regular Expressions with XRegExp</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/05/14/using-javascript-break-loops/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Timepicker Addon 0.3</title>
		<link>http://trentrichardson.com/2010/05/07/timepicker-addon-0-3/</link>
		<comments>http://trentrichardson.com/2010/05/07/timepicker-addon-0-3/#comments</comments>
		<pubDate>Fri, 07 May 2010 11:59:00 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[datetimepicker]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[timepicker]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=615</guid>
		<description><![CDATA[So I didn&#8217;t get bogged down with a ton of changes I&#8217;ve decided to release another new version. Thanks to Reinout and other contributors the timepicker addon is now a little more friendly, allowing you to type time within a constrained field as well as live updating the input box as you slide the time [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.2'>Timepicker Addon 0.2</a></li>
<li><a href='http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.4'>Timepicker Addon 0.4</a></li>
<li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So I didn&#8217;t get bogged down with a ton of changes I&#8217;ve decided to release another new version.  Thanks to Reinout and other contributors the <a href="http://trentrichardson.com/examples/timepicker/">timepicker addon</a> is now a little more friendly, allowing you to type time within a constrained field as well as live updating the input box as you slide the time pickers.  There have been a couple other changes posted on the blog, and I will get to those.  Thanks to everyone for your feedback!</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.2'>Timepicker Addon 0.2</a></li>
<li><a href='http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.4'>Timepicker Addon 0.4</a></li>
<li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/05/07/timepicker-addon-0-3/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Timepicker Addon 0.2</title>
		<link>http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/</link>
		<comments>http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/#comments</comments>
		<pubDate>Tue, 04 May 2010 11:48:58 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[timepicker]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=612</guid>
		<description><![CDATA[Thanks to some readers (Reinout and Jeremy) I&#8217;ve posted a couple changes to the Timepicker Addon. It is still early in development but does seem to work pretty well for all of the examples I&#8217;ve run it through. Please keep checking back for updates! Related posts:Timepicker Addon 0.3 Timepicker Addon 0.4 Timepicker Addon for jQuery [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2010/05/07/timepicker-addon-0-3/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.3'>Timepicker Addon 0.3</a></li>
<li><a href='http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.4'>Timepicker Addon 0.4</a></li>
<li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src="http://trentrichardson.com/wp-content/uploads/2010/04/timepicker-addon-time.jpg" alt="Timepicker Addon - time" title="timepicker-addon-time" width="202" height="134" class="alignright size-full wp-image-598" /></p>
<p>Thanks to some readers (Reinout and Jeremy) I&#8217;ve posted a couple changes to the <a href="http://trentrichardson.com/examples/timepicker/">Timepicker Addon</a>.  It is still early in development but does seem to work pretty well for all of the examples I&#8217;ve run it through.  Please keep checking back for updates!</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2010/05/07/timepicker-addon-0-3/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.3'>Timepicker Addon 0.3</a></li>
<li><a href='http://trentrichardson.com/2010/05/28/timepicker-addon-0-4/' rel='bookmark' title='Permanent Link: Timepicker Addon 0.4'>Timepicker Addon 0.4</a></li>
<li><a href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Permanent Link: Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/05/04/timepicker-addon-0-2/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Ready or Not, Here Ubuntu Comes!</title>
		<link>http://trentrichardson.com/2010/04/26/ready-or-not-here-ubuntu-comes/</link>
		<comments>http://trentrichardson.com/2010/04/26/ready-or-not-here-ubuntu-comes/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 01:59:07 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=607</guid>
		<description><![CDATA[As many of you know I use Ubuntu on a daily basis. All of my web development is done with it, unless I&#8217;m forced to develop something on a Winders platform. It seems though Ubuntu 10.04 is already upon us and I&#8217;ve hardly noticed! Well.. it&#8217;s nearly here.. Ubuntu has upgraded Gnome, the kernel, new [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2008/01/05/ubuntu-804-a-smart-theme-could-propel/' rel='bookmark' title='Permanent Link: Ubuntu 8.04: A Smart Theme Could Propel'>Ubuntu 8.04: A Smart Theme Could Propel</a></li>
<li><a href='http://trentrichardson.com/2009/04/10/getting-excited-about-the-new-ubuntu/' rel='bookmark' title='Permanent Link: Getting Excited About the New Ubuntu'>Getting Excited About the New Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/08/25/ubuntu-will-be-the-one/' rel='bookmark' title='Permanent Link: Ubuntu Will Be the One'>Ubuntu Will Be the One</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><span class="alignleft"><br />
<script type="text/javascript" src="http://www.ubuntu.com/files/countdown/display2.js"></script><br />
</span></p>
<p>As many of you know I use Ubuntu on a daily basis.  All of my web development is done with it, unless I&#8217;m forced to develop something on a Winders platform.  It seems though <a href="http://www.ubuntu.com/">Ubuntu</a> 10.04 is already upon us and I&#8217;ve hardly noticed!  Well.. it&#8217;s nearly here..</p>
<p>Ubuntu has upgraded Gnome, the kernel, new themes, adding Gwibber for social networking, and also a new online music store.  Seems to me like they&#8217;re trying to push their way in to the hip crowd.  All sounds good to me as long as I have gEdit!  I&#8217;ve not figured out why I just can&#8217;t be pleased with the themes.  Maybe they just take time to grow on me?  Anyway, its almost here, don&#8217;t forget to upgrade!  Do any of you readers use Ubuntu? Or am I the odd ball?</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2008/01/05/ubuntu-804-a-smart-theme-could-propel/' rel='bookmark' title='Permanent Link: Ubuntu 8.04: A Smart Theme Could Propel'>Ubuntu 8.04: A Smart Theme Could Propel</a></li>
<li><a href='http://trentrichardson.com/2009/04/10/getting-excited-about-the-new-ubuntu/' rel='bookmark' title='Permanent Link: Getting Excited About the New Ubuntu'>Getting Excited About the New Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/08/25/ubuntu-will-be-the-one/' rel='bookmark' title='Permanent Link: Ubuntu Will Be the One'>Ubuntu Will Be the One</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/04/26/ready-or-not-here-ubuntu-comes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.312 seconds -->
<!-- Cached page served by WP-Cache -->
