<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Nathan Staines</title>
	
	<link>http://nathanstaines.com</link>
	<description />
	<lastBuildDate>Tue, 24 Aug 2010 00:55:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/nathanstaines" /><feedburner:info uri="nathanstaines" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>WordPress Editable Comments</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/oYiPeAhIIM8/wordpress-editable-comments</link>
		<comments>http://nathanstaines.com/archive/wordpress-editable-comments#comments</comments>
		<pubDate>Tue, 10 Aug 2010 10:00:13 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=978</guid>
		<description><![CDATA[If you're anything like me, then there's bound to have been times where you've written something, clicked the send or submit button and then realised later that you've left a typo in your wake...

Enter the WordPress Editable Comments plugin]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re anything like me, then there&#8217;s bound to have been times where you&#8217;ve written something, clicked the send or submit button and then realised later that you&#8217;ve left a typo in your wake. </p>
<p>Sure, we should all take the time to check over our text before setting it in concrete but then again we&#8217;re only human.</p>
<p>Thanks to our tendency to rush into things I decided to go in search of a WordPress plugin that would allow people to edit the comments they leave on this site&#8230; <a href="http://wordpress.org/extend/plugins/editable-comments/">Editable Comments</a> by Julien Appert was what I found.</p>
<p>The plugin allows users to edit their own comments based on a time limit set in the admin section. Although it wasn&#8217;t entirely what I was after right out of the box, I was able to disable the plugins CSS and use my own by doing the following:</p>
<h3>Add Code To Comments.php</h3>
<p>Or functions.php depending on where your comments code is.</p>
<pre><code>&lt;?php if ( class_exists( 'WPEditableComments' ) ) { WPEditableComments::link('Edit'); } ?&gt;</code></pre>
<h3>Remove Plugin Styling</h3>
<p>You&#8217;ll need to add this to your functions.php file.</p>
<pre><code>add_action( 'wp_print_styles', 'my_deregister_styles', 100 );

function my_deregister_styles() {
    wp_deregister_style( 'dialog' );
    // deregister as many stylesheets as you need...
}</code></pre>
<h3>Then Use These CSS Identifiers</h3>
<p>Just work your CSS magic in your stylesheet.</p>
<pre><code>.ui-dialog-titlebar { }
.ui-dialog-title { }
.ui-dialog-titlebar-close { }
.ui-dialog-titlebar a:hover { }
.ui-icon { }
#dialog.ui-dialog-content { }
#dialog_content { }
#dialog_commentform { }
#dialog_loader { }
#dialog_comment { }
#editable_comment_buttons { }
#editable_comment_buttons input { }
#editable_comment_buttons input:hover { }</code></pre>
<h3>In Closing</h3>
<p>Hopefully this will be useful to those of you that would like to add this feature to your own WordPress site. </p>
<p>Please feel free to leave a comment below and check it out for yourself ;)</p>
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/oYiPeAhIIM8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/wordpress-editable-comments/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/wordpress-editable-comments</feedburner:origLink></item>
		<item>
		<title>Starkers HTML5 v3.0</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/JnlwYJspa0U/starkers-html5-v3</link>
		<comments>http://nathanstaines.com/archive/starkers-html5-v3#comments</comments>
		<pubDate>Wed, 21 Jul 2010 22:37:16 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[starkers]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=996</guid>
		<description><![CDATA[Well it's been roughly 2&#189; years since <a href="http://elliotjaystocks.com">Elliot Jay Stocks</a> first released <a href="http://elliotjaystocks.com/starkers/">Starkers</a>, a completely naked Wordpress theme for designers and developers to build on...

Now with the introduction of Wordpress 3.0 I'm pleased to unveil the new version of Starkers HTML5.]]></description>
			<content:encoded><![CDATA[<p><a href="http://nathanstaines.com/wp-content/downloads/starkers-html5-v3.zip" class="download">Download zip (57kb)</a> Well it&#8217;s been roughly 2&frac12; years since <a href="http://elliotjaystocks.com">Elliot Jay Stocks</a> first released <a href="http://elliotjaystocks.com/starkers/">Starkers</a>, a completely naked WordPress theme for designers and developers to build on.</p>
<p>Like so many others I found Elliot&#8217;s theme invaluable, and so about 7 months ago I decided to create an HTML5 version that others would be able to use.</p>
<blockquote><p>Starkers is a bare bones WordPress theme created to act as a starting point for the theme designer&#8230; <cite><a href="http://elliotjaystocks/" title="Elliot Jay Stocks">Elliot Jay Stocks</a>, Starkers</cite></p></blockquote>
<p>Now with the introduction of WordPress 3.0 I&#8217;m pleased to unveil the new version of Starkers HTML5, just like the previous version this one has been based on Elliot&#8217;s <a href="http://elliotjaystocks.com/blog/starkers-3/">Starkers</a>, which in turn was based on the new default theme known as <a href="http://2010dev.wordpress.com/">Twenty Ten</a>.</p>
<h3>So what&#8217;s new?</h3>
<p>Thanks to WordPress 3.0 theme developers now have new APIs that allow them to easily implement custom backgrounds, headers, shortlinks, menus, post types, and taxonomies.</p>
<p>The Twenty Ten theme shows off all of these new features, whereas Starkers leaves the functionality but strips back the styling.</p>
<p>For a more comprehensive look at everything that has improved in WordPress 3.0 you can check out the <a href="http://codex.wordpress.org/Version_3.0">3.0 Codex page</a>.</p>
<h3>Final notes</h3>
<p>Since the only way to get IE to acknowledge HTML5 elements, is to use the <a href="http://remysharp.com/2009/01/07/html5-enabling-script/">HTML5 shiv</a>, <a href="http://remysharp.com/">Remy Sharp</a> has put together a mini script that enables all the new elements which has been included in the theme.</p>
<p>For a more in-depth look into HTML5 you can check out the following websites: <br /> <a href="http://html5doctor.com/">HTML5 Doctor</a>, <a href="http://diveintohtml5.org/">Dive into HTML5</a>, <a href="http://www.w3.org/TR/html5/">the WC3 working draft</a> and <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">the WHATWG working draft</a></p>
<p><a href="http://www.thatstandardsguy.co.uk/">Karl Dawson</a> also has a similar yet slightly different HTML5 version of Starkers available on his website called <a href="http://www.thatstandardsguy.co.uk/blog/2009/04/brave-new-world-wordpress-theme/">Brave New World</a>, make sure you check it out.</p>
<h3>Any Updates?</h3>
<p>Like with all things new (*cough* iPhone4) there&#8217;s bound to be a few things that I&#8217;ve overlooked. So if you’ve got any feedback or suggestions then please leave a comment below or contact me <a href="mailto:&#110;&#97;&#116;&#104;&#97;&#110;&#64;&#110;&#97;&#116;&#104;&#97;&#110;&#115;&#116;&#97;&#105;&#110;&#101;&#115;.&#99;&#111;&#109;?subject=Nathan%20Staines%20-%20General%20Enquiry">via email</a>.</p>
<p><a class="important" href="http://nathanstaines.com/wp-content/downloads/starkers-html5-v3.zip">Download <strong>Starkers HTML5 v3.0</strong></a></p>
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/JnlwYJspa0U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/starkers-html5-v3/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/starkers-html5-v3</feedburner:origLink></item>
		<item>
		<title>Scrolling Against the Grain</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/hP1JmNKwNHA/scrolling-against-the-grain</link>
		<comments>http://nathanstaines.com/archive/scrolling-against-the-grain#comments</comments>
		<pubDate>Tue, 16 Mar 2010 02:35:57 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=467</guid>
		<description><![CDATA[<p>Recently I was faced with the challenge of creating a horizontally scrolling website, a challenge in which very few have survived with their sanity still intact.</p> <p>The challenge lies in "going against the grain"...</p>]]></description>
			<content:encoded><![CDATA[<p>Recently I was faced with the challenge of creating a horizontally scrolling website, a challenge in which very few have survived with their sanity still intact. The challenge lies in &#8220;going against the grain&#8221; because by default, browsers want to wrap the content to fit vertically in the window.</p>
<p>There are plenty of different options out there for you when it comes to making your site go sideways, firstly <a href="http://www.thehorizontalway.com/#footer">the horizontal way</a> have a template that you can download and have a play with.</p>
<p><a href="http://www.thehorizontalway.com"><img src="http://nathanstaines.com/wp-content/uploads/thw.jpg" alt="" title="The Horizontal Way" width="758" height="150" class="alignnone size-full wp-image-777" /></a></p>
<p>Chris Coyier has also come up with <a href="http://css-tricks.com/how-to-create-a-horizontally-scrolling-site/">this solution</a> using jQuery to create a table based layout on the fly, while Antonio Lupetti discusses <a href="http://woork.blogspot.com/2009/02/useful-tips-to-design-horizontal.html">this option</a> of manually setting the width of your containing element.</p>
<h3>How I Went Horizontal</h3>
<p>I think I may have decided to go the road less travelled with the <a href="http://qcdboards.com">QCD Boards website</a>, choosing to dynamically set the width of the containing element using jQuery.</p>
<p>Sure it may be considered bad mo-jo to handle page layout with JavaScript and it may not degrade as nicely as I&#8217;d like but has anyone really come across a bulletproof technique yet?</p>
<p><a href="http://qcdboards.com"><img src="http://nathanstaines.com/wp-content/uploads/widescreen.jpg" alt="" title="QCD Boards" width="758" height="150" class="alignnone size-full wp-image-727" /></a></p>
<p>Well the idea behind this method is to come up with a <strong>set width</strong> for each post, multiply it by the <strong>number of posts</strong> you have and then include that figure in the CSS file, which in turn forces the browser to grow horizontally.</p>
<p>This is achieved by first setting the width of the post element in the CSS file:</p>
<pre><code>.post { width: 800px; }</code></pre>
<p>Then all you need to do is include this simple jQuery function:</p>
<pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
    $function() {
        var numElements_single = $('.post').size();	
        var wrapperWidth_single = numElements_single * 800;
        var wrapperWidth = wrapperWidth_single;
    
        $('#wrapper').css( {width: wrapperWidth} );
    });
&lt;/script&gt;</code></pre>
<p>And you should end up with a layout structure similar to this:</p>
<p><img src="http://nathanstaines.com/wp-content/uploads/horiz.jpg" alt="" title="Layout Structure" width="758" height="196" class="alignnone size-full wp-image-763" /></p>
<p>Obviously if you want to employ this technique in your own site then you could change the values to something that better suits your needs. Also, if you require more detailed instructions on how to implement this method just let me know and I&#8217;ll do my best to help you out.</p>
<h3>In Closing</h3>
<p>I know that there are plenty of <a href="http://naldzgraphics.net/inspirations/40-examples-of-horizontal-scrolling-websites/">horizontally scrolling websites</a> out there so if you&#8217;ve come across a different/better solution for scrolling against the grain then please leave a link in the comments. </p>
<p><strong>A Helpful Tip:</strong> if you hold shift while using your mouse wheel, most horizontal websites should scroll sideways for you.</p>
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/hP1JmNKwNHA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/scrolling-against-the-grain/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/scrolling-against-the-grain</feedburner:origLink></item>
		<item>
		<title>Twenty Ten – WordPress Theme</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/DYKrQw6mRFQ/twenty-ten-wordpress-theme</link>
		<comments>http://nathanstaines.com/archive/twenty-ten-wordpress-theme#comments</comments>
		<pubDate>Sun, 07 Mar 2010 21:55:53 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=607</guid>
		<description><![CDATA[WordPress version 3.0 is nearly upon us and with it will come a new default theme known as Twenty Ten, a brand new theme that&#8217;s based on Ian Stewart&#8217;s Kirby. Websites and WordPress have come a long way since the Kubrick theme was bundled with the core back in 2005. As sad as it may [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/twentyten.jpg" alt="" title="Twenty Ten" width="758" height="196" class="alignnone size-full wp-image-615" /></p>
<p>WordPress version 3.0 is nearly upon us and with it will come a new default theme known as <a href="http://2010dev.wordpress.com/">Twenty Ten</a>, a brand new theme that&#8217;s based on <a href="http://themeshaper.com/kirby/">Ian Stewart&#8217;s Kirby</a>.</p>
<p>Websites and WordPress have come a long way since the <a href="http://binarybonsai.com/wordpress/kubrick/">Kubrick theme</a> was bundled with the core back in 2005. As sad as it may be, there comes a time when even the best designs need to be put to rest.</p>
<p><img src="http://nathanstaines.com/wp-content/uploads/screenshot.png" alt="" width="300" height="225" class="alignright size-full wp-image-624" style="margin: 0 0 15px 25px;" />With the addition of drop down menus, custom header images, gallery styling, author information, more widget areas and valid HTML5 the new theme seems like a decent step in the right direction.</p>
<p>At this stage WordPress 3.0 is set to be released to the public in early May 2010. However, if you can&#8217;t wait till then you can go and download yourself a copy of the <a href="http://wordpress.org/download/nightly/">nightly build</a> and have a tinker with it today.</p>
<p>I&#8217;m looking forward to getting my hands on the final version, stripping it back and making another theme similar to <a href="http://nathanstaines.com/archive/starkers-html5/">Starkers HTML5</a> for designers to start from.</p>
<p>Whether you decide to just check out the <a href="http://2010dev.wordpress.com/">demo site</a> or go ahead and download a copy all for yourself, feel free to let us know what you think of the new default theme in the comments.</p>
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/DYKrQw6mRFQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/twenty-ten-wordpress-theme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/twenty-ten-wordpress-theme</feedburner:origLink></item>
		<item>
		<title>How do you say HTML?</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/DlCd3hyFtaY/how-do-you-say-html</link>
		<comments>http://nathanstaines.com/archive/how-do-you-say-html#comments</comments>
		<pubDate>Thu, 11 Feb 2010 02:00:30 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=474</guid>
		<description><![CDATA[Earlier this year I came to the realization that I say HTML or more importantly the letter H, a little differently to a lot of others out there...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/haitch.jpg" alt="" title="Haitch" width="758" height="196" class="alignnone size-full wp-image-513" /></p>
<p>Earlier this year I came to the realization that I say HTML or more importantly the letter H, a little differently to a lot of others out there.</p>
<p>My journey of self discovery started with the release of my new WordPress theme which was initially going to be called &#8216;Genesis: an HTML5 variant of Starkers&#8217; but seeing as there was already a theme framework with a similar name, <a href="http://elliotjaystocks.com">Elliot Jay Stocks</a> and myself decided on &#8216;Starkers HTML5&#8242; instead.</p>
<p>So my confusion lay in the use of &#8216;an HTML&#8217; instead of &#8216;a HTML&#8217;. At first I thought it was a simple typo by Elliot but then it dawned on me (thanks to a little bit of Google searching) that not all people pronounce the letter H the same way I do, weird I know.</p>
<h3>Aitch vs Haitch?</h3>
<p>H is the eighth letter in the basic modern Latin alphabet. Its name in both British and American English is aitch, plural aitches, though it is also pronounced haitch if you’re cool like me.</p>
<p>There is plenty of <a href="http://en.wikipedia.org/wiki/H#Name_in_English">information</a> as to why there are two different pronunciations of the letter H but I personally like to thank the Catholics.</p>
<blockquote><p>We conducted a survey of the television programme Wheel of Fortune over a period of some weeks, just to see how many of the participants were aitchers and how many were haitchers. The results: 40% aitched and 60% haitched&#8230; Australians from a wide variety of backgrounds are haitchers these days. &#8211; <cite><a href="http://www.anu.edu.au/ANDC/pubs/ozwords/June_98/2._aitch.htm" title="Ab(h)ominable (H)aitch">Ab(h)ominable (H)aitch</a>, by Frederick Ludowyk</cite></p></blockquote>
<h3>An HTML or a HTML?</h3>
<p>The rule of thumb is that you use ‘a’ before words that start with a consonant sound and ‘an’ before words that start with a vowel sound, so depending on how you pronounce the letter H will determine how you write it.</p>
<p>As an Australia who&#8217;s never been on the Wheel of Fortune I say haitch instead of aitch. I understand that it&#8217;s most likely the lesser of the two alternatives but I&#8217;ve always been one to cheer for the underdog.</p>
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/DlCd3hyFtaY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/how-do-you-say-html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/how-do-you-say-html</feedburner:origLink></item>
		<item>
		<title>Design Breakdown v1.0</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/7EPOBLZeiCM/design-breakdown-v1-0</link>
		<comments>http://nathanstaines.com/archive/design-breakdown-v1-0#comments</comments>
		<pubDate>Mon, 01 Feb 2010 08:30:16 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=395</guid>
		<description><![CDATA[The reasons I have for creating this site are threefold; (1) To display a bunch of my social network feeds in the one place, (2) hopefully write some quality content and (3) eventually showcase my design portfolio...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/design-breakdown-758x196.jpg" alt="" title="Design Breakdown" width="758" height="196" class="alignnone size-large wp-image-398" /></p>
<p>The reasons I have for creating this site are threefold; (1) To display a bunch of my social network feeds in the one place, (2) hopefully write some quality content and (3) eventually showcase my design portfolio.</p>
<p>So with that in mind, I decided to keep things pretty clean and simple on the design front. I chose not to use any large background images, instead I went with the <a href="http://flyosity.com/tutorial/crafting-subtle-realistic-user-interfaces.php">tiled noise effect</a> that everybody seems to be fond of at the moment.</p>
<p>The homepage is where the party&#8217;s at &#8211; it&#8217;s pretty much the social hub of the site. There&#8217;s live feeds to all my latest tweets, blog posts, flickr pics and albums that I&#8217;ve been rocking out to on last.fm.</p>
<p>Also, although I&#8217;m not officially apart of <a href="http://project52.info/">Project52</a>, I still plan on adding content to my site on a regular basis, so while you&#8217;re here you may as well do yourself a favour and <a href="http://feeds.feedburner.com/nathanstaines">sign up to the RSS feed</a> ;)</p>
<h3>The Use of HTML5</h3>
<p>The whole site has been built using the <a href="http://nathanstaines.com/archive/starkers-html5">&#8216;Starkers HTML5&#8242;</a> theme as a starting point with the average post looking something like this:</p>
<pre><code>&lt;header&gt;
    &lt;h1&gt;Logo&lt;/h1&gt;
    &lt;nav id="menu"&gt;&lt;/nav&gt;
&lt;/header&gt;

&lt;section&gt;
    &lt;article&gt;
		
        &lt;h2&gt;Page Title&lt;/h2&gt;
        &lt;time pubdate&gt; &lt;/time&gt;
			
        The article content
			
        &lt;footer&gt;Tags and Shortlink&lt;/footer&gt;

        &lt;?php comments_template(); ?&gt;
	
    &lt;/article&gt;
&lt;/section&gt;

&lt;footer&gt; &lt;/footer&gt;</code></pre>
<h3>A Little CSS3 Magic</h3>
<p>text-shadow</p>
<pre><code>body {
    text-shadow: #808080 0 1px 0;
}</code></pre>
<p>webkit transitions</p>
<pre><code>a:link {
    -webkit-transition-property: color;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: ease-in;
}

a:hover {
    -webkit-transition-timing-function: ease-out;
}</code></pre>
<p>border-radius</p>
<pre><code>.container {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}</code></pre>
<p>rgba background colors</p>
<pre><code>.container {
    background: rgb(97,97,97);
    background: rgba(20,20,20,.1);
}</code></pre>
<h3>Some Javascript Love</h3>
<p>The latest tweet on the homepage is all thanks to Remy Sharp&#8217;s <a href="http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/">step by step guide</a> on how to add twitter to your site.</p>
<p>There&#8217;s a great <a href="http://www.zurb.com/playground/inline-form-labels">tutorial</a> from zurb.com on how to add the fade in/out effect on the inline form labels as seen in the search field below.</p>
<p>At the moment I&#8217;m currently experimenting with <a href="http://typekit.com/">Typekit</a> which allows me to choose from hundreds of different fonts for the site but I&#8217;m also interested in seeing what happens with <a href="http://fontdeck.com/">FontDeck</a> when it&#8217;s released.</p>
<p>Perishable Press has a nice post on <a href="http://perishablepress.com/press/2009/11/09/perfect-pre-tags/">how to create perfect pre tags</a> which I&#8217;m using in this article. I&#8217;d like to be able to include ‘view plaintext’ and ‘copy to clipboard’ links but haven&#8217;t been able to figure them out just yet.</p>
<p>And the fade in/out images that I&#8217;ve used on the logo and the different icons throughout the site are based on <a href="http://greg-j.com/static-content/hover-fade-redux.html">this example</a> and some help from <a href="http://jayhollywood.com.au/">Jay Hollywood</a>.</p>
<h3>Noteable WordPress Plugins</h3>
<p><a href="http://eightface.com/wordpress/flickrrss/">FlickrRSS</a><br />
<a href="http://jeroensmeets.net/lastfmrecords/">Last.fm Records</a><br />
<a href="http://blog.jodies.de/2004/11/recent-comments/">Get Recent Comments</a><br />
<a href="http://txfx.net/code/wordpress/subscribe-to-comments/">Subscribe to Comments</a><br />
<a href="http://wordpress.org/extend/plugins/stats/">WordPress.com Stats</a> for the shortlinks</p>
<p>If you&#8217;ve got any questions on how I&#8217;ve implemented any other aspect of the site, please feel free to leave a comment.</p>
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/7EPOBLZeiCM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/design-breakdown-v1-0/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/design-breakdown-v1-0</feedburner:origLink></item>
		<item>
		<title>Starkers HTML5</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/CMSF6S5nYuk/starkers-html5</link>
		<comments>http://nathanstaines.com/archive/starkers-html5#comments</comments>
		<pubDate>Mon, 25 Jan 2010 07:30:48 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[starkers]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=241</guid>
		<description><![CDATA[For as long as I can remember I've been using <a href="http://elliotjaystocks.com">Elliot Jay Stocks'</a> Starkers theme as a clean slate for all of my WordPress endeavours...]]></description>
			<content:encoded><![CDATA[<p><a href="http://nathanstaines.com/wp-content/downloads/starkers-html5.zip" id="gen-download" class="png-fix">Download zip (51kb)</a> <strong>Update: 22/07/10</strong>: <a href="http://nathanstaines.com/archive/starkers-html5-v3">Starkers HTML5 v3.0</a> has been let out of the bag. </p>
<p>For as long as I can remember I&#8217;ve been using <a href="http://elliotjaystocks.com">Elliot Jay Stocks&#8217;</a> <a href="http://elliotjaystocks.com/starkers/">Starkers theme</a> as a clean slate for all of my WordPress endeavours. Starkers is a godsend to designers like me who would have otherwise spent hours stripping back the code of the default WordPress theme in order to create a starting point for any new designs.</p>
<blockquote class="quote-starkers"><p>Starkers is a bare bones WordPress theme created to act as a starting point for the theme designer&#8230; Free of all style, presentational elements, and non-semantic markup, Starkers is the perfect ‘blank slate’ for your projects, as it’s a stripped-back version of the ‘Default’ theme that ships with WordPress. <cite><a href="http://elliotjaystocks/" title="Elliot Jay Stocks">Elliot Jay Stocks</a>, Starkers</cite></p></blockquote>
<p>So when word hit regarding HTML5, it certainly got people talking and got me thinking about an idea for my next side project.</p>
<p>Call me experimental or maybe just impatient, but I figured why not transform Starkers into an HTML5 theme that others could use right now? And so <strong>“Starkers HTML5”</strong> was born.</p>
<h3>Some info on HTML5</h3>
<p>HTML5 introduces a number of new elements and attributes that reflect typical usage on modern websites. A lot of them are semantic replacements for common uses of the &lt;div&gt; and &lt;span&gt; elements. </p>
<p>As a designer you&#8217;ll have a whole bag of new elements to play with, such as &lt;header&gt;, &lt;nav&gt;, &lt;article&gt;, &lt;section&gt;, &lt;aside&gt;, &lt;footer&gt; and loads more.</p>
<p>For a more in-depth look into HTML5 you can check out the following websites: <br /> <a href="http://html5doctor.com/">HTML5 Doctor</a>, <a href="http://diveintohtml5.org/">Dive into HTML5</a>, <a href="http://www.w3.org/TR/html5/">the WC3 working draft</a> and <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">the WHATWG working draft</a></p>
<h3>Features remain the same</h3>
<p>All non-semantic, presentational class names (e.g: class=“center”) have been removed; all non-semantic, presentational HTML elements (e.g: &lt;hr /&gt;, &lt;br /&gt;) have been removed; all unnecessary elements have been removed (e.g: &lt;div class=“entry”&gt; disappears entirely and &lt;h3 class=“comments”&gt; simply becomes &lt;h3&gt;).</p>
<p>Elements have been converted where necessary (e.g: &lt;small&gt; becomes &lt;p&gt;) and some IDs have been kept intact (such as &lt;h3 id=“respond”&gt;) to preserve functionality.</p>
<p>Browser defaults have been reset in the stylesheet thanks to <a href="http://richclarkdesign.com">Richard Clark</a></p>
<h3>Final notes</h3>
<p>Since the only way to get IE to acknowledge the new elements, is to use the <a href="http://remysharp.com/2009/01/07/html5-enabling-script/">HTML5 shiv</a>, <a href="http://remysharp.com/">Remy Sharp</a> has put together a mini script that enables all the new elements which has been included in the theme.</p>
<p><a href="http://nathanstaines.com/wp-content/downloads/starkers-html5.zip">Download <strong>Starkers HTML5</strong></a> and get stuck into HTML5 today.</p>
<p><strong>Update: February 3rd, 2010</strong><br />
Thanks to a suggestion from <a href="https://twitter.com/matthewsimo">@matthewsimo</a> comments have now been marked up as individual articles instead of an ordered list and are nested inside the parent article.</p>
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/CMSF6S5nYuk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/starkers-html5/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/starkers-html5</feedburner:origLink></item>
		<item>
		<title>WordPress Shortlinks</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/cB1e9XO4kLc/wordpress-shortlinks</link>
		<comments>http://nathanstaines.com/archive/wordpress-shortlinks#comments</comments>
		<pubDate>Tue, 19 Jan 2010 08:01:48 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=146</guid>
		<description><![CDATA[Thanks to services such as <a href="http://twitter.com">Twitter</a>, URL shorteners seem to be all the craze these days. Especially when it comes to trying to keep your precious characters to a minimum...]]></description>
			<content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/shortlinks1.png" alt="" title="Shortlinks" width="295" class="alignright size-full wp-image-168" style="margin: 0 0 25px 25px;" /><strong>Update: June 18th, 2010</strong><br />
With the release of <a href="http://wordpress.org">WordPress 3.0</a> this solution no longer works, however you are still able to provide a short link to your post by using <a href="http://codex.wordpress.org/Template_Tags/the_shortlink">the_shortlink</a> template tag.</p>
<p>Thanks to services such as <a href="http://twitter.com">Twitter</a>, URL shorteners seem to be all the craze these days. Especially when it comes to trying to keep your precious characters to a minimum.</p>
<p>With the release of WordPress 2.9 and an update to the <a href="http://wordpress.org/extend/plugins/stats">WordPress.com stats plugin</a> the wp.me shortlink feature is now available to all self-hosting users of WordPress.</p>
<h3>How to get your own shortlinks</h3>
<p>To get shortlinks working on your own site you&#8217;ll first need to head over to <a href="http://wordpress.com">WordPress.com</a> and sign up for an account (so you can get your hands on the all powerful API key) then simply proceed to download and install the <a href="http://wordpress.org/extend/plugins/stats">WordPress.com stats plugin</a>.</p>
<p>Once you have the plugin installed you&#8217;ll see a &#8216;Get Shortlink&#8217; button on the &#8216;Edit Post&#8217; screen.</p>
<h3>Displaying them on your site</h3>
<p>If you&#8217;re like me and want to display the sexy new shortlinks on your site all you need to do is add this little piece of code within <a href="http://codex.wordpress.org/The_Loop">the loop</a> of your theme.</p>
<pre><code>&lt;?php if (function_exists('get_shortlink')) { ?&gt;
    &lt;a href="&lt;?php echo get_shortlink($post);?&gt;"&gt;&lt;?php echo get_shortlink($post); ?&gt;&lt;/a&gt;
&lt;?php } ?&gt;</code></pre>
<h3>Keep the stats but remove the shortlinks</h3>
<p>Now I know there are people out there who are already using plugins to create shortlinks for their content and are more than happy to continue using them. In fact they may even get a little upset that this feature has been included in the WordPress.com stats plugin. </p>
<p>So if that&#8217;s you and you&#8217;d like to exclude the WordPress shortlink feature but keep the stats working then just add this to the functions.php file in your theme folder.</p>
<pre><code>remove_action('wp_head', 'shortlink_wp_head');</code></pre>
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/cB1e9XO4kLc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/wordpress-shortlinks/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/wordpress-shortlinks</feedburner:origLink></item>
		<item>
		<title>Hello World!</title>
		<link>http://feedproxy.google.com/~r/nathanstaines/~3/12u04FfCdJE/hello-world</link>
		<comments>http://nathanstaines.com/archive/hello-world#comments</comments>
		<pubDate>Fri, 15 Jan 2010 01:00:22 +0000</pubDate>
		<dc:creator>Nathan Staines</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://nathanstaines.com/?p=27</guid>
		<description><![CDATA[I'm here, I've finally made it... my very own slice of the world wide web! Now don't get me wrong, I've had websites before but I've never had one named after me...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m here, I&#8217;ve finally made it&#8230; my very own slice of the world wide web! Now don&#8217;t get me wrong, I&#8217;ve had websites before but I&#8217;ve never had one named after me&#8230; it&#8217;s kind of a big deal.</p>
<p><img src="http://nathanstaines.com/wp-content/uploads/screenshot.jpg" alt="" title="Screenshot" width="758" height="200" class="alignnone size-full wp-image-99" /></p>
<p>Just like a builder who builds his own house or a mechanic who builds his own car a designer who builds his own site is never finished. Even though I&#8217;m happy with the way things look at the moment I can certainly guarantee that over time improvements will be made.  </p>
<p>Now depending on your choice of web browser, things may look a little differently from where you&#8217;re sitting (may have a few issues with the inline labels in IE). The whole site has been designed using html5 and css3 which at the time of writing have yet to be finalised and fully supported.</p>
<p>If you think you&#8217;ve come across any errors or just want to help me improve the site with some friendly advice then please <a href="mailto:&#110;&#97;&#116;&#104;&#97;&#110;&#64;&#110;&#97;&#116;&#104;&#97;&#110;&#115;&#116;&#97;&#105;&#110;&#101;&#115;.&#99;&#111;&#109;?subject=Enquiry%20from%20nathanstaines.com">send me an email</a> or leave a comment below.</p>
<img src="http://feeds.feedburner.com/~r/nathanstaines/~4/12u04FfCdJE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://nathanstaines.com/archive/hello-world/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://nathanstaines.com/archive/hello-world</feedburner:origLink></item>
	</channel>
</rss>
