<?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>Jack Osborne — Freelance Web Designer Glasgow</title>
	
	<link>http://jackosborne.com</link>
	<description>West of Scotland standards based freelance web designer</description>
	<lastBuildDate>Mon, 04 Mar 2013 03:36:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jackosbornecouk" /><feedburner:info uri="jackosbornecouk" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>jackosbornecouk</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Fade To Save</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/DAKcbhimLWo/</link>
		<comments>http://jackosborne.com/articles/fade-to-save/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 17:21:27 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3928</guid>
		<description><![CDATA[Although this technique has been around for quite some time I've started to see it cropping up in a lot of websites.]]></description>
				<content:encoded><![CDATA[<p>Although this technique has been around for quite some time I&#8217;ve started to see it cropping up in a lot of websites.</p>
<p>The technique I am referring to is when a user saves a particular piece of information and the area turns yellow and fades out to its regular colour, indicating that that particular portion of content has been saved/updated. You might have seen this on sites such as; Facebook, Google, Basecamp and WordPress blogs. To be honest, it&#8217;s just about everywhere.</p>
<p>37 signals first brought it to peoples attention back in 2003 with this <a href="http://37signals.com/svn/archives/000558.php">following blog post</a>. Wow, 2003! I&#8217;m writing about a technique that has been easily achievable for ten years&#8230; However, this was done with <code>JavaScript</code> and I wanted to see if I could recreate it with only <code>HTML</code> and <code>CSS</code>.</p>
<p>To make it something which is easily recognisable I decided to base my example on one of Facebooks comment modules. Have a look at the <a href="http://jackosborne.com/demos/2013/fade/">demo</a> and see what you think. Unfortunately because the form is hooked up to the div, when you click the button the hash gets appended to the URL. This means that you can only see the background colour of the div change once, until the page gets refreshed again.</p>
<p>Currently I can&#8217;t see a way round this problem without the use of some prevent default magic by JavaScript. If you know of a solution to this problem, please feel free to email me and I&#8217;ll add your solution into this post and update the example.</p>
<hr />
<p><strong>Update 03/03/2013:</strong> <a href="https://twitter.com/joplomacedo">Joao Paulo</a> got in touch with me to offering up two solutions:</p>
<ul>
<li><strong>Example One</strong>: <a href="http://jsfiddle.net/dtdc5/2/">A hack with two buttons</a>.</li>
<li><strong>Example Two</strong>: <a href="http://jsfiddle.net/joplomacedo/JJwsf/2/">One button, a label, a checkbox and a few span elements inside the label</a>.</li>
</ul>
<p>Both examples should hopefully be self explanatory but Joao points out that his second example might throw up a few issues</p>
<blockquote><p>It works good, except for a few seconds &#8211; the  time you gave the animation &#8211; after the page loads. Before that time period ends, you aren&#8217;t able to see the animation when you click the &#8220;save&#8221; button.</p>
<p>This is because I&#8217;m putting a cover in front of the animated background during the unwanted animation that happens on each page refresh. Only after it finishes do I remove the cover. Since the cover is there for the first few seconds after a page refresh, you won&#8217;t be able to see the animation if you click the save button during that time.</p>
<p>This usually won&#8217;t be a problem since an user won&#8217;t probably click the save button during the first seconds on a page, but it might happen. Even though, and even if there were another way to stop the animation from happening that first time (with pure css), I would go with the &#8220;two buttons&#8221; solution. This one is just a little too tricky. It might end up interfering with other parts of your css.</p>
</blockquote>
<p>If you have any other solutions, I&#8217;d love to hear them.</p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/DAKcbhimLWo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/fade-to-save/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/fade-to-save/</feedburner:origLink></item>
		<item>
		<title>Resolutions for 2013</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/tZlGKerujRo/</link>
		<comments>http://jackosborne.com/articles/resolutions-for-2013/#comments</comments>
		<pubDate>Mon, 31 Dec 2012 17:59:27 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[jackosborne]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=4090</guid>
		<description><![CDATA[It's 4pm on New Years eve and I've just realised that I've forgot to write my annual review/resolutions. So, I'm just going to start writing franticly with little or no plan and see where it takes me.]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s 4pm on New Years eve and I&#8217;ve just realised that I&#8217;ve forgot to write my annual review/resolutions. So, I&#8217;m just going to start writing franticly with little or no plan and see where it takes me.</p>
<p>If it turns out a horrible mess, I&#8217;ll publish it anyway and edit when I have the time.</p>
<h2>A round up of 2012</h2>
<p>In <a href="http://jackosborne.com/articles/resolutions-for-2012/">last years resolution post</a> I decided that I wasn&#8217;t setting any goals for myself, I just wanted to be happy and enjoy myself. If I&#8217;m being honest that was a bit of a cop out because I was scared of making a list and not achieving everything on it. However, as it turned out 2012 was an absolutely amazing year for me, probably my best, both professionally and personally.</p>
<p>Two thousand and twelve kicked off in amazing style as I attended the wedding of <a href="http://twitter.com/drbparsons">David</a> and <a href="http://twitter.com/Andibunny">Andria</a> Parsons in Dublin, where I was surrounded by a group of people I&#8217;m proud to call my friends. Spending New Years away from my family and friends from home was admittedly a little weird but I wouldn&#8217;t change any of it. And it tee&#8217;d the year up nicely because it set the tone of &#8220;do the unexpected&#8221;.</p>
<p>After the wedding, January saw me returning to Nottingham for the second New Adventures. February brought in my birthday where I turned twenty five and March saw me fly out to San Francisco for something which can only be described as a whirlwind trip. It helped open my eyes to what I wanted to do with my life, what I needed to do to get there and how much I still have to learn.</p>
<p>Apart from <a href="http://twitter.com/xz">Roberts</a> stag, April was a bit of a nonevent but sometimes you just have to get your head down and work. And May saw me jet out to Munich with my Dad to witness Chelsea winning the Champions League. I&#8217;ll never forget those three days.<img src="http://www.firstpost.com/wp-content/uploads/2012/05/1Chelsea_WIN_GettyImages.jpg" /></p>
<p>After May, everything moved up a gear and I can&#8217;t believe it&#8217;s nearly January once more. June saw me fly out to New York for an interview at Foursquare, then visit my Aunt in Jacksonville, Florida who I hadn&#8217;t seen in nearly eight years. </p>
<p>&#60;lovesickpuppy&#62;The week after my arrival home saw me somehow snag a date with a girl I&#8217;ve always liked, but was always too scared to talk to, even at the age of twenty; who says these things get easier with age.&#60;/lovesickpuppy&#62;. The fact we&#8217;ve done so much since then and the fact she came half way around the world to visit me makes me wonder why I didn&#8217;t just go up and say something to her years ago. But it is what it is, and we&#8217;ve got a lot of lost time to make up for. <em>You</em> are easily the highlight of my year.</p>
<p>The next week saw me accept a position within Foursquare and plan the next stage of my life. If I&#8217;m being honest, I never expected myself to be in this position at this stage of my career. It&#8217;s a job where I&#8217;m continually having to think about what I&#8217;m doing, as I&#8217;m working with an exceptionally talented bunch of people and one where I&#8217;m left counting my blessing every day. I&#8217;ll never take this phase of my life for granted, it&#8217;s something so very few people will get to experience and one which I&#8217;m going to cherish forever.</p>
<p>July and August saw me wrapping up my old job and trying to figure out the plans and things I&#8217;d need for my first three month stint in New York. In all honesty, I probably underestimated a lot of things I needed to do before leaving which didn&#8217;t really help me when it came to moving out there. But I&#8217;ve never really been one for planning and more the type of person who will just jump in at the deep end.</p>
<p>There&#8217;s no way I can fit New York into one article, it&#8217;s just incredible. Althought it can be an exceptionally lonely place when you&#8217;re out there on your own everything about it was more than I ever expected and I&#8217;m lucky I got to meet and share it with so many people. Experiencing and living right in the middle of Hurricane Sandy is something I&#8217;ll never forget, nor will my co-workers (sorry everyone, I&#8217;m still super embarrassed about that!)<img src="http://www.highsnobiety.com/files/2012/11/new-york-magazine-sandy-cover-0.jpg" /></p>
<p>November saw me return home from New York and immediately fly out to what I refer to as my second home, for the third time that year, Belfast. Every year I seem to count down to November for Build and I&#8217;ll be bitterly disappointed when it comes to it&#8217;s conclusion in 2013.</p>
<p>December has seen me continue working remotely, seeing my friends and realise just how lucky I am.</p>
<h2>Resolutions for 2013</h2>
<p>If you hadn&#8217;t already guessed from reading this post, I won&#8217;t be making any plans for this coming year. Last year was so incredible, a large part of me truely believes that even if I complete everything I set out for myself I wouldn&#8217;t be able to come close to bettering this one. So, all I will say is that I&#8217;ll continue to keep doing what I&#8217;m doing and see where it takes me.</p>
<p>I hope everyone gets what they are looking for in 2013.</p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/tZlGKerujRo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/resolutions-for-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/resolutions-for-2013/</feedburner:origLink></item>
		<item>
		<title>-webkit-box-reflect</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/mMPb8MLWUIc/</link>
		<comments>http://jackosborne.com/articles/webkit-box-reflect/#comments</comments>
		<pubDate>Wed, 03 Oct 2012 23:30:04 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3941</guid>
		<description><![CDATA[The Apple website is synonymous for its use of reflections. Go on any page and you will see at least one instance of this effect on the page, it could be on product or a simple module box, it is everywhere. There is no escaping it.]]></description>
				<content:encoded><![CDATA[<p>The Apple website is synonymous for its use of reflections. Go on any page and you will see at least one instance of this effect on the page, it could be on product or a simple module box, it is everywhere. There is no escaping it.</p>
<p>A few months ago&#8212;yes this has been sitting as a draft for quite some time&#8212;whilst scanning through Twitter, I noticed that someone had posted a link to the Path website, as they had been rolling out a few subtle improvements and upon clicking the link I immediately noticed the &#8220;Apple reflection&#8221; being used on certain elements. Intrigued to see how they created this I fired up my console and discovered, to my amazement, that it was actually <code>CSS</code> which was being used.</p>
<figure>
<a href="https://path.com/p/2xS4MB"><img src="http://jackosborne.com/wp-content/uploads/2012/07/webkit-box-reflect.png" alt="Click to view the effect" title="webkit-box-reflect" width="445" height="484" class="alignnone size-full wp-image-3947" /></a></p>
<figcaption>Path using something similar to Apples coverflow.</figcaption>
</figure>
<p>Below is the exact code which, at the time of writing, they are using to achieve this technique.</p>
<pre><code>.moments_book .book-artwork {
  -webkit-box-reflect: below 1px -webkit-gradient(linear,left top,left bottom,from(transparent),color-stop(50%,transparent),to(rgba(255,255,255,0.5)));
  text-align: center;
  margin-top: 53px;
  margin-bottom: 64px;
}</code></pre>
<p>The above code is all fairly self explanatory with the exception of perhaps the top attribute <code>-webkit-box-reflect</code>. If we break it down it, here is what is happening; </p>
<p><code>-webkit-box-reflect: &#60;direction&#62; &#60;offset&#62; &#60;mask-box-image&#62;</code>.</p>
<dl>
<dd><code>&#60;direction&#62;</code></dd>
<dt>The direction in which you would like the reflection to appear. As you might expect, it can be stipulated as above, below, left or right.</dt>
<dd><code>&#60;offset&#62;</code></dd>
<dt>Is a length or percentage which specifies the distance of the reflection from the edge of the element, in the direction which you would like the reflection to appear.</dt>
<dd><code>&#60;mask-box-image&#62;</code></dd>
<dt>A mask-box-image that can be used to overlay the reflection. If omitted, the reflection has no mask.</dt>
</dl>
<p>It&#8217;s probably worth noting that CSS reflections are nothing new, in fact here is an article on the Surfin&#8217; Safari blog, from <a href="http://www.webkit.org/blog/182/css-reflections/">2008</a>, which I stumbled across when researching this topic. </p>
<p>It is interesting that reflections haven&#8217;t seen as large an uptake as other attributes like <code>border-radius</code> have. One thing is for sure though, <code>box-reflect</code> looks like an amazing feature which will undoubtedly make our jobs a lot easier in the future. Unofrtunately one can only guess as to how long it will take before it is rolled out into the the working draft.</p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/mMPb8MLWUIc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/webkit-box-reflect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/webkit-box-reflect/</feedburner:origLink></item>
		<item>
		<title>Heston Blumenthal</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/ML53dsaonNA/</link>
		<comments>http://jackosborne.com/articles/heston-blumenthal/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 19:44:22 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[quotes-1]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[quotes]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3906</guid>
		<description><![CDATA[<blockquote>
<p>The benefit of being self-taught was that I thought everything and anything was possible. I didn't know reasons why things couldn't be done. But I wouldn't recommend it to everybody. I think it's really important to get a sound understanding of classical cooking, really important. You need to know how to bone a chicken, how to fillet a fish, or make a soufflé. If you don't get training you need to discover it yourself [...]
</blockquote>]]></description>
				<content:encoded><![CDATA[<blockquote>
<p>The benefit of being self-taught was that I thought everything and anything was possible. I didn&#8217;t know reasons why things couldn&#8217;t be done. But I wouldn&#8217;t recommend it to everybody. I think it&#8217;s really important to get a sound understanding of classical cooking, really important. You need to know how to bone a chicken, how to fillet a fish, or make a soufflé. If you don&#8217;t get training you need to discover it yourself.<br />
<br />
I taught myself the classics over the years. I wouldn&#8217;t have done it any other way although it made my life really difficult. Had I gone through classical training when I opened the Fat Duck I would have been a lot more organised. I wouldn&#8217;t have gone through the first five years, which were so hard. But at the same time I would have been more blinkered.</p>
<footer>— <cite><a href="http://www.babusinesslife.com/People/What-Ive-Learned/What-Ive-learnt-Heston-Blumenthal.html">Heston Blumenthal speaking to Jane Dunford of British Airways Business Life magazine</a></cite></footer>
</blockquote>
<p>Sound familiar?</p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/ML53dsaonNA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/heston-blumenthal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/heston-blumenthal/</feedburner:origLink></item>
		<item>
		<title>Spindicator</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/JiJZbIkRVC0/</link>
		<comments>http://jackosborne.com/articles/spindicator/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 00:27:49 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3878</guid>
		<description><![CDATA[<blockquote>
<strong><em>spin&#8226;di&#8226;ca&#8226;tor</em></strong><br />
<strong>noun</strong><br />
<p>A loading animation which allows the user to see how much longer they have to wait before progressing to the next stage.</p>
</blockquote>]]></description>
				<content:encoded><![CDATA[<blockquote><p>
<strong><em>spin&#8226;di&#8226;ca&#8226;tor</em></strong><br />
<strong>noun</strong></p>
<p>A loading animation which allows the user to see how much longer they have to wait before progressing to the next stage.</p>
</blockquote>
<p>Last week I was tasked with creating a loading animation created entirely in <code>HTML</code> and <code>CSS</code> but unfortunately my first attempt didn&#8217;t quite go to plan and I ended up leaving it incomplete. However, not to be beaten I decided to go back and rework my code.</p>
<p>These <code>CSS</code> loading animations are nothing new, I remember seeing my first one back in 2010, but it doesn&#8217;t hurt to test yourself by creating these sorts of things.</p>
<h3>Here&#8217;s a quick rundown:</h3>
<ul>
<li>Set up your containing <code>div</code> and <code>span</code>s within as child elements.</li>
<li>Target each <code>span</code> using <code>nth-of-type</code> to rotate, translate and animate.</li>
<li>Define and apply <code>keyframe</code>s to animate the <code>span</code>s</li>
</ul>
<p>If you&#8217;re interested in seeing the final result then feel free to check out my demo but please make sure you are using a modern browser.</p>
<p><a href="http://jackosborne.com/demos/2012/spindicator">spindicator demo.</a></p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/JiJZbIkRVC0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/spindicator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/spindicator/</feedburner:origLink></item>
		<item>
		<title>Using Media Queries to check your designs in the browser</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/C8iQLt38ASk/</link>
		<comments>http://jackosborne.com/articles/using-media-queries-to-check-your-designs-in-the-browser/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 15:08:25 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3735</guid>
		<description><![CDATA[A company I used to work for were extremely anal when it came to creating websites that rendered the same across browsers. And as we all know, this can be an extremely painful process.]]></description>
				<content:encoded><![CDATA[<p>A company I used to work for were extremely anal when it came to creating websites that rendered the same across browsers. And as we all know, this can be an extremely painful process.</p>
<p>However, I&#8217;m not here to write about that, because we all know that is <a href="http://dowebsitesneedtolookexactlythesameineverybrowser.com/" title="Do websites need to look exactly the same in every browser?">nonsense</a>. What I&#8217;m going to write about is the process that I used to undertake in order to compare my coded design to that of the visual and the steps that I used to take before I started to code. </p>
<p>Before I typed in that opening line of <code>&#60;div id="wrapper"&#62;</code> into my framework, I would insert something akin to</p>
<pre><code>&#60;div id="mock"&#62;
&#60;img src="mock-up.png" /&#62;
&#60;/div&#62;</code></pre>
<p>This <code>div</code> would then be positioned absolutely, with a <code>z-index</code> and a set with a level of opacity. The reason I set the div/image to be slightly transparent was to allow me to see if my code was going off course or if it was remaining similar to that of the <code>.jpg</code>/<code>.png</code>.</p>
<p>Setting up this div with an image didn&#8217;t take very long but it became somewhat tedious having to do it for every page within that project, not to mention for every single project. And it became ever more irksome when you had to go back through the code and remove them all when you had signed off the project with the client.</p>
<p>This weekend, before I started work on a new project, I downloaded my framework and I was about to stick in my usual code snippet. However, having recently returned from New Adventures with the mantra of &#8220;try new things and if it doesn&#8217;t work, who cares&#8221; stuck in my head, I decided to opt for a different route. </p>
<p>I think it&#8217;s safe to say that 2011 was the year of the media query, you couldn&#8217;t escape from it. Everyone seemed to be writing about it but everyone seemed to be writing about the same thing. Of late, I had been wondering what else was achievable and decided to see if it was possible to take this technology and somehow integrate it into my old process.</p>
<p>In essence what I&#8217;m about to show you isn&#8217;t a million miles away from what I outlined right at the start, it&#8217;s just a method which tidies everything up, keeps everything together and is much more manageable.</p>
<pre><code>@media screen and (max-width: 1200px) {	
	#wrapper {opacity: 0.4;}
	body {background: url('mock-up.png') no-repeat center top;}	
}</code></pre>
<p>For this media query I&#8217;ve set the <code>max-width</code> of the viewport to be somewhat of a standard size for many laptops/desktop machines, however you can tweak this value if you are on a machine with a smaller viewport.</p>
<p>The above code above will basically render the image to an opacity of 0.4 within the <code>#wrapper</code> tag when you pull the viewport to a size smaller than 1200px but if you resize the browser to a width greater than 1200px it will simply disappear.</p>
<p>The nice thing about this code, is that you can turn the background image on and off as you please by simply resizing the viewport. Hurrah! No need to comment out specific bits of <code>html</code>. And to delete it completely, you just have to remove that one line from your <code>CSS</code> file, you no longer have to delve into every template and remove the code I mentioned at the start.</p>
<p>Another nice touch regarding this method is that because it&#8217;s being controlled by <code>CSS</code> you can also switch different visual mock-ups, for different pages</p>
<pre><code>@media screen and (max-width: 1200px) {	
	#wrapper {opacity: 0.4;}
	body#about {background: url('about-mock-up.png') no-repeat center top;}	
}</code></pre>
<p>And different designs for different viewports</p>
<pre><code>@media screen and (max-width: 320px) {	
	#wrapper {opacity: 0.4;}
	body#about {background: url('about-mock-up-iphone.png') no-repeat center top;}	
}</code></pre>
<p>If you&#8217;re interested in seeing a very basic demo of what this would looks like, click on the link below. Remember, resize the browser to witness the image appear/disappear.</p>
<p><a href="http://jackosborne.com/demos/2012/media-query-previews/">Demo | Using Media Queries to check your designs in the browser</a></p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/C8iQLt38ASk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/using-media-queries-to-check-your-designs-in-the-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/using-media-queries-to-check-your-designs-in-the-browser/</feedburner:origLink></item>
		<item>
		<title>Modal Windows with HTML and CSS</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/P_U1q9vB4gk/</link>
		<comments>http://jackosborne.com/articles/modal-windows-with-html-and-css/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 20:51:53 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3476</guid>
		<description><![CDATA[Recently I was asked to implement a modal/pop-up window into a clients project. These types of interaction are nothing new and have been readily available with a little help from our good old friends <code>HTML</code>, <code>CSS</code> and <code>JavaScript</code>. ]]></description>
				<content:encoded><![CDATA[<p>Recently I was asked to implement a modal/pop-up window into a clients project. These types of interaction are nothing new and have been readily available with a little help from our good old friends <code>HTML</code>, <code>CSS</code> and <code>JavaScript</code>. </p>
<p>However, I wondered if it would be possible to create this without the use of <code>JavaScript</code>. Obviously there are plenty of packages out there such as fancybox and thickbox, so this has been created purely as an experiment and not something which should be released into the wild, due to it not working well in older browsers. It&#8217;s also worth noting that this isn&#8217;t going to be the cleanest or best implementation as it was thrown together in the space of a few hours but for a first attempt, I&#8217;m pretty happy with it.</p>
<p>The code is fairly simplistic and the all <code>CSS</code> needed for this, barring the reset, is located within the &#60;head&#62;. So open <strong>a modern browser</strong> and have a look at my take on a <a href="http://jackosborne.com/demos/2012/html-css-modal-window/index.html">modal window created with <code>HTML</code> and <code>CSS</code></a>.</p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/P_U1q9vB4gk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/modal-windows-with-html-and-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/modal-windows-with-html-and-css/</feedburner:origLink></item>
		<item>
		<title>Resolutions for 2012</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/r1V0I18pTEA/</link>
		<comments>http://jackosborne.com/articles/resolutions-for-2012/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 15:21:11 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[jackosborne]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3663</guid>
		<description><![CDATA[In what is becoming traditional for this blog, it's time to post my resolutions for the coming year. If you fancy a nosey then feel free to have a peak at my previous posts; <a href="http://jackosborne.com/articles/resolutions-for-2009/">2009</a>, <a href="http://jackosborne.com/articles/resolutions-for-2010/">2010</a> &#38; <a href="http://jackosborne.com/articles/resolutions-for-2011/">2011</a>.]]></description>
				<content:encoded><![CDATA[<p>In what is becoming traditional for this blog, it&#8217;s time to post my resolutions for the coming year. If you fancy a nosey then feel free to have a peak at my previous posts; <a href="http://jackosborne.com/articles/resolutions-for-2009/">2009</a>, <a href="http://jackosborne.com/articles/resolutions-for-2010/">2010</a> &amp; <a href="http://jackosborne.com/articles/resolutions-for-2011/">2011</a>.</p>
<p>In my resolutions post for 2011 I came to realise that setting myself a certain amount of goals was a waste of time, as no matter how many I achieved I would always beat myself up regarding the ones I hadn&#8217;t managed. Therefore I decided to set myself three fairly generic but important goals; <a href="http://jackosborne.com/articles/highland-fling-2011-review/">speak at an event</a>, stay in a job and <a href="http://jackosborne.com/articles/wee-nudge/">create a personal project</a>. Thankfully I can say that I managed all three, as well as packing in a heap of other stuff.</p>
<h2>A round-up of 2011</h2>
<p>The first two weeks of the year started with me finishing up at Hobo, which was the first job I secured after leaving University. I&#8217;d spent two and half years there and made some life long friends and mentors. Saying it was a difficult to leave would be an understatement but to progress sometimes you need to make decisions you don&#8217;t really want to. Thankfully, we still get to have beers regularly.</p>
<p>Since leaving I joined and left one company and have joined a second. I often find myself wondering if the reason I&#8217;ve never been able to settle is down to the fact that my first job might have been my best one. Who knows, the hunt continues. </p>
<p>2011 also seen me beat my conference record by taking in five; New Adventures, Design It Build It, Web Directions @media (where the HTML5 Doctors had a booth), The Highland Fling (which I spoke at) and Build. I was also lucky enough to take in a few great local meet-ups like Glasgow Refresh and standards.Next.</p>
<p>Throughout the year I have met many incredible people, people that I&#8217;m glad I&#8217;m able to call my friends. Thankfully this tradition continued right up to The Bells when I attended Andria and David Parsons wedding in the ever beautiful city of Dublin. It had been nearly four years since my last visit there and I was glad to see that it still held that certain magic that captivated me the first time. I can&#8217;t imagine a better way for my year to have ended. Surrounded by good friends, good conversation, good food and good Guinness.</p>
<h2>Resolutions for 2012</h2>
<p>If the truth be told, I&#8217;m not too sure what to do for my resolutions this year. I like the fact that I left myself fairly vague yet important goals for 2011. And I think that will be the route I take again this year. Therefore I&#8217;ll set myself the continuing task of making something useful, staying in employment, continuing to write and doing something amazing.</p>
<p>The reason I&#8217;ve done this is because I realised as you get older it&#8217;s not what you do that makes you happy, it&#8217;s the friends you make and the friends you keep. These are the things which make life enjoyable. And in 2012 I want just that.</p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/r1V0I18pTEA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/resolutions-for-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/resolutions-for-2012/</feedburner:origLink></item>
		<item>
		<title>Good, Fast, Cheap.</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/UY0F1WfrYVs/</link>
		<comments>http://jackosborne.com/articles/good-fast-cheap/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 17:05:55 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[website tips]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3531</guid>
		<description><![CDATA[A few months ago I attended a Long Lunch talk in Glasgow by Hans Wolbers, of Dutch design agency Lava. I throughly enjoyed it but haven't been able to get one of his slides out my mind. Hans said that when he goes into a meeting with a new client, one of the first things he does is show them a slide which contains three interlinked circles.]]></description>
				<content:encoded><![CDATA[<p>A few months ago I attended a Long Lunch talk in Glasgow by Hans Wolbers, of Dutch design agency Lava. I throughly enjoyed it but haven&#8217;t been able to get one of his slides out my mind. Hans said that when he goes into a meeting with a new client, one of the first things he does is show them a slide which contains three interlinked circles.</p>
<p>Within each circle is a phrase but he tells the client that they can only ever choose two of the three circles/phrases as the remaining one is always unachievable, due to their selections. The three choices are; good, fast and cheap.</p>
<p>So if the client wants their project to be good and fast it certainly won&#8217;t be cheap or if they want their project to be fast and cheap it won&#8217;t be good. I think by now, you will have got the general idea of how this works.</p>
<p>I had certainly never heard of this before but after some research it would appear that it&#8217;s been around for quite some time and is actually part of something called the <a href="http://en.wikipedia.org/wiki/Project_triangle">project triangle</a>. Regardless of this, I thought I would share it just in case some of you hadn&#8217;t heard of it either.</p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/UY0F1WfrYVs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/good-fast-cheap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/good-fast-cheap/</feedburner:origLink></item>
		<item>
		<title>Highland Fling 2011 Review</title>
		<link>http://feedproxy.google.com/~r/jackosbornecouk/~3/mgFwWHkxwdI/</link>
		<comments>http://jackosborne.com/articles/highland-fling-2011-review/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 23:17:48 +0000</pubDate>
		<dc:creator>Jack Osborne</dc:creator>
				<category><![CDATA[jackosborne]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[press]]></category>

		<guid isPermaLink="false">http://jackosborne.com/?p=3514</guid>
		<description><![CDATA[It has taken a little longer than I had anticipated but here is the download link for my session entitled &#8220;Lifting the lid on HTML5&#8221; which I presented at The Highland Fling conference in Edinburgh a few weeks ago. Preparing for a talk, especially your first, is hard. Pulling together the content took me somewhere [...]]]></description>
				<content:encoded><![CDATA[<p>It has taken a little longer than I had anticipated but here is the download link for my session entitled &#8220;<a href="http://jackosborne.com/speaking/2011/highlandfling/">Lifting the lid on <code>HTML</code>5</a>&#8221; which I presented at <a href="http://thehighlandfling.com/">The Highland Fling</a> conference in Edinburgh a few weeks ago.</p>
<p>Preparing for a talk, especially your first, is hard. Pulling together the content took me somewhere in the region of two months, whittling down my notes took somewhere in the region of two weeks and then coming up with a slide design pushed me close to the three month mark.</p>
<p>During the slide design process I realised that it would be pointless for me create this slide deck using keynote or powerpoint because I&#8217;d never really used them before and I certainly wasn&#8217;t going to try and figure it out for something as important as this. So I decided to stick to what I knew best; HTML, CSS and a little bit of JS (thanks to <a href="http://maykelloomans.com/">Maykel Loomans</a>.) Thankfully, just weeks before I&#8217;d seen Lea Verou give an amazing session at @media London, where she presented her slides using just this technique. When I arrived home I had a quick Google and realised that she had thrown the framework up on <a href="https://github.com/LeaVerou/CSSS">GitHub</a>.</p>
<p>The advantage of using an HTML framework meant that I would be able to live demo these new <code>HTML</code>5 elements and utilise things like <code>@font-face</code> and some <code>CSS</code>3. Although it is worth noting that many of these demos currently only work in Opera.</p>
<p>One major problem I came across when pulling together the content for my session was when I realised that even though I&#8217;ve attended several conferences I couldn&#8217;t recall more than one or two talks where a speaker spoke entirely about code. It became clear that when I&#8217;ve attended these conferences, the speakers I&#8217;ve been going to see were people talking about design related subjects. This is something which I will need to address.</p>
<p>In layman&#8217;s terms, and I hope I don&#8217;t offend anyone, when people speak about design related subjects the slides normally follow the same pattern; sticking up a slide with a beautiful picture and a heading which then enables the speaker to talk freely about the slide, often adding things in on an ad-hoc basis.</p>
<p>So how do you present a talk on code without ladening the slides full of code examples? Well, you can&#8217;t. Admittedly this is far from ideal but what else can you do? If anyone has a solution to my problem or has seen a talk which tackles this problem then I&#8217;d love to hear about it. Even better if there is a video online somewhere.</p>
<p>During my talk I think it was clear for all to see that I was incredibly nervous. I was in a line-up packed with leading industry professionals, professionals that everyone in the audience knew. These were people who I&#8217;ve been following for years; whether through Twitter, their blog or having seen them speak at events I&#8217;ve attended. Being third on the bill and having witnessed two stellar sessions by Steve Marshall and Rachel Andrew did little to calm my nerves. I can only hope that my nerves didn&#8217;t impact on my session too much and that the people in attendance were able to enjoy it. I have also heard that videos of the talks are due to be published, so you will all be able to have a laugh at my expense.</p>
<p>I&#8217;d also like to take this opportunity to thank everyone that came along to the event for two reasons:</p>
<p>First off, Scotland has got a great web community but we don&#8217;t have the events to back this up. If we take Northern Ireland as our base, they&#8217;ve got lots of tech meet-ups like we do but they&#8217;ve also got a conference in Belfast which people from all over the globe flock to. Why don&#8217;t we have something like this? We&#8217;re definitely capable of it. Hopefully with the return of the Fling, we&#8217;ve finally set the wheels back in motion and we can have something which the community can be proud of.</p>
<p>Secondly, I&#8217;d like to extend a massive thank you to everyone who came and listened to me. Without you, I wouldn&#8217;t have been presented with the opportunity to do something that I&#8217;ve always wanted to try. There are a lot of people out there, like me, who would like to give public speaking a try but have never been presented with the opportunity. The Highland Fling provided me with just this and if we continue to back events like this, it will enable others to do the same.</p>
<p>Onwards and upwards!</p>
<img src="http://feeds.feedburner.com/~r/jackosbornecouk/~4/mgFwWHkxwdI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jackosborne.com/articles/highland-fling-2011-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jackosborne.com/articles/highland-fling-2011-review/</feedburner:origLink></item>
	</channel>
</rss>
