<?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>dawnerd &#187; user interface</title>
	<atom:link href="http://dawnerd.com/tag/user-interface/feed/" rel="self" type="application/rss+xml" />
	<link>http://dawnerd.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 13 Aug 2010 18:20:31 +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>Open Source jQuery Plugin &#8211; AjaxPages</title>
		<link>http://dawnerd.com/post/83_open-source-jquery-plugin-ajaxpages/</link>
		<comments>http://dawnerd.com/post/83_open-source-jquery-plugin-ajaxpages/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 18:55:28 +0000</pubDate>
		<dc:creator>Troy Whiteley</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[interface design]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://dawnerd.com/?p=83</guid>
		<description><![CDATA[AjaxPages allows you to serve up full pages completely with ajax. This is very useful if you want to build a site that has a music player running across page loads, but don&#8217;t want to use frames. This technique can &#8230; <a href="http://dawnerd.com/post/83_open-source-jquery-plugin-ajaxpages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/jquery-ajaxpages/">AjaxPages</a> allows you to serve up full pages completely with ajax. This is very useful if you want to build a site that has a music player running across page loads, but don&#8217;t want to use frames. This technique can be found at <a href="http://thesixtyone.com">TheSixtyOne</a>.</p>
<p>All internal links should be in hash format. Example: instead of linking to <code>filename.html</code>, you would link to <code>#/filename.html</code>.</p>
<p>If you have clean urls on, the hash is almost not noticeable. Example: <code>domain.com/#/profile/username</code></p>
<p>To get started with AjaxPages, get the files from the <a href="http://code.google.com/p/jquery-ajaxpages/source/browse/#svn/trunk">Google Code trunk</a>. Example files are included. That should be enough to get you started. The plugin is very lightweight and fairly simple so it should not give you any problems.</p>
<p>If you need help, please leave a comment and I will personally help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://dawnerd.com/post/83_open-source-jquery-plugin-ajaxpages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Source jQuery Plugin &#8211; Custom Radio and Checkboxes</title>
		<link>http://dawnerd.com/post/62_open-source-jquery-plugin-custom-radio-and-checkboxes/</link>
		<comments>http://dawnerd.com/post/62_open-source-jquery-plugin-custom-radio-and-checkboxes/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 07:15:40 +0000</pubDate>
		<dc:creator>Troy Whiteley</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://dawnerd.com/?p=62</guid>
		<description><![CDATA[I got fed up with the numerous amounts of plugins that handle custom checkboxes and radio inputs that I decided to create my own. Typically, the plugin will create html for you in which you an style. But you also &#8230; <a href="http://dawnerd.com/post/62_open-source-jquery-plugin-custom-radio-and-checkboxes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I got fed up with the numerous amounts of plugins that handle custom checkboxes and radio inputs that I decided to create my own. Typically, the plugin will create html for you in which you an style. But you also have to pass in url&#8217;s for images that will be used for the various states.</p>
<p>The plugin I created, <a href="http://code.google.com/p/jquery-bltcheckbox/">bltcheckbox</a>, allows you to use any html and css. The only options you pass to the plugin are whether it&#8217;s a checkbox, or a radio input.</p>
<p>For code samples and documentation, please check out the code code page <a href="http://code.google.com/p/jquery-bltcheckbox/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dawnerd.com/post/62_open-source-jquery-plugin-custom-radio-and-checkboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax Username Validation with The Most Popular JS Frameworks</title>
		<link>http://dawnerd.com/post/12_ajax-username-validation-with-the-most-popular-js-frameworks/</link>
		<comments>http://dawnerd.com/post/12_ajax-username-validation-with-the-most-popular-js-frameworks/#comments</comments>
		<pubDate>Fri, 23 May 2008 21:59:02 +0000</pubDate>
		<dc:creator>Troy Whiteley</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://dawnerd.com/?p=12</guid>
		<description><![CDATA[It seems like every site these days uses some form of Ajax to validate form fields. One thing I cannot stand is websites that do not use Ajax to check usernames (or other data) as you type. Because a lot &#8230; <a href="http://dawnerd.com/post/12_ajax-username-validation-with-the-most-popular-js-frameworks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It seems like every site these days uses some form of Ajax to validate form fields. One thing I cannot stand is websites that do not use Ajax to check usernames (or other data) as you type. Because a lot of sites are lacking this one feature, I thought it would be nice to throw together a few examples of how to do it correctly with the most popular of JS frameworks. <span id="more-12"></span></p>
<p>You can view the source of the examples to see how they are done.</p>
<p><strong><a href="http://labs.dawnerd.com/ajaxusercheck_prototype/">Ajax Username Validation with Prototype</a></strong><br />
<strong><a href="http://labs.dawnerd.com/ajaxusercheck_jquery/">Ajax Username Validation with jQuery</a></strong></p>
<p><em>note: more examples will come in time. I am currently reading the mootools, dojo, and mochikit.</em></p>
<p>The only PHP code you will need is as follows:</p>
<pre>
<code markup="none">
include("../db.php");
$name = ereg_replace("[^A-Za-z0-9-]", "",mysql_real_escape_string(strip_tags(trim($_GET['name']))));
if(empty($name)) die();

$sql = "SELECT `username` FROM `common_usernames` WHERE `username` = '$name'";
$query = mysql_query($sql,$db);

if(!mysql_num_rows($query))
{
	die('<span style="font-weight:bold;color:green;font-size:12px;">'.$name.' is available!</span>');
}
else
{
	die('<span style="font-weight:bold;color:red;font-size:12px;">'.$name.' is taken!</span>');
}
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://dawnerd.com/post/12_ajax-username-validation-with-the-most-popular-js-frameworks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
