<?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>Aaron Lumsden &#124; Aaronlumsden.com</title>
	<atom:link href="http://www.aaronlumsden.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aaronlumsden.com</link>
	<description>A web design and development blog focussing on HTML5, CSS3, Wordpress &#38; Jquery</description>
	<lastBuildDate>Tue, 19 Mar 2013 16:14:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Best Practices for Increasing Website Performance</title>
		<link>http://www.aaronlumsden.com/articles/best-practices-for-increasing-website-performance/</link>
		<comments>http://www.aaronlumsden.com/articles/best-practices-for-increasing-website-performance/#comments</comments>
		<pubDate>Wed, 24 Oct 2012 16:29:34 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=945</guid>
		<description><![CDATA[<p>In this months article for webdesigntuts+ I take a look at ways to increase websites performance using a variety of different techniques and tools. It’s a no-brainer: well performing websites enjoy higher visitor engagement, retention and conversion. Given how fickle users can be, plus the fact that mobile devices are very significant these days, never [...]</p><p>The post <a href="http://www.aaronlumsden.com/articles/best-practices-for-increasing-website-performance/">Best Practices for Increasing Website Performance</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>In this months article for webdesigntuts+ I take a look at ways to increase websites performance using a variety of different techniques and tools. <span id="more-945"></span>It’s a no-brainer: well performing websites enjoy higher visitor engagement, retention and conversion. Given how fickle users can be, plus the fact that mobile devices are very significant these days, never before has the speed of websites been so important! In this article I’m going to highlight ways in which you can improve the performance of your own sites.</p>
<h2>Increasing Website Performance</h2>
<p>The performance of websites and the impact that has, has been well documented over the years. In 2007 Amazon reported that for every 100 ms increase in load time of Amazon.com their sales decreased by 1%. Google also reported similar results in 2006 with their Google Maps product. Google found that by reducing the size of the page from 100KB to 80KB, their traffic shot up by 10% in the first week and then 25% in the following three weeks.</p>
<div class="tutimage"><img class="alignnone size-full wp-image-946" title="website-performance-infographic" src="http://www.aaronlumsden.com/wp-content/uploads/2012/10/website-performance-infographic.png" alt="" /><br />
The above infographic by strangeloopnetworks.com illustrates the effect that a website’s performance can have on users.</div>
<p>It’s clear that monitoring the performance of a website is a must and should not be ignored as being an integral part of your web design workflow.<br />
You may already be using some of the techniques that I’ll discuss today, whilst others you may not. Although you can use techniques on the server side to speed up websites, this article is going to focus on ways that we can increase performance from the front end. Let’s jump in..</p>
<blockquote><p>Head on over to <a href="http://webdesign.tutsplus.com/tutorials/workflow-tutorials/best-practices-for-increasing-web-site-performance/" target="_blank">webdesigntuts+ to read the article in full</a></p></blockquote>
<p>The post <a href="http://www.aaronlumsden.com/articles/best-practices-for-increasing-website-performance/">Best Practices for Increasing Website Performance</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/articles/best-practices-for-increasing-website-performance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Look at Mozilla&#8217;s Web Telephony API &amp; Web SMS API</title>
		<link>http://www.aaronlumsden.com/html5/a-look-at-mozillas-web-telephony-api-web-sms-api/</link>
		<comments>http://www.aaronlumsden.com/html5/a-look-at-mozillas-web-telephony-api-web-sms-api/#comments</comments>
		<pubDate>Thu, 18 Oct 2012 16:22:48 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[web api]]></category>
		<category><![CDATA[web sms api]]></category>
		<category><![CDATA[web telephony api]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=931</guid>
		<description><![CDATA[<p>Earlier this year Mozilla announced the news that Firefox was about to step into the mobile phone marketplace with Firefox OS. This new operating system features API&#8217;s that could change the way mobile devices communicate with the web. In this article I look at some of those API&#8217;s. In 2007 Apple introduced the iPhone which [...]</p><p>The post <a href="http://www.aaronlumsden.com/html5/a-look-at-mozillas-web-telephony-api-web-sms-api/">A Look at Mozilla&#8217;s Web Telephony API &#038; Web SMS API</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Earlier this year Mozilla announced the news that Firefox was about to step into the mobile phone marketplace with Firefox OS. This new operating system features API&#8217;s that could change the way mobile devices communicate with the web. In this article I look at some of those API&#8217;s.<span id="more-931"></span></p>
<p>In 2007 Apple introduced the iPhone which changed the way that we use the web. In effect, websites were re packaged and re designed and brought to life under the guise of apps. All of a sudden the web could understand new information about us such as our location. I have often thought it would be good if we could access other information about our mobile phone such as contacts, the battery status and other network specific information from our call time provider. Well, <a href="https://wiki.mozilla.org/WebAPI" target="_blank">Mozilla&#8217;s WEB API</a> team have set out to allow this by introducing the Web API.</p>
<p>Let&#8217;s take a look at some of these new API&#8217;s available.</p>
<h2>The Web Telephony API</h2>
<p>The WEB Telephony API allows you to access your phones functionality which then lets you make and recieve calls wich can be operated trough javascript.</p>
<p>Mozilla&#8217;s <a href="https://hacks.mozilla.org/author/robertnyman/" target="_blank">Robert Nyman</a> shows how this works</p>
<pre class="brush:js">// Telephony object
var tel = navigator.mozTelephony;

// Check if the phone is muted (read/write property)
console.log(tel.muted);

// Check if the speaker is enabled (read/write property)
console.log(tel.speakerEnabled);

// Place a call
var call = tel.dial("123456789");

// Events for that call
call.onstatechange = function (event) {
    /*
        Possible values for state:
        "dialing", "ringing", "busy", "connecting", "connected", 
        "disconnecting", "disconnected", "incoming"
    */
    console.log(event.state);
};

// Above options as direct events
call.onconnected = function () {
    // Call was connected
};

call.ondisconnected = function () {
    // Call was disconnected
};

// Receiving a call
tel.onincoming = function (event) {
    var incomingCall = event.call;

    // Get the number of the incoming call
    console.log(incomingCall.number);

    // Answer the call
    incomingCall.answer();
};

// Disconnect a call
call.hangUp();

// Iterating over calls, and taking action depending on their changed status
tel.oncallschanged = function (event) {
    tel.calls.forEach(function (call) {
        // Log the state of each call
        console.log(call.state); 
    });
};</pre>
<h2>The Web SMS API</h2>
<p>The Web SMS API does what it says on the tin and lets you send and recieve sms text messages. The good news is that it couldn&#8217;t be simpler to use.</p>
<pre class="brush:js">// SMS object
var sms = navigator.mozSMS;

// Send a message
sms.send("123456789", "Hello world!");

// Recieve a message
sms.onrecieved = function (event) {
    // Read message
    console.log(event.message);
};</pre>
<h2>When can I use Mozilla&#8217;s Web API&#8217;s?</h2>
<p>You can start to experiment with these new API&#8217;s right now by downloading <a href="https://github.com/andreasgal/gaia" target="_blank">Mozillas &#8216;Gaia&#8217;</a> which is the name of the user interface for Boot to Gecko. In the demonstration files you can find out more about Web API&#8217;s.</p>
<div class="tutimage"><img class="alignnone size-full wp-image-933" title="gaia-mozilla-ui" src="http://www.aaronlumsden.com/wp-content/uploads/2012/10/gaia-mozilla-ui.png" alt="" /><br />
Gaia &#8211; The UI behind Mozillas Boot to Gecko which utilises the WEB API&#8217;s</div>
<p>In total there are over 50 new API&#8217;s that Mozilla have introduced and are said to be introducing more. I think this will definately be the way forward and we will start to see a new wave of apps that will take mobile to the next level. I&#8217;m just surprised that Apple hadn&#8217;t thoght to introduce something similar earlier.</p>
<p>What do you think of the Mozilla&#8217;s new Web API&#8217;s? Have you tried using them? Can you think of any apps that will now become possible due to these new methods? Let me know in the comments below.</p>
<p>The post <a href="http://www.aaronlumsden.com/html5/a-look-at-mozillas-web-telephony-api-web-sms-api/">A Look at Mozilla&#8217;s Web Telephony API &#038; Web SMS API</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/html5/a-look-at-mozillas-web-telephony-api-web-sms-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Say Hello to WebRTC, a HTML5 Framework That Will Revolutionise the Web</title>
		<link>http://www.aaronlumsden.com/html5/say-hello-to-webrtc-a-html5-framework-that-will-revolutionise-the-web/</link>
		<comments>http://www.aaronlumsden.com/html5/say-hello-to-webrtc-a-html5-framework-that-will-revolutionise-the-web/#comments</comments>
		<pubDate>Tue, 16 Oct 2012 16:37:38 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[webrtc]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=923</guid>
		<description><![CDATA[<p>WebRTC stands for Web Real Time Communication and allows for the direct sharing of large files such as audio and video in real time between browsers. In this introduction I&#8217;m going to be looking at how this new technology could revolutionise the web. Currently the WebRTC project is supported by Google, Mozilla and Opera. The [...]</p><p>The post <a href="http://www.aaronlumsden.com/html5/say-hello-to-webrtc-a-html5-framework-that-will-revolutionise-the-web/">Say Hello to WebRTC, a HTML5 Framework That Will Revolutionise the Web</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>WebRTC stands for Web Real Time Communication and allows for the direct sharing of large files such as audio and video in real time between browsers. In this introduction I&#8217;m going to be looking at how this new technology could revolutionise the web.<span id="more-923"></span></p>
<p>Currently the <a href="https://sites.google.com/site/webrtc/home" target="_blank">WebRTC project</a> is supported by Google, Mozilla and Opera. The technology is proving to be so popular that is estimated that it will be part of all major browsers within the next three to four months.</p>
<h2>What is WebRTC?</h2>
<p>WebRTC makes way for real time communication between browsers. In 2004 Ajax was introduced which allowed part of a web page to be updated rather than the whole page. This increased load time within web pages and allowed for a smoother user experience. WebRTC is like ajax on steroids!</p>
<p>It&#8217;s basically an open framework that increases network speed in the transmission of audio, video and other components. These components can then be accessed through Javascript API&#8217;s which allow us developers to create high speed audio and video chat applications with ease.</p>
<h2>When would I use WebRTC?</h2>
<p>Initially the technology will prove popular in peer to peer video and audio chat style applications. Google already utilise this on thier &#8216;Google talk&#8217; product. It&#8217;s not only great for any video/audio chat application but will also be beneficial to any kind of peer to peer, browser to browser communication app such as screen sharing or even instant peer to peer. Imagine Napster but with instant results.</p>
<h2>What will be the benefits of WebRTC?</h2>
<p>Previously it&#8217;s been difficult to implement such features with ease but due to WebRTC being relatively easy to use, it will surge the way for developers to experiment on this great new technology. Leading to more innovative experimentation with it and hopefully paving the way for a seamless instant web experience. The results of this innovation will, I&#8217;m sure, lead to apps that have never been before capable on the web.</p>
<p>To read more about WebRTC&#8217;s API&#8217;s you can visit the <a href="https://sites.google.com/site/webrtc/reference/native-apis" target="_blank">official API documentation</a>.</p>
<p>Have you tried using WebRTC? What do you think of it? Are you excited about the news of it? Let me know in the comments below.</p>
<p>The post <a href="http://www.aaronlumsden.com/html5/say-hello-to-webrtc-a-html5-framework-that-will-revolutionise-the-web/">Say Hello to WebRTC, a HTML5 Framework That Will Revolutionise the Web</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/html5/say-hello-to-webrtc-a-html5-framework-that-will-revolutionise-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Introduction to CSS Variables</title>
		<link>http://www.aaronlumsden.com/css3/an-introduction-to-css-variables/</link>
		<comments>http://www.aaronlumsden.com/css3/an-introduction-to-css-variables/#comments</comments>
		<pubDate>Sat, 06 Oct 2012 11:38:37 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css variables]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=900</guid>
		<description><![CDATA[<p>CSS variables allow you to define a custom CSS property so that you can reuse that property through out your style sheet. Here&#8217;s an introduction to them. Cover image adapted from Norm. Today&#8217;s websites and apps can contain thousands upon thousands of lines of CSS. A lot of the CSS in a stylesheet is repeated. [...]</p><p>The post <a href="http://www.aaronlumsden.com/css3/an-introduction-to-css-variables/">An Introduction to CSS Variables</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>CSS variables allow you to define a custom CSS property so that you can reuse that property through out your style sheet. Here&#8217;s an introduction to them.<span id="more-900"></span></p>
<p>Cover image adapted from <a href="http://dribbble.com/Norm" target="_blank">Norm</a>.</p>
<p>Today&#8217;s websites and apps can contain thousands upon thousands of lines of CSS. A lot of the CSS in a stylesheet is repeated. Take for instance if you are designing a website for a company who&#8217;s main brand color is &#8216;orange&#8217;. You will have that color specified quite a few times through out your style sheet. Then one day that company phones up and tells you that they have had a brand redesign and their brand color is now &#8216;red&#8217;. This would mean that you have to go through all the instances of that color on your stylesheet (which can sometimes be across multiple files) and replace them. In some cases this might be a little more difficult than doing a simple search and replace.</p>
<h2>In steps CSS Variables to the rescue</h2>
<p>With <a href="http://dev.w3.org/csswg/css-variables/" target="_blank">CSS variables</a> you would declare the property once and then reuse that variable throughout your CSS.</p>
<p>Let&#8217;s take a look</p>
<pre class="brush:css">:root {
    -webkit-var-brand-color: red;

}
h1 {
  color: -webkit-var(brand-color);
}
div {
background-color;
}</pre>
<p>In the code above you can see that we have declared the brand color in the &#8216;:root&#8217; of the document and then have used that variable to style the color of the &#8216;h1&#8242; tag and the &#8216;background-color&#8217; of the div. If we then receive that phone call from the client asking for their brand color on their website to be changed, this would simply be a case of changing the &#8216;-webkit-var-brand-color&#8217; property to another color, this would then change all the other colors that are utilising that variable.</p>
<p>This is a definitely a good, welcome addition to CSS and would make our lives much easier. CSS Variables are currently only supported by Google Chrome and nothing else (although this could change soon).</p>
<blockquote><p>&#8220;The CSS Variables Module Level 1 proposal is not an Editors Draft anymore. It has evolved to a W3C Working Draft, which means it will become a part of the specification soon(ish).&#8221;</p></blockquote>
<h2>Enabling CSS Variables in Google Chrome</h2>
<div class="tutimage"><img class="alignnone size-full wp-image-904" title="chrome-enable-css-variables" src="http://www.aaronlumsden.com/wp-content/uploads/2012/10/chrome-enable-css-variables.png" alt="" /></div>
<p>To enable CSS Variables in Google Chrome you need to type &#8216;Chrome://flags&#8217; into the url bar and this will then bring up a list of features that you can enable or disable. Find &#8216;Enable CSS Variables&#8217;. Once you have done this you need to relaunch Chrome and you should then be able to use CSS Variables in Chrome using the syntax above (although this syntax could change when it is full implemented).</p>
<p>What do you think about the introduction of CSS Variables? Do you think it&#8217;s a welcome addition or will you stick to using other CSS prepocessor&#8217;s such as <a href="http://lesscss.org/" target="_blank">Less </a>or <a href="http://sass-lang.com/" target="_blank">Sass</a>? Let me know in the comments below.</p>
<p>The post <a href="http://www.aaronlumsden.com/css3/an-introduction-to-css-variables/">An Introduction to CSS Variables</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/css3/an-introduction-to-css-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Few Updates to AaronLumsden.com and What&#8217;s Coming Soon!</title>
		<link>http://www.aaronlumsden.com/news/a-few-updates-to-aaronlumsden-com-and-whats-coming-soon/</link>
		<comments>http://www.aaronlumsden.com/news/a-few-updates-to-aaronlumsden-com-and-whats-coming-soon/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 21:18:43 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[site news]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=883</guid>
		<description><![CDATA[<p>Over these last few weeks I&#8217;ve been making a few changes to the site. As the readership of the site is growing, I thought I&#8217;d make a few changes to reflect this. The main area that I wanted to focus on was making sure that the site let&#8217;s you focus on the content that you [...]</p><p>The post <a href="http://www.aaronlumsden.com/news/a-few-updates-to-aaronlumsden-com-and-whats-coming-soon/">A Few Updates to AaronLumsden.com and What&#8217;s Coming Soon!</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Over these last few weeks I&#8217;ve been making a few changes to the site. As the readership of the site is growing, I thought I&#8217;d make a few changes to reflect this.<span id="more-883"></span></p>
<p>The main area that I wanted to focus on was making sure that the site let&#8217;s you focus on the content that you come to the site for. I wanted the site to enhance this by giving a great reading experience. I&#8217;ve done this by using a base font size of 16px so that it&#8217;s nice and clear to read. The main reason people come to this site is to read and learn and that had to come first!</p>
<p>Here&#8217;s a few of the other updates:</p>
<h2>Responsive</h2>
<p>I&#8217;ve now made the site fully responsive, so that it can be viewed easily across all devices. I&#8217;ve optimised for smart phones and tablets so that it can be a pleasant viewing experience on them.</p>
<div class="tutimage">
<img src="http://www.aaronlumsden.com/wp-content/uploads/2012/09/aaron-lumsden-responsive1.png" alt="Aaron Lumsden responsive site" title="aaron-lumsden-responsive" class="alignnone size-full wp-image-892" /><br />
The site is now fully responsive and works across most popular devices.
</div>
<h2>More Focus</h2>
<p>I&#8217;ve made the decision to move away from the site being a portfolio type blog into a more refined quality resource for web design and development, news, techniques and tutorials.</p>
<p>Specifically the site will be focussing on:</p>
<ul>
<li><strong>CSS3</strong> &#8211; There&#8217;s some truly amazing effects that are starting to become possible now thanks to CSS3 such as CSS3 Filters. This area will look at the latest specifications and recommendations as well as covering ones that have already been implemented through case studies, tutorials and roundups.</li>
<li><strong>HTML5</strong> &#8211; as the migrate is occurring for apps to go from offline to online. This area will look at some of the latest features, tips and techniques that allow us to make great HTML5 web apps and websites.</li>
<li><strong>WordPress</strong> &#8211; A recent report stated that half of the top 1 million websites were now using WordPress as their foundation. I don&#8217;t know if that statistic is true but one thing I do know is that it is used a lot. In this area I&#8217;ll share some of my favourite WordPress snippets, as well as all the latest n WordPress, all with a couple of tuts thrown in as well.</li>
</ul>
<h2>Still to come&#8230;</h2>
<p>Over the next coming weeks you&#8217;ll start to see more changes coming to the site including a Jquery section which will show a monthly round up of the best Jquery plugins, tools and snippets around.</p>
<h2>Let me hear your feedback!</h2>
<p>Although the site has new areas, I&#8217;ll still be covering everything that has previously been included in the blog such as UI design, mobile web apps, latest tools etc. The site is going through changes and I&#8217;d like your input into what you would like to see me cover on this site. Is there a cool new tool on the latest social network that you&#8217;d like to learn how to create?, or perhaps a new section that you&#8217;d like to see on the site that you think would be useful. Whatever your ideas for this site then you can let me know by tweeting me or by leaving a comment below. Just give me a shout and I&#8217;ll see what I can do. <img src='http://www.aaronlumsden.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The post <a href="http://www.aaronlumsden.com/news/a-few-updates-to-aaronlumsden-com-and-whats-coming-soon/">A Few Updates to AaronLumsden.com and What&#8217;s Coming Soon!</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/news/a-few-updates-to-aaronlumsden-com-and-whats-coming-soon/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Responsive Web Design Made Simple with Adobe Edge Reflow</title>
		<link>http://www.aaronlumsden.com/articles/responsive-web-design-made-simple-with-adobe-edge-reflow/</link>
		<comments>http://www.aaronlumsden.com/articles/responsive-web-design-made-simple-with-adobe-edge-reflow/#comments</comments>
		<pubDate>Thu, 27 Sep 2012 19:53:01 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[code editor]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[reflow]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=853</guid>
		<description><![CDATA[<p>Recently Adobe announced the launch of their Edge tools and services. Amongst them was a tool that Adobe have been keeping under their belts, Edge Reflow. Adobe Edge Reflow. Edge reflow makes it easier to create responsive web designs. It comes in the form of a visual editor which lets you create breakpoints for different [...]</p><p>The post <a href="http://www.aaronlumsden.com/articles/responsive-web-design-made-simple-with-adobe-edge-reflow/">Responsive Web Design Made Simple with Adobe Edge Reflow</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Recently Adobe announced the launch of their Edge tools and services. Amongst them was a tool that Adobe have been keeping under their belts, Edge Reflow.<span id="more-853"></span></p>
<div class="tutimage"><img class="alignnone size-full wp-image-855" title="adobe-edge-reflow" src="http://www.aaronlumsden.com/wp-content/uploads/2012/09/adobe-edge-reflow.png" alt="" width="600"  /><br />
Adobe Edge Reflow.</div>
<p>Edge reflow makes it easier to create responsive web designs. It comes in the form of a visual editor which lets you create breakpoints for different screen or device resolutions. Once you&#8217;ve done this you can then add CSS styles to each element including styles such as CSS3 gradients. You can also ad background images to an element too. Although full designs can be achieved, from the promo it looks like it would be more handy for creating a HTML/CSS wireframe type structure for your responsive sites.</p>
<p>Adobe describe Edge Reflow as</p>
<blockquote><p>&#8220;Create truly responsive layouts thanks to an intuitive user interface. Design simultaneously for all screen sizes without sacrificing quality or capability.&#8221;</p></blockquote>
<p>Once you&#8217;ve created the layouts you can then export the code into your favourite editor.</p>
<div class="tutimage">http://youtu.be/ArG6bod-HZU<br />
Adobe&#8217;s Senior Product Manager, Jacob Surber explains the benefits of Edge Reflow.</div>
<p>There&#8217;s no news from Adobe as to when it will be available but you can <a href="https://adobeformscentral.com/?f=IrC%2AoSSmoJ8T5VhiTH1E6A&amp;promoid=KAMVY" target="_blank">sign up</a> to be notified of when it&#8217;s available.</p>
<p>The post <a href="http://www.aaronlumsden.com/articles/responsive-web-design-made-simple-with-adobe-edge-reflow/">Responsive Web Design Made Simple with Adobe Edge Reflow</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/articles/responsive-web-design-made-simple-with-adobe-edge-reflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Brief History of the World Wide Web</title>
		<link>http://www.aaronlumsden.com/articles/a-brief-history-of-the-world-wide-web/</link>
		<comments>http://www.aaronlumsden.com/articles/a-brief-history-of-the-world-wide-web/#comments</comments>
		<pubDate>Tue, 25 Sep 2012 21:07:39 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Tim Berners Lee]]></category>
		<category><![CDATA[world wide web]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=843</guid>
		<description><![CDATA[<p>In this months article for webdesigntuts+ I take a look at the history of the World Wide Web and what we can learn from it. Cover image by Zachary VanDeHey Tim Berners Lee, inventor of the World Wide Web, at the London 2012 Olympic opening ceremony. Sample from the article The web is a wonderful [...]</p><p>The post <a href="http://www.aaronlumsden.com/articles/a-brief-history-of-the-world-wide-web/">A Brief History of the World Wide Web</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>In this months article for webdesigntuts+ I take a look at the history of the World Wide Web and what we can learn from it.<span id="more-843"></span></p>
<p>Cover image by <a href="http://dribbble.com/shots/635658-World-Wide-Web" target="_blank"> Zachary VanDeHey</a></p>
<div class="tutimage">
<img src="http://www.aaronlumsden.com/wp-content/uploads/2012/09/tim-berners-lee-olympics.png" alt="" title="tim-berners-lee-olympics" width="680"  class="alignnone size-full wp-image-844" /><br />
<a href="http://www.w3.org/People/Berners-Lee/" target="_blank">Tim Berners Lee</a>, inventor of the World Wide Web, at the London 2012 Olympic opening ceremony.
</div>
<h2>Sample from the article</h2>
<p>The web is a wonderful place. It connects people from across the globe, keeps us updated with our friends and family, and creates revolutions never before seen in our lifetime. It has certainly come a long way since its humble beginnings back in the early 1980′s.</p>
<p>In order to understand the history of the World Wide Web it’s important to understand the differences between the World Wide Web and The Internet. Many people refer to them as the same thing, but in fact, although the end result is the common perception of most everyday users, they are very different.</p>
<p>The internet is a series of huge computer networks that allows many computers to connect and communicate with each other globally. Upon the internet reside a series of languages which allow information to travel between computers. These are known as protocols. For instance, some common protocols for transferring emails are IMAP, POP3 and SMTP. Just as email is a layer on the internet, the World Wide Web is another layer which uses different protocols.<br />
The World Wide Web uses three protocols:</p>
<ul>
<li><strong>HTML (Hypertext markup language)</strong> – The language that we write our web pages in.</li>
<li><strong>HTTP (Hypertext Transfer Protocol )</strong> – Although other protocols can be used such as FTP, this is the most common protocol. It was developed specifically for the World Wide Web and favored for its simplicity and speed. This protocol requests the ‘HTML’ document from the server and serves it to the browser.</li>
<li><strong>URLS (Uniform resource locator)</strong> – The last part of the puzzle required to allow the web to work is a URL. This is the address which indicates where any given document lives on the web. It can be defined as
<protocol>://<node>/<location></li>
</ul>
<h2>In the Beginning…</h2>
<p>Ideas for the World Wide Web date back to as early as 1946 when Murray Leinster wrote a short story which described how computers (that he referred to as ‘Logics’) lived in every home, with each one having access to a central device where they could retrieve information. Although the story does have several differences to the way the web works today, it does capture the idea of a huge information network available to everyone in their homes.</p>
<p>The real vision and execution for the World Wide Web didn’t come about until around 40 years later in 1980 when an English chap by the name of Tim Berners Lee was working on a project known as ‘Enquire’. Enquire was a simple database of people and software who were working at the same place as Berners Lee. It was during this project that he experimented with hypertext. Hypertext is text that can be displayed on devices which utilize hyperlinks. The Berners Lee Enquire system used hyperlinks on each page of the database, each page referencing other relevant pages within the system.</p>
<blockquote><p>Head on over to <a href="http://webdesign.tutsplus.com/articles/industry-trends/a-brief-history-of-the-world-wide-web/">webdesigntuts+</a> to read the article in full.</p></blockquote>
<p>The post <a href="http://www.aaronlumsden.com/articles/a-brief-history-of-the-world-wide-web/">A Brief History of the World Wide Web</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/articles/a-brief-history-of-the-world-wide-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recreate Path&#8217;s IOS Style Navigation Using HTML, CSS3 &amp; Jquery</title>
		<link>http://www.aaronlumsden.com/articles/recreate-paths-ios-style-navigation-using-html-css3-jquery/</link>
		<comments>http://www.aaronlumsden.com/articles/recreate-paths-ios-style-navigation-using-html-css3-jquery/#comments</comments>
		<pubDate>Thu, 20 Sep 2012 14:26:23 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[path]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=807</guid>
		<description><![CDATA[<p>In this tutorial I show you how to recreate Paths IOS style menu using HTML, CSS3 and a sprinkling of Jquery magic. UI/ UX designers are constantly trying to push forward with cool new ways to interact with our devices. For the majority of the past we have been focussed on navigating a website by [...]</p><p>The post <a href="http://www.aaronlumsden.com/articles/recreate-paths-ios-style-navigation-using-html-css3-jquery/">Recreate Path&#8217;s IOS Style Navigation Using HTML, CSS3 &#038; Jquery</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I show you how to recreate Paths IOS style menu using HTML, CSS3 and a sprinkling of Jquery magic.<span id="more-807"></span></p>
<p>UI/ UX designers are constantly trying to push forward with cool new ways to interact with our devices. For the majority of the past we have been focussed on navigating a website by using the standard menu across the top or in the sidebar. Since the advent of mobile apps we are being introduced to new ways to navigate.</p>
<h2>What we&#8217;ll be creating</h2>
<div class="tutimage">
<img title="recreate-paths-menu-using-jquery-css3" src="http://www.aaronlumsden.com/wp-content/uploads/2012/09/recreate-paths-menu-using-jquery-css3.png" alt="recreate-paths-menu-using-jquery-css3" /><br />
<a class="button" href="http://www.aaronlumsden.com/demos/recreate-paths-ios-style-menu-using-html-css3-and-jquery-demo/">View Demo</a><a class="button" href="http://aar0n.me/Ut4NXU">Download</a></p>
</div>
<blockquote><p>This has been tested in Chrome, Safari, Firefox &#038; Opera</p></blockquote>
<p>The Path menu makes you hit one button from which a host of sub menu options spring out from the original menu button.</p>
<p>An unique approach to navigation has been set out by the guys at Path inc who are the people behind <a href="https://path.com/">Path</a>.</p>
<p>For those who are unfamiliar with Path it is described as:</p>
<blockquote><p>&#8220;A the personal network where you connect with family and close friends. By limiting you to 150 connections, Path is a safe and trusted place to share the moments that matter with the people who matter most.&#8221;</p></blockquote>
<div class="tutimage">
<img class="alignnone size-full wp-image-808" title="path-menu-css3" src="http://www.aaronlumsden.com/wp-content/uploads/2012/09/path-menu-css3-e1347882207522.png" alt="path menu css3" width="198"  />
</div>
<h2>The HTML</h2>
<p>The html markup for the menu really is quite simple. We start by creating a div with an id title &#8220;container&#8221; that will hold the menu. This is followed by the main button which is an anchor tag with an id of &#8220;centerbutton&#8221;. We then need to create an unordered list that we give a class of &#8220;circles&#8221;. With each list item representing a circlular sub menu item. Within each list item we add a span with a class that related to what the menu item is. These spans are just so that we can store the image for them items. That&#8217;s basically all there is to the markup. Simple!</p>
<pre>&lt;div id="menu"&gt;

	&lt;a id="centerbutton" href="" title=""&gt;+&lt;/a&gt;

	&lt;ul class="circles"&gt;
		&lt;li&gt;&lt;a href="" title=""&gt;&lt;span class="camera"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="" title=""&gt;&lt;span class="location"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="" title=""&gt;&lt;span class="music"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="" title=""&gt;&lt;span class="chat"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="" title=""&gt;&lt;span class="moon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;

&lt;/div&gt;</pre>
<h2>The CSS</h2>
<blockquote><p>I&#8217;ve chosen to only display the -webkit prefix for the tutorial below but you can download the source code which contains the other vendor prefixes.</p></blockquote>
<p>The CSS is a little bit more than the HTML markup but is still nothing to be afraid of. Firstly we give the #container some position styling. This just centers it nicely in the middle of the screen.</p>
<pre>#container {
	width: 500px;
	height: 500px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -250px;
	margin-top: -250px;
}</pre>
<p>Next we create the styling for our main button. By setting the width and height to 66px and creating the border-radius at 37px we are able to create a nice rounded circular shape using CSS. Usually you would do it half of the width but in this case we need to take into consideration the 4px white border that we add to it. We have then again positioned it in the center both top and bottom. We then need to add a gradient with a sudden stop. To create your own CSS3 gradients easily you can use this <a href="http://css3generator.com/" target="_blank">CSS3 generator</a>. After this we position the text in the center of the button. In this case the text is the &#8216;x&#8217; that we have used in our HTML markup that will act as a close or open button. Finally we add a CSS3 transition so that the button can be animated.</p>
<pre>#centerbutton {
	display: block;
	width: 66px;
	height: 66px;
	border-radius: 37px;
	background: rgb(213,46,23); /* Old browsers */
background: -webkit-linear-gradient(top, rgba(213,46,23,1) 50%, rgba(230,79,49,1) 50%);
position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -50px;
	margin-top: -50px;
	color: white;
	text-decoration: none;
	text-align: center;
	line-height: 56px;
	font-size: 63px;
	font-weight: bold;
	z-index: 100;
	border: 4px solid white;
	-webkit-box-shadow: 0px 0px 3px 3px rgba(0,0,0,.3);
	-webkit-transition: all .1s ease-in-out;

}</pre>
<p>We also need to add a little bit of extra code to make the line-height of the &#8216;+&#8217; play correctly in Firefox.</p>
<pre>@-moz-document url-prefix() {
    #centerbutton  {
        line-height:65px;
    }
}</pre>
<p>The next two steps are to create some different states for the #centerbutton. The first one is to rotate it by &#8216;-45deg&#8217; so that it will rotate from &#8216;+&#8217; to an &#8216;x&#8217; when we click on it. We will add this &#8216;click&#8217; action later using Jquery. We also add an active state that is scaled up to &#8217;1.3&#8242; its original size. This will make the button larger.</p>
<pre>#centerbutton.centerbuttonon {
	-webkit-transform: rotate(-45deg);
}

#centerbutton:active {
	-webkit-transform: scale(1.3);

}</pre>
<p>Now we have the main button complete. Its time to move onto the sub category navigation holders. We start by positioning the container &#8216;.circles&#8217;. Once this has done we now need to create the list items. The way these will work is by creating each list item to be 200px tall and 50px width. Inside these &#8216;li&#8217; containers will sit the anchor tag that will act as our circle. The reason we create the list items like this is so that once we have created all 5 of them we can rotate each one by a certain amount of degrees so that they all flow round in the quarter circle equally. The illustration Below demonstrates this.</p>
<div class="tutimage"><img class="alignnone size-full wp-image-818" title="path-menu-ccs3-jquery" src="http://www.aaronlumsden.com/wp-content/uploads/2012/09/path-menu-ccs3-jquery.png" alt="" width="400"  /><br />
Each &#8216;li&#8217; item contains the circle and is rotated using CSS3 transforms to allow the mini circles to form a perfect quarter circle.</div>
<pre>.circles {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -208px;
	margin-left: -47px;
}
.circles li {
	position: absolute;
	width: 50px;
	height: 200px;
	display: inline-block;
	-webkit-transform-origin: 40px 200px;
	position: absolute;
}
.circles li a.out:hover {
	-webkit-transform: scale(1.5) rotate(-30deg);
}</pre>
<h2>Creating the sub Navigation Circles</h2>
<p>The actual circle&#8217;s are created in a similar way to the main button but they&#8217;re just a little smaller. We also add a class of &#8216;out&#8217; which will become active for when the main button has been pressed. This will be added later using Jquery. This just rotates the circles to give them a spin effect and adds a drop shadow.</p>
<pre>.circles li a {
	background-color: #44403d;
	width: 50px;
	height: 50px;
	border-radius: 29px;
	display: block;
	position: absolute;
	-webkit-transition: all .3s cubic-bezier(.36,.88,.26,1.26);
	color: white;
	line-height: 50px;
	text-align: center;
	bottom: -30px;
	text-decoration: none;
	border: 4px solid white;
}
.circles li a.out {
	bottom: 200px;
	-webkit-transform: rotate(360deg);
	-webkit-box-shadow: 0px 0px 3px 3px rgba(0,0,0,.3);

}</pre>
<p>We now rotate each link holder so that it gives each containing anchor circle its position when the mini circles have all popped out. Each container is rotated by 22deg from the previous list item.</p>
<pre>.circles li:nth-child(1) {
	position: absolute;
	top: 0px;
	left: 0px;
	-webkit-transform: rotate(0deg);
}
.circles li:nth-child(2) {
	position: absolute;
	top: 0px;
	left: 0px;
	-webkit-transform: rotate(22deg);
}
.circles li:nth-child(3) {
	position: absolute;
	top: 0px;
	left: 0px;
	-webkit-transform: rotate(44deg);
}
.circles li:nth-child(4) {
	position: absolute;
	top: 0px;
	left: 0px;
	-webkit-transform: rotate(66deg);
}
.circles li:nth-child(5) {
	position: absolute;
	top: 0px;
	left: 0px;
	-webkit-transform: rotate(90deg);

}</pre>
<p>To give even more spring to our animation, we add a little delay to each of the circles so that they all pop out sequentially.</p>
<pre>.circles li:nth-child(1) a {
	-webkit-transition-delay: .30s;

}

.circles li:nth-child(2) a {
	-webkit-transition-delay: .25s;

}

.circles li:nth-child(3) a {
	-webkit-transition-delay: .20s;

}

.circles li:nth-child(4) a {
	-webkit-transition-delay: .15s;

}

.circles li:nth-child(5) a {
	-webkit-transition-delay: .10s;

}

.circles li:nth-child(6) a {
	-webkit-transition-delay: .05s;
}</pre>
<p>We&#8217;re almost done with the CSS but before we&#8217;re finished its time to add the icons to each circle. We do this using a sprite image that I created using <a href="http://spritepad.wearekiss.com/invite/TWpBNE5BPT0" target="_blank">spritepad</a>. This is a great little tool for making sprites easily. We also add a little but of rotation so that each item sits correctly when it is popped out.</p>
<pre>.camera,.chat,.location,.moon,.music {
	background-image: url(../images/sprites.png);
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -11px;
	margin-left: -11px;
}

.camera {
	background-position: 0 0;
	width: 22px;
	height: 22px;
}

.location {
	background-position: -27px 0;
	width: 22px;
	height: 22px;
	-webkit-transform: rotate(-20deg);
}

.music {
	background-position: -53px 0;
	width: 22px;
	height: 22px;
	-webkit-transform: rotate(-40deg);
}

.chat {
	background-position: -80px 0;
	width: 22px;
	height: 22px;
	-webkit-transform: rotate(-70deg);
}

.moon {
	background-position: -107px 0;
	width: 22px;
	height: 22px;
	-webkit-transform: rotate(-80deg);
}</pre>
<h2>The Jquery</h2>
<p>The jquery is super simple as well. We create the document ready function and then on click of the main button we toggle the class &#8216;.out&#8217; onto the circle anchor tags and also toggle the class on the &#8216;#centerbutton&#8217; to &#8216;.centerbuttonon&#8217;. This allows the main button to rotate from the &#8216;+&#8217; position to the &#8216;x&#8217; position.</p>
<pre>jQuery(document).ready(function($) {
	$('#centerbutton').click(function(e) {
		e.preventDefault();
		$('.circles li a').toggleClass('out');
		$(this).toggleClass('centerbuttonon');
	});;
});</pre>
<h2>Wrapping it up</h2>
<p>We&#8217;re now complete, we have now recreated the Path menu using CSS3 &amp; jquery. You can add more bounce to the animation by using the CSS3 transition property &#8216;cubic-bezier&#8217;, although this isn&#8217;t supported by all modern browsers. This allows us to control our own easing effect. We just need to replace the &#8216;ease-in-out&#8217; effect on &#8216;.circles li a&#8217; with the one below.</p>
<pre>	
-webkit-transition: all .3s cubic-bezier(.36,.88,.26,1.26);
	-moz-transition: all .3s cubic-bezier(.36,.88,.26,1.26);
	-o-transition: all .3s cubic-bezier(.36,.88,.26,1.26);
	-ms-transition: all .3s cubic-bezier(.36,.88,.26,1.26);
	transition: all .3s cubic-bezier(.36,.88,.26,1.26);</pre>
<p>Have you tried using this effect or similar on any navigation items. Let me know if you have before or let me know if you get stuck and I&#8217;ll be happy to help!</p>
<p>The post <a href="http://www.aaronlumsden.com/articles/recreate-paths-ios-style-navigation-using-html-css3-jquery/">Recreate Path&#8217;s IOS Style Navigation Using HTML, CSS3 &#038; Jquery</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/articles/recreate-paths-ios-style-navigation-using-html-css3-jquery/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Recreate Paths Ios Style Menu Using HTML, CSS3 and Jquery Demo</title>
		<link>http://www.aaronlumsden.com/demos/recreate-paths-ios-style-menu-using-html-css3-and-jquery-demo/</link>
		<comments>http://www.aaronlumsden.com/demos/recreate-paths-ios-style-menu-using-html-css3-and-jquery-demo/#comments</comments>
		<pubDate>Thu, 20 Sep 2012 14:15:49 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[demos]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=823</guid>
		<description><![CDATA[<p></p><p>The post <a href="http://www.aaronlumsden.com/demos/recreate-paths-ios-style-menu-using-html-css3-and-jquery-demo/">Recreate Paths Ios Style Menu Using HTML, CSS3 and Jquery Demo</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p></p><p>The post <a href="http://www.aaronlumsden.com/demos/recreate-paths-ios-style-menu-using-html-css3-and-jquery-demo/">Recreate Paths Ios Style Menu Using HTML, CSS3 and Jquery Demo</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/demos/recreate-paths-ios-style-menu-using-html-css3-and-jquery-demo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>7 HTML5 Features That You May Not Know About</title>
		<link>http://www.aaronlumsden.com/articles/7-html5-features-that-you-may-not-know-about/</link>
		<comments>http://www.aaronlumsden.com/articles/7-html5-features-that-you-may-not-know-about/#comments</comments>
		<pubDate>Sat, 15 Sep 2012 11:40:40 +0000</pubDate>
		<dc:creator>Aaron lumsden</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[billappp]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://www.aaronlumsden.com/?p=749</guid>
		<description><![CDATA[<p>HTML5 has been a hot topic recently. Although its been around for a while now, I still find myself coming across features that I didn&#8217;t know about. Here&#8217;s a few that I thought I&#8217;d share with you. HTML5 image by Matthias Kampitsch To check what browsers support these following features visit When can i use. [...]</p><p>The post <a href="http://www.aaronlumsden.com/articles/7-html5-features-that-you-may-not-know-about/">7 HTML5 Features That You May Not Know About</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>HTML5 has been a hot topic recently. Although its been around for a while now, I still find myself coming across features that I didn&#8217;t know about. Here&#8217;s a few that I thought I&#8217;d share with you.</p>
<p><span id="more-749"></span></p>
<div class="tutimage">
<img src="http://www.aaronlumsden.com/wp-content/uploads/2012/09/html5.jpeg" alt="" title="html5" width="400"  class="alignnone size-full wp-image-802" /><br />HTML5 image by <a href="http://starflower.at/" target="_blank">Matthias Kampitsch</a>
</div>
<p>To check what browsers support these following features visit <a href="http://caniuse.com/" target="_blank">When can i use</a>.</p>
<h2>HTML5 autofocus Attribute</h2>
<p>The autofocus attribute let&#8217;s you automatically focus on an input, button or textarea as soon as the page has loaded. Previously I&#8217;ve had to refer to using javascript to implement such solutions. Autofocus is a great way to provide a good user experience as it is saving the user having to click on an input.</p>
<pre>
&#60;input autofocus="autofocus" /&#62;
</pre>
<h2>HTML5 download Attribute</h2>
<p>The HTML5 download attribute allows developers to force a file to download rather than go to that specific page. No longer do we have to rely on server side coding to force the file to download. This can be great for web apps. In the href you add the location for the file that you want to download. In the download attribute you specify what you want the name of the file to be called, so in the example below the name of the download file would be called &#8220;MyPDFReport.pdf&#8221;. </p>
<pre>
&#60;a href="my.pdf" download="MyPDFReport"&#62;Download PDF&#60;/a&#62;
</pre>
<h2>HTML5 Link Prefetching</h2>
<p>Prefetching allows the browser to download another page or asset in the background. This can be great for paginated pages. For example whilst you are on page 1 you would &#8216;link prefetch&#8217; the 2nd page of the paginated pages. This would result in page 2 loading almost instantly as it has already been preloaded. It can also be used on other assets such as images making it great for things like image sliders or implementing a photo album somewhat similar to how Facebook photo browsing works. It proves to be more responsive and therefore creating a smoother user experience.</p>
<p>Here&#8217;s the code for it.</p>
<pre>
&#60;link rel="prefetch" href="http://www.aaronlumsden.com/page2"&#62;
</pre>
<h2>HTML5 hidden element</h2>
<p>The hidden attribute works in a similar way to CSS &#8216;display:none&#8217;. It basically hides an element. It can be described as:</p>
<blockquote><p>&#8220;The hidden attribute can also be used to keep a user from seeing an element until some other condition has been met (like selecting a checkbox, etc.). Then, JavaScript could remove the hidden attribute, and make the element visible.&#8221;</p></blockquote>
<pre>&#60;div  hidden="hidden"&#62; &#60;/div&#62;</pre>
<h2>HTML5 Spellcheck</h2>
<p>The spellcheck attribute works on any input (apart from passwords), textarea&#8217;s and editable content divs. It determines whether the browser should spellcheck the text that it contains.</p>
<pre>
&#60;input type="text" spellcheck="true|false"&#62;
</pre>
<h2>HTML5 Datalist Element</h2>
<p>This is a nice little welcome addition to our web development toolkit. The HTML5 datalist element behaves much like an auto suggest input. Prior to the introduction of the &#8216;datalist&#8217; element we had to rely on a combination of javascript and server side coding to talk to our database to pull in the suggestions. This element does a way with all that.</p>
<pre>
&#60;form action="form.php" method="get"&#62;

&#60;input list="mylist" name="mylist" &#62;
&#60;datalist id="mylist"&#62;
  &#60;option value="CSS"&#62;
  &#60;option value="HTML"&#62;
  &#60;option value="PHP"&#62;
  &#60;option value="Jquery"&#62;
  &#60;option value="Wordpress"&#62;
&#60;/datalist&#62;
&#60;input type="submit" /&#62;

&#60;/form&#62;
</pre>
<h2>HTML5 output Element</h2>
<p>The output element acts like an input field except it doesn&#8217;t accept any data input. It is good for apps such as a calculator where the output element would be used for the sum result of the calculations. It will be handy for any type of mortgage calculator, loan repayments, or tax rates calc.  I will be using this when I do some updates to my invoicing app <a href="http://www.billappp.com" target="_blank">billappp</a> as at the moment I&#8217;m just using some spans. The official definition for the output element is:</p>
<blockquote><p>&#8220;The output element represents the result of a calculation.&#8221;</p></blockquote>
<p>Here&#8217;s how we define an output element:</p>
<pre>&#60;output name="output"&#62;&#60;/output&#62;
</pre>
<p>What do you hink to these elements. Will they save you time? Have you tried any of them out yet or is there any other elements that you like that I&#8217;ve not mentioned? Let me know your thoughts in the comments below.</p>
<p>The post <a href="http://www.aaronlumsden.com/articles/7-html5-features-that-you-may-not-know-about/">7 HTML5 Features That You May Not Know About</a> appeared first on <a href="http://www.aaronlumsden.com">Aaron Lumsden | Aaronlumsden.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aaronlumsden.com/articles/7-html5-features-that-you-may-not-know-about/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 2.176 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-05-16 15:32:50 -->

<!-- Compression = gzip -->