<?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>athe.la blog &#187; usability</title>
	<atom:link href="http://blog.athe.la/tag/usability/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.athe.la</link>
	<description>how to internets with style</description>
	<lastBuildDate>Mon, 30 Jan 2012 20:37:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The New Resizeable TextArea in Firefox 4</title>
		<link>http://blog.athe.la/the-new-resizeable-textarea-in-firefox-4/</link>
		<comments>http://blog.athe.la/the-new-resizeable-textarea-in-firefox-4/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 12:37:19 +0000</pubDate>
		<dc:creator>Dan Cooper</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://blog.athe.la/?p=277</guid>
		<description><![CDATA[So there I was, whittering away my time on facebook when I noticed I could resize the textbox of which I was writing my useless comment.  My immediate thought was that facebook had opened up the ability to resize, but nay!  In firefox 4 you now have the ability to resize textareas! Sweet!  I&#8217;ve always <a href='http://blog.athe.la/the-new-resizeable-textarea-in-firefox-4/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>So there I was, whittering away my time on facebook when I noticed I could resize the textbox of which I was writing my useless comment.  My immediate thought was that facebook had opened up the ability to resize, but nay!  In firefox 4 you now have the ability to resize textareas! Sweet!  I&#8217;ve always admired it in google chrome and now us firefox lovers have it too!</p>
<div id="attachment_278" class="wp-caption aligncenter" style="width: 324px"><a href="http://blog.athe.la/wp-content/uploads/2010/03/firefox-resizeable-textarea.png"><img class="size-full wp-image-278" title="firefox resizeable textarea" src="http://blog.athe.la/wp-content/uploads/2010/03/firefox-resizeable-textarea.png" alt="" width="314" height="125" /></a><p class="wp-caption-text">In the bottom right, you see it.  The 6 dots of resizeable glory</p></div>
<p>If you&#8217;re running the latest version of firefox, check it out <a href="http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_textarea">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.athe.la/the-new-resizeable-textarea-in-firefox-4/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Emphasising Primary Actions on User Input Forms</title>
		<link>http://blog.athe.la/emphasising-primary-actions-on-user-input-forms/</link>
		<comments>http://blog.athe.la/emphasising-primary-actions-on-user-input-forms/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 22:43:22 +0000</pubDate>
		<dc:creator>Dan Cooper</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://atheladev.wordpress.com/?p=169</guid>
		<description><![CDATA[A pretty simple philosophy: If you make the primary action on a form or web page stand out, users will be more likely to click it. By emphasising these buttons or actions you are attempting to draw the user&#8217;s focus toward it.  And by primary action, I mean the submit, send, save etc buttons; actions <a href='http://blog.athe.la/emphasising-primary-actions-on-user-input-forms/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>A pretty simple philosophy: If you make the primary action on a form or web page stand out, users will be more likely to click it. By emphasising these buttons or actions you are attempting to draw the user&#8217;s focus toward it.  And by primary action, I mean the submit, send, save etc buttons; actions where the user is making progress. Secondary actions could be buttons like back, undo or cancel</p>
<p>There are a number of ways to emphasise the primary action. One of the easiest and yet still effective methods is to colour the button brightly to draw attention. Similarly you could reduce the saturation of the cancel button. The human eye is drawn to areas of colour which stand out from the page. Also culturally the colour green is associated with a positive action and so if the user is in a hurry or just speedily going through the form, when they see the green button they will know it&#8217;s the button that submits the information. Chances are that they won&#8217;t actually read the text of the button!</p>
<p><a rel="attachment  wp-att-203" href="http://blog.athe.la/2010/02/emphasising-primary-actions-on-user-input-forms/omg-aliens/"><img class="aligncenter size-full  wp-image-203" title="facebook blue send" src="http://blog.athe.la/wp-content/uploads/2010/01/omg-aliens.png" alt="" width="618" height="360" /></a></p>
<p><span id="more-169"></span>Notice how the send button is all bright and cheery in the facebook-blue colour whereas the cancel button is grey and boring.  Other methods are also just as effective such as using a text link for the cancel action instead of a button.  This is the one I much prefer as it informs the user that by pressing the link, it&#8217;s not going to post anything they&#8217;ve typed in on the form.  Perhaps less tech-savvy users might think the cancel button would perform some function if they typed in their order details and requested to &#8216;Cancel&#8217; the order.  A link would completely resolve any issues as a normal web user knows that a link just redirects to a different page (in most cases).</p>
<p>Below we see a text link being used to give the user the opportunity to cancel the submission and return to where they came from.</p>
<p><a rel="attachment  wp-att-204" href="http://blog.athe.la/2010/02/emphasising-primary-actions-on-user-input-forms/omg-watches/"><img class="aligncenter size-full wp-image-204" title="omg-watches" src="http://blog.athe.la/wp-content/uploads/2010/01/omg-watches.png" alt="" width="433" height="490" /></a></p>
<p>Also it might be worth noting that rarely is the &#8216;reset&#8217; button used on forms now.  I don&#8217;t know why it ever caught on in the first place anyway&#8230; Who wants to fill out an entire form and then scroll to the bottom and press reset?  It provides functionality that I&#8217;m sure was never used and when it was used it was never intended(!)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.athe.la/emphasising-primary-actions-on-user-input-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Vertically Align Text Within an Element</title>
		<link>http://blog.athe.la/how-to-vertically-align-text-within-an-element/</link>
		<comments>http://blog.athe.la/how-to-vertically-align-text-within-an-element/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 12:33:14 +0000</pubDate>
		<dc:creator>Dan Cooper</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[quick tip]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://atheladev.wordpress.com/?p=154</guid>
		<description><![CDATA[Just thought I’d let you all know of a quick trick to get your text to vertically align within an element without using nasty padding or margin hacks. If you know that your element is going to be a certain height, then you can use the css attribute ‘line-height’ and give it the same value <a href='http://blog.athe.la/how-to-vertically-align-text-within-an-element/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Just thought I’d let you all know of a quick trick to get your text to vertically align within an element without using nasty padding or margin hacks. If you know that your element is going to be a certain height, then you can use the css attribute ‘line-height’ and give it the same value as the height of the object. Please note that this will only work where there is only a single line of text.</p>
<p><a rel="attachment wp-att-155" href="http://blog.athe.la/2010/01/how-to-vertically-align-text-within-an-element/7lb8k/"><img class="aligncenter size-full wp-image-155" title="My Buy Holiday button" src="http://blog.athe.la/wp-content/uploads/2010/01/7lb8k.png" alt="" width="128" height="48" /></a></p>
<p>The background colour I&#8217;m using is #EFF8F8</p>
<p>Here I have a pseudo-button and actually it&#8217;s just a text link within a &lt;p&gt;. Here’s the HTML and css:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;p class=&quot;actionbutton&quot;&gt;&lt;a href=&quot;/BuyingAndSelling/BuyHoliday&quot;&gt;Buy Holiday&lt;/a&gt;&lt;/p&gt;
</pre>
<pre class="brush: css; title: ; notranslate">

p.actionbutton
{
margin:0 auto 1em auto; /*center the button on the page*/
text-align:center;
width:124px;
height:44px;
}

p.actionbutton a
{
line-height:44px; /* same height as actionbutton element */
font-size:1.2em;
display:block; /* makes the whole area clickable rather than just the text */
text-decoration:none;
color:Black;
background-image: url('smartbutton.gif');
}

/*rollover*/
p.actionbutton a:hover
{
color:DarkOrange;
background-image: url('smartbutton-down.gif');
}
</pre>
<p>Here are the source images for you to play around with</p>
<div id="attachment_160" class="wp-caption alignleft" style="width: 134px"><a rel="attachment wp-att-160" href="http://blog.athe.la/2010/01/how-to-vertically-align-text-within-an-element/luoi1/"><img class="size-full wp-image-160 " title="normal button" src="http://blog.athe.la/wp-content/uploads/2010/01/luoi1.gif" alt="" width="124" height="44" /></a><p class="wp-caption-text">Normal button state</p></div>
<p><div id="attachment_161" class="wp-caption alignleft" style="width: 134px"><a rel="attachment wp-att-161" href="http://blog.athe.la/2010/01/how-to-vertically-align-text-within-an-element/s7cr5/"><img class="size-full wp-image-161 " title="rollover button" src="http://blog.athe.la/wp-content/uploads/2010/01/s7cr5.gif" alt="" width="124" height="44" /></a><p class="wp-caption-text">On mouse rollover</p></div><br />
<br style="clear:both"/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.athe.la/how-to-vertically-align-text-within-an-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TimeToggle django custom filter</title>
		<link>http://blog.athe.la/timetoggle-filter/</link>
		<comments>http://blog.athe.la/timetoggle-filter/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 18:21:45 +0000</pubDate>
		<dc:creator>Dan Cooper</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[custom filter]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sourcecode]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[timesince]]></category>
		<category><![CDATA[timetoggle]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://atheladev.wordpress.com/?p=76</guid>
		<description><![CDATA[It&#8217;s always good to keep web pages clean and free of clutter to focus the user experience on what really is important.  For this matter, it&#8217;s nice to be shown the difference between the time now and the time something was posted in a informal way such as below: So if you still wanted this <a href='http://blog.athe.la/timetoggle-filter/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s always good to keep web pages clean and free of clutter to focus the user experience on what really is important.  For this matter, it&#8217;s nice to be shown the difference between the time now and the time something was posted in a informal way such as below:</p>
<p><a href="http://blog.athe.la/wp-content/uploads/2009/04/timetoggle-normal.png"><img class="size-full wp-image-78 alignnone" title="timetoggle-normal" src="http://blog.athe.la/wp-content/uploads/2009/04/timetoggle-normal.png" alt="timetoggle-normal" width="510" height="81" /></a></p>
<p>So if you still wanted this uncluttered view but still desired to allow the user to see the exact moment that was, then maybe you&#8217;d have to let the user check a checkbox in their user settings are show an exact time when the view of that object is more detailed.  However I&#8217;ve come up with the idea that on mouseover the nice and informal &#8216;time since&#8217; can be replaced with an exact time of the post in an easy custom filter.</p>
<p>Here&#8217;s the same chirp as shown above but with the mouse hovering over the time.</p>
<p><a href="http://blog.athe.la/wp-content/uploads/2009/04/timetoggle-mouseover.png"><img class="size-full wp-image-77 alignnone" title="timetoggle-mouseover" src="http://blog.athe.la/wp-content/uploads/2009/04/timetoggle-mouseover.png" alt="timetoggle-mouseover" width="510" height="81" /></a></p>
<p>When the mouse is rolled back out, the informal time since is displayed again.</p>
<p>Seamless user experience showing more detail when the user wants it <img src='http://blog.athe.la/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: python; title: ; notranslate">
from django.utils import timesince, dateformat

@register.filter
def timetoggle(time, id):
link = &quot;&lt;span id=\&quot;&quot;+str(id) + &quot;timesince\&quot;&gt; about &lt;a href=\&quot;#\&quot; onmouseover=\&quot;document.getElementById('&quot;+str(id)+&quot;timeactual').style.display=''; document.getElementById('&quot;+str(id)+&quot;timesince').style.display='none';return false;\&quot;&gt;&quot;
link += timesince.timesince(time)
link += &quot; ago&lt;/a&gt; &lt;/span&gt;&lt;span id=\&quot;&quot;+str(id)+&quot;timeactual\&quot; style='display:none'&gt; at &lt;a href=\&quot;#\&quot; onmouseout=\&quot;document.getElementById('&quot;+str(id)+&quot;timeactual').style.display='none'; document.getElementById('&quot;+str(id)+&quot;timesince').style.display='';return false;\&quot;&gt;&quot;
link += dateformat.DateFormat(time).format(&quot;g:ia o\\n l jS N Y&quot;)
link += &quot;&lt;/a&gt;&lt;/span&gt;&quot;
return mark_safe(link)
</pre>
<p>Use in the following way: {{ time_object|timetoggle:unique_identifier }}   Here&#8217;s an example: {{ post.pub_date|timetoggle:post.id }}</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.athe.la/timetoggle-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

