<?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>AWM Creative &#187; Blog</title>
	<atom:link href="http://www.awmcreative.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.awmcreative.com</link>
	<description>The Portfolio &#38; Blog of Aaron Miller</description>
	<lastBuildDate>Wed, 01 May 2013 12:18:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Creating a Flexible Grid From Pixels to Percentages</title>
		<link>http://www.awmcreative.com/css/creating-a-flexible-grid-from-pixels-to-percentages</link>
		<comments>http://www.awmcreative.com/css/creating-a-flexible-grid-from-pixels-to-percentages#comments</comments>
		<pubDate>Tue, 30 Apr 2013 01:03:07 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Responsive Design]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=367</guid>
		<description><![CDATA[If you&#8217;re looking into making your site responsive, you&#8217;ll want to start converting your pixel based columns into percentages. Fonts should also be converted using the em unit if they are currently pixel based. Changing these units for columns and &#8230; <a href="http://www.awmcreative.com/css/creating-a-flexible-grid-from-pixels-to-percentages">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re looking into making your site responsive, you&#8217;ll want to start converting your pixel based columns into percentages. Fonts should also be converted using the <span class="highlight">em</span> unit if they are currently pixel based. Changing these units for columns and fonts will allow more flexibility with scale and readability for different screen resolutions and sizes.<br />
<span id="more-367"></span></p>
<p>Converting your units for layout flexibility is only one of the steps you&#8217;ll need to go through in order to have a responsive web design. For this article, I&#8217;ll only be focusing on the process for converting these units. Let&#8217;s get started!</p>
<h2>The Traditional Layout</h2>
<p>You&#8217;ll see below, as an example, that I have somewhat of a traditional layout. Everything is based in pixels and layed out in columns. What we want to do is convert the pixels to percentages while maintaining the same structure and dimensions. </p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/04/traditionalLayout.gif" alt="Traditional Layout" width="474" height="267" class="alignnone size-full wp-image-368" /></p>
<p>Here&#8217;s the HTML:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;page&quot;&gt;
     &lt;div class=&quot;header&quot;&gt;960px&lt;/div&gt;
     &lt;div class=&quot;content&quot;&gt;
          &lt;div class=&quot;leftColumn&quot;&gt;
               &lt;div class=&quot;middleColumn&quot;&gt;370px&lt;/div&gt;
               &lt;div class=&quot;middleColumn&quot;&gt;370px&lt;/div&gt;
          &lt;/div&gt;
          &lt;div class=&quot;rightColumn&quot;&gt;200px&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class=&quot;footer&quot;&gt;960px&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Here&#8217;s a simplified breakdown of all the container widths and margins that will need to be converted:</p>
<pre class="brush: css; title: ; notranslate">
#page {width: 960px}
.leftColumn {width: 740px;}
     .middleColumn {margin: 0 10px 0 0; width: 360px;}
.rightColumn {width: 220px;}
</pre>
<p>The <span class="highlight">header</span>, <span class="highlight">content</span>, and <span class="highlight">footer</span> classes don&#8217;t need an assigned width because they are nested within the <span class="highlight">#page</span> container, which has the set width of 960px.</p>
<h2>Conversion Formula</h2>
<p>I want my design to be centered on the page, so I&#8217;m going to guesstimate and convert 960px to 90% which will leave 5% margins on each side. Feel free to play around with the numbers, but in my case this works perfectly.</p>
<p>The conversion formula is <span class="highlight">target ÷ context = results x 100 = final results</span>. The target would be, in this case, the width of the <span class="highlight">leftColumn</span> class. You would then divide that width by the context. The context is the overall width of the parent container you are dividing by. Here&#8217;s what the numbers look like when plugged into the formula:</p>
<ul class="list">
<li>740 ÷ 960 = 0.77083333 x 100 = <strong>77.083333%</strong> width for <span class="highlight">leftColumn</span></li>
<li>220 ÷ 960 = 0.22916667 x 100 = <strong>22.916667%</strong> width for <span class="highlight">rightColumn</span></li>
</ul>
<p></p>
<p>Now we divide the <span class="highlight">middleColumn</span> width by the context/parent container, which would be the <span class="highlight">leftColumn</span> width.</p>
<ul class="list">
<li>360 ÷ 960 = 0.48648649 x 100 = <strong>48.648649%</strong> width for <span class="highlight">middleColumn</span></li>
</ul>
<p></p>
<p>There&#8217;s a little bit of math involved, but it&#8217;s not that complicated. Remember, the child container width is divided by the parent container width and then multiplied by 100 and you&#8217;re all set.</p>
<p>The conversions for margins and padding is figured out the same way.</p>
<ul class="list">
<li>10 ÷ 740 = 0.013513514 x 100 = <strong>1.3513514%</strong> right margin for <span class="highlight">middleColumn</span></li>
</ul>
<p></p>
<p>You&#8217;ll noticed that the percentages aren&#8217;t rounded. I believe it&#8217;s better to allow the browser to handle the rounding to achieve a more accurate result.</p>
<h2>Final Results</h2>
<p>Now that we have everything converted here&#8217;s what the widths and margins look like in percentages.</p>
<pre class="brush: css; title: ; notranslate">
#page {width: 90%;}
.leftColumn {width: 77.083333%;}
     .middleColumn {margin: 0 1.3513514% 0 0; width: 48.648649%;}
.rightColumn {width: 22.916667% ;}
</pre>
<p></p>
<ul class="demo">
<li><a href="http://www.awmcreative.com/demos/flexible-layout.php">View Demo</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/css/creating-a-flexible-grid-from-pixels-to-percentages/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS font-size Property Units</title>
		<link>http://www.awmcreative.com/css/css-font-size-property-units</link>
		<comments>http://www.awmcreative.com/css/css-font-size-property-units#comments</comments>
		<pubDate>Mon, 25 Mar 2013 03:00:58 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=345</guid>
		<description><![CDATA[I&#8217;m sure you&#8217;ve noticed the many font-size units used on the web. There seems to be an endless debate as to which unit is &#8220;the best,&#8221; especially between pixels and ems. My take on it depends on what type of &#8230; <a href="http://www.awmcreative.com/css/css-font-size-property-units">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m sure you&#8217;ve noticed the many <span class="highlight">font-size</span> units used on the web. There seems to be an endless debate as to which unit is &#8220;the best,&#8221; especially between pixels and ems. My take on it depends on what type of project you&#8217;re working on and what goals and requirements you have. Let&#8217;s dive in and take a look at the different <span class="highlight">font-size</span> property units.</p>
<p><span id="more-345"></span></p>
<h2>font-size Property Units</h2>
<p>To make things easy, the units are split into relative and absolute groupings.</p>
<p><strong>Relative</strong> font sizes:</p>
<ul class="list">
<li>font-size: px &ndash; <em>pixels</em></li>
<li>font-size: em &ndash; <em>measures width of a font</em></li>
<li>font-size: % &ndash; <em>percentage</em></li>
<li>font-size: ex &ndash; <em>x-height of a font</em></li>
</ul>
<p></p>
<p>Relative fonts can be resized by the browser and are recommended for screen use (computers, tablets, mobile, etc.).</p>
<p><strong>Absolute</strong> font sizes:</p>
<ul class="list">
<li>font-size: in &ndash; <em>inches</em></li>
<li>font-size: cm &ndash; <em>centimeters</em></li>
<li>font-size: mm &ndash; <em>millimeters</em></li>
<li>font-size: pt &ndash; <em>point</em></li>
<li>font-size: pc &ndash; <em>picas</em></li>
<li>font-size: xx-small, x-small, small, medium, large, x-large, xx-large</li>
</ul>
<p></p>
<p>Absolute fonts render inconsistently across platforms and can&#8217;t be re-sized by browsers or other devices. The only reason you may want to use any of these units is for printer friendly stylesheets. Other than that, it&#8217;s not recommended to use these for screen use.</p>
<p>In addition to the font sizes above, <strong>CSS3</strong> has introduce a few more: </p>
<ul class="list">
<li>font-size: rem &ndash; <em>root em</em></li>
<li>font-size: vw &ndash; <em>1/100th of the window&#8217;s width</em></li>
<li>font-size: vh &ndash; <em>1/100th of the widow&#8217;s height</em></li>
</ul>
<p></p>
<h2>Recommend Uses</h2>
<p>Here&#8217;s what the <a href="http://www.w3.org/Style/Examples/007/units.en.html" target="_blank">W3C recommends</a> for screen and print font sizes:</p>
<h4>Screen</h4>
<ul class="list">
<li>Recommended: em, px, %</li>
<li>Occasional use: ex</li>
<li>Not recommended: pt, cm, mm, in, pc</li>
</ul>
<p></p>
<h4>Print</h4>
<ul class="list">
<li>Recommended: em, cm, mm, in, pt, pc, %</li>
<li>Occasional use: px, ex</li>
<li>Not recommended: N/A</li>
</ul>
<p></p>
<p>So the rule of thumb here is to make sure you use the recommended screen font sizes for web related projects. I also recommend making your <span class="highlight">font-size</span> units consistent throughout your work, which will allow for cleaner code and easier maintenance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/css/css-font-size-property-units/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Wireframe Tools for Designers</title>
		<link>http://www.awmcreative.com/ux-design/10-wireframe-tools-for-designers</link>
		<comments>http://www.awmcreative.com/ux-design/10-wireframe-tools-for-designers#comments</comments>
		<pubDate>Tue, 19 Feb 2013 03:24:29 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[UX Design]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Wireframes]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=261</guid>
		<description><![CDATA[If you&#8217;re new to wireframes, they pretty much serve like a blueprint for a website. Wikipedia has a pretty good description: &#8220;The wireframe depicts the page layout or arrangement of the website’s content, including interface elements and navigational systems, and &#8230; <a href="http://www.awmcreative.com/ux-design/10-wireframe-tools-for-designers">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re new to wireframes, they pretty much serve like a blueprint for a website. Wikipedia has a pretty good description:</p>
<blockquote><p>
&#8220;The wireframe depicts the page layout or arrangement of the website’s content, including interface elements and navigational systems, and how they work together. The wireframe usually lacks typographic style, color, or graphics, since the main focus lies in functionality, behavior, and priority of content. In other words, it focuses on what a screen does, not what it looks like.&#8221; &ndash; <a href="http://en.wikipedia.org/wiki/Website_wireframe" title="Wikipedia" target="_blank">Wikipedia</a>
</p></blockquote>
<p>Wireframes are great for presentation and gathering feedback on a project. It&#8217;s a lot easier going through this process before the design takes shape. Stakeholders will be more focused on the content and placement of information rather than the styling.<br />
<span id="more-261"></span></p>
<ol class="numeral large">
<li>
<h2><a href="http://www.balsamiq.com/" target="_blank">balsamiq</a></h2>
<p><strong>OS</strong>: Mac &#038; PC | <a href="http://www.balsamiq.com/download" target="_blank">Download</a><br /><strong>Price</strong>: Starts at $79.00</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/1.jpg" alt="Balsamiq" width="474" height="236" class="alignnone size-full wp-image-288" /></li>
<li>
<h2 class="section"><a href="http://www.omnigroup.com/products/omnigraffle/" target="_blank">OmniGraffle</a></h2>
<p><strong>OS</strong>: Mac &amp; PC | <a href="http://www.omnigroup.com/products/omnigraffle/" target="_blank">Download</a><br /><strong>Price</strong>: Starts at $99.00</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/2.jpg" alt="OmniGraffle" width="474" height="236" class="alignnone size-full wp-image-289" /></li>
<li>
<h2 class="section"><a href="http://lovelycharts.com/" target="_blank">Lovely Charts</a></h2>
<p><strong>OS</strong>: Mac, PC &amp; Linux | <a href="http://www.lovelycharts.com/desktop" target="_blank">Download</a><br /><strong>Price</strong>: Starts at 59 British Pounds</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/3.jpg" alt="Lovely Charts" width="474" height="236" class="alignnone size-full wp-image-290" /></li>
<li>
<h2 class="section"><a href="http://pencil.evolus.vn/" target="_blank">Pencil Project</a></h2>
<p><strong>OS</strong>: Mac, PC &amp; Linux | <a href="http://pencil.evolus.vn/Downloads.html" target="_blank">Download</a><br /><strong>Price</strong>: Free</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/4.jpg" alt="Pencil Project" width="474" height="236" class="alignnone size-full wp-image-291" /></li>
<li>
<h2 class="section"><a href="http://www.axure.com/" target="_blank">Axure</a></h2>
<p><strong>OS</strong>: Mac &amp; PC | <a href="http://www.axure.com/download" target="_blank">Download</a><br /><strong>Price</strong>: Starts at $289</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/5.jpg" alt="Axure" width="474" height="236" class="alignnone size-full wp-image-292" /></li>
<li>
<h2 class="section"><a href="http://wireframesketcher.com/" target="_blank">WireframeSketcher</a></h2>
<p><strong>OS</strong>: Mac &#038; PC | <a href="http://wireframesketcher.com/download.html" target="_blank">Download</a><br /><strong>Price</strong>: $99</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/6.jpg" alt="WireframeSketcher" width="474" height="236" class="alignnone size-full wp-image-293" /></li>
<li>
<h2 class="section"><a href="http://www.justinmind.com/" target="_blank">justinmind</a></h2>
<p><strong>OS</strong>: Mac &amp; PC | <a href="http://www.justinmind.com/prototyper/download" target="_blank">Download</a><br /><strong>Price</strong>: $19/month or $495/one time payment</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/7.jpg" alt="justinmind" width="474" height="236" class="alignnone size-full wp-image-294" /></li>
<li>
<h2 class="section"><a href="http://www.mockflow.com" target="_blank">Mockflow</a></h2>
<p><strong>OS</strong>: Mac &amp; PC | <a href="http://mockflow.com/signup/" target="_blank">Download</a><br /><strong>Price</strong>: Basic Free, Premium $69/year)</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/8.jpg" alt="Mockflow" width="474" height="236" class="alignnone size-full wp-image-295" /></li>
<li>
<h2 class="section"><a href="https://moqups.com" target="_blank">moqups</a></h2>
<p><strong>OS</strong>: Online only | <a href="https://moqups.com" target="_blank">Download</a><br /><strong>Price</strong>: Free</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/9.jpg" alt="moqups" width="474" height="236" class="alignnone size-full wp-image-296" /></li>
<li>
<h2 class="section"><a href="http://www.gliffy.com/" target="_blank">Gliffy</a></h2>
<p><strong>OS</strong>: Online only | <a href="http://www.gliffy.com/" target="_blank">Download</a><br /><strong>Price</strong>: Free, Standard $4.95/monthly, Pro $9.95/monthly</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2013/02/10.jpg" alt="Gliffy" width="474" height="236" class="alignnone size-full wp-image-297" /></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/ux-design/10-wireframe-tools-for-designers/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Retina Display Optimization</title>
		<link>http://www.awmcreative.com/mobile/retina-display-optimization</link>
		<comments>http://www.awmcreative.com/mobile/retina-display-optimization#comments</comments>
		<pubDate>Mon, 04 Feb 2013 04:39:44 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Font Glyphs]]></category>
		<category><![CDATA[Retina]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=215</guid>
		<description><![CDATA[We already know that the internet is always changing, but I&#8217;m pretty sure we never thought the resolution of a computer or device would change things so drastically. Ever since Apple came out with the Retina display it seems like &#8230; <a href="http://www.awmcreative.com/mobile/retina-display-optimization">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>We already know that the internet is always changing, but I&#8217;m pretty sure we never thought the resolution of a computer or device would change things so drastically. Ever since Apple came out with the Retina display it seems like the internet world has changed forever. I&#8217;m sure there are people who are sick of hearing about Retina this and Retina that and after all it&#8217;s just a brand name. However, I believe we would have been at this point whether Apple made it popular or not and you can thank your mobile device and tablet for that.<br />
<span id="more-215"></span></p>
<p>Let&#8217;s take a look at the resolution on some of the common/popular smart phones and tablets out there:</p>
<h4>Smart Phones</h4>
<ol class="numeral">
<li>iPhone &#8211; 1136&#215;640 resolution at 326 ppi*</li>
<li>Nexus 4 &#8211; 720&#215;1280 resolution at 342 ppi</li>
<li>Windows Phone 8X by HTC &#8211; 1280&#215;800 resolution at 320 ppi</li>
</ol>
<h4>Tablets</h4>
<ol class="numeral">
<li>iPad &#8211; 2048&#215;1536 resolution at 264 ppi</li>
<li>Nexus 10 &#8211; 2560&#215;1600 resolution at 300 ppi</li>
<li>Microsoft Surface RT &#8211; 1366&#215;768 resolution at 148 ppi</li>
</ol>
<p><span class="metaData">*pixels per inch</span></p>
<p>What do these have in common? Yep, higher resolution. We&#8217;re at a time where we can&#8217;t just design for the traditional desktop anymore. Mobile and tablet usage is growing at a fast pace and a good user experience is becoming more and more important.</p>
<h2 class="section">Re-think The Design Process</h2>
<p><strong>Progressive enhancement</strong>. Use fewer images. Stop. Think. Do you really need a graphic for that? With the help of CSS3 you can easily create gradients, text shadows, box shadows, transitions, and more.</p>
<p><strong>@font-face</strong>. I love typography. Being restricted to web-safe fonts wasn&#8217;t very fun, but now that <span class="highlight">@font-face</span> has finally gained popularity it has opened up a lot of possibilities and time savings. If you&#8217;re still in Photoshop creating images for headings you should stop and start bringing more scalability and clarity to Retina monitors and devices using <span class="highlight">@font-face</span>. Here&#8217;s how you use it:</p>
<pre class="brush: css; title: ; notranslate">
@font-face {
    font-family: 'WebFont';
    src: url('WebFont.eot');
    src: url('WebFont.eot?#iefix') format('embedded-opentype'), /* Support for IE6-IE8 */
         url('WebFont.woff') format('woff'), 
         url('WebFont.ttf') format('truetype'), 
         url('WebFont.svg#WebFont') format('svg');
    font-weight: normal;
    font-style: normal;
}
</pre>
<p>You would reference the new font like you would with any other with the exception of brackets:</p>
<pre class="brush: css; title: ; notranslate">
h1 {font-family: 'WebFont';}
</pre>
<p>Where can you get these awesome fonts? There are plenty of open-source fonts that are free. Below are a couple of my favorite sites:</p>
<ul class="list">
<li><a href="http://www.fontsquirrel.com/" target="_blank">Font Squirrel</a></li>
<li><a href="http://www.google.com/webfonts" target="_blank">Google Web Fonts</a></li>
</ul>
<p></p>
<p><strong>Font glyphs/icon fonts</strong>. How about icons? Instead of creating images, you can utilize <span class="highlight">@font-face</span> for font glyphs. There are several sites that provide free glyphs for you to use on your projects:</p>
<ul class="list">
<li><a href="http://fortawesome.github.com/Font-Awesome/" target="_blank">Font Awesome</a></li>
<li><a href="http://medialoot.com/item/signify-free-icon-font/" target="_blank">Signify Lite: Free Icon Set</a></li>
<li><a href="http://somerandomdude.com/work/iconic/" target="_blank">Some Random Dude</a></li>
</ul>
<p></p>
<p><strong>Retina graphics</strong>. Obviously, there are going to be times when you need to use images on your web site. You&#8217;ll need to create a high-resolution image by doubling the image size. If you have an image that is 100&#215;200 pixels you would double it by 200&#215;400 pixels. There are several ways to serve high-resolution images for Retina displays:</p>
<ul class="list">
<li><strong>HTML</strong>. The simplest way to size images down is through the width and height attributes in an image tag:
<pre class="brush: css; title: ; notranslate">
&lt;img src=&quot;image@2x.png&quot; width=&quot;100&quot; height=&quot;200&quot; /&gt;
</pre>
<p>The drawback of this approach is that it increases the load time of the image and will more than likely slow the load time of your website.</li>
<li><strong>CSS</strong>. You can also size down background images by using the background-size property.
<pre class="brush: css; title: ; notranslate">
.class {
    background-image: url(image@2x.png); 
    background-size: 100px 200px;
}
</pre>
<p>The <span class="highlight">background-size</span> property isn&#8217;t supported in IE7 or IE8. However, you won&#8217;t need to worry about this because there isn&#8217;t any Retina display that will be using these two archaic browsers.</li>
<li><strong>Media queries</strong>. Another way to serve high-resolution images to your site is through css media queries. Here&#8217;s an example:
<pre class="brush: css; title: ; notranslate">
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
    /* Retina-specfics here */
}
</pre>
</li>
<li><strong>Javascript</strong>. Lastly, you can use Javascript to serve high-resolution images to Retina devices. <a href="http://www.retinajs.com/" target="_blank">Retina.js</a> is a nifty script that does just that.</li>
</ul>
<h2 class="section">Wrapping Up</h2>
<p>My advice is to keep things simple. Use progressive enhancement and <span class="highlight">@font-face</span> to your advantage. Also, keep in mind that high-resolution images will double page loading time. There are several approaches on how to serve high-resolution graphics to a Retina display, which I&#8217;m not going into too much depth here. I&#8217;m just giving enough information to whet your appetite for now. Look for more posts on this later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/mobile/retina-display-optimization/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block Search Engines From Accessing Files Using Robots.txt</title>
		<link>http://www.awmcreative.com/seo/block-search-engines-from-accessing-files-using-robots-txt</link>
		<comments>http://www.awmcreative.com/seo/block-search-engines-from-accessing-files-using-robots-txt#comments</comments>
		<pubDate>Wed, 28 Nov 2012 05:39:19 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[robots.txt]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=179</guid>
		<description><![CDATA[The robots.txt file restricts search engines from crawling live pages that you don&#8217;t want indexed in searches. If you don&#8217;t want to restrict any files from search engines, the robots.txt file isn&#8217;t necessary, not even an empty one. Using robots.txt &#8230; <a href="http://www.awmcreative.com/seo/block-search-engines-from-accessing-files-using-robots-txt">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The robots.txt file restricts search engines from crawling live pages that you don&#8217;t want indexed in searches. If you don&#8217;t want to restrict any files from search engines, the robots.txt file isn&#8217;t necessary, not even an empty one.<br />
<span id="more-179"></span></p>
<h2 class="section">Using robots.txt</h2>
<p>What type of pages could you restrict? The possibilities are endless and it&#8217;s really up to you. To get started, you&#8217;ll need to create a new file and name it <span class="highlight">robots.txt</span>. You&#8217;ll place this file in your root directory.</p>
<p>The first line you&#8217;ll want to place in your new file is the following:</p>
<ul class="list">
<li><span class="highlight">User-agent: *</span></li>
</ul>
<p></p>
<p>The asterix is used for the User-agent to restrict <strong>all</strong> search engines. You can also target a specific search engine from crawling your site like:</p>
<ul class="list">
<li><span class="highlight">User-agent: Googlebot</span></li>
</ul>
<p></p>
<p>Beneath the User-agent you can restrict different files, directories, etc. by using the following examples:</p>
<ul class="list">
<li>Blocks entire site, <span class="highlight">Disallow: /</span></li>
<li>Blocks directory and all of its contents, <span class="highlight">Disallow: /foldername/</span></li>
<li>Blocks a specific file name, <span class="highlight">Disallow: /pagename.html</span></li>
<li>Blocks a specific file type, <span class="highlight">Disallow: /*.gif$</span></li>
</ul>
<h2 class="section">Restricting robots.txt From Public View</h2>
<p>One thing to remember is that the robots.txt file is public, so anyone could access it. I don&#8217;t know about you, but if I&#8217;m blocking search engines from certain links, I certainly don&#8217;t want anyone else accessing them either. One of the tricks I like to do is add a redirect within my *.htaccess file. Here&#8217;s what it would look like:</p>
<ul class="list">
<li><span class="highlight">Redirect 301 /robots.txt http://www.awmcreative.com/</span></li>
</ul>
<p></p>
<p>This command redirects anyone trying to view <a href="http://www.awmcreative.com/robots.txt">http://www.awmcreative.com/robots.txt</a> to the landing page of AWM Creative. This keeps the curious/hackers from seeing the blocked files, pages, etc.</p>
<p><span class="metaData"><em>*The .htaccess file only works on Linux-based hosting. If you&#8217;re on a Windows-based hosting provider it will not work. Another thing to note, the .htacess is a hidden file, so you may need to change your settings to show hidden files.</em></span></p>
<h2 class="section">Learn More About robots.txt</h2>
<p>If you&#8217;d like to read up more on the robots.txt file, check out <a href="http://www.robotstxt.org/" target="_blank">robotstxt.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/seo/block-search-engines-from-accessing-files-using-robots-txt/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe &amp; Stories</title>
		<link>http://www.awmcreative.com/portfolio/adobe-stories</link>
		<comments>http://www.awmcreative.com/portfolio/adobe-stories#comments</comments>
		<pubDate>Mon, 01 Aug 2011 00:01:52 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=18</guid>
		<description><![CDATA[Adobe &#38; Stories serves as a story campaign, a place where the creative can share their stories and inspiration with others. Here&#8217;s what was delivered: Design HTML/CSS Javascript]]></description>
				<content:encoded><![CDATA[<p>Adobe &amp; Stories serves as a story campaign, a place where the creative can share their stories and inspiration with others.</p>
<p>Here&#8217;s what was delivered:</p>
<ul>
<li>Design</li>
<li>HTML/CSS</li>
<li>Javascript</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/portfolio/adobe-stories/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeERISA</title>
		<link>http://www.awmcreative.com/portfolio/freeerisa</link>
		<comments>http://www.awmcreative.com/portfolio/freeerisa#comments</comments>
		<pubDate>Tue, 01 Sep 2009 00:54:09 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=27</guid>
		<description><![CDATA[FreeERISA provides free access to Department of Labor Form 5500 disclosure filings on more than 1 million retirement and health benefits plan. Here’s what was delivered: Web Design Logo Design HTML/CSS jQuery Ajax ASP.NET]]></description>
				<content:encoded><![CDATA[<p>FreeERISA provides free access to Department of Labor Form 5500 disclosure filings on more than 1 million retirement and health benefits plan.</p>
<p>Here’s what was delivered:</p>
<ul>
<li>Web Design</li>
<li>Logo Design</li>
<li>HTML/CSS</li>
<li>jQuery</li>
<li>Ajax</li>
<li>ASP.NET</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/portfolio/freeerisa/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Pop Menu</title>
		<link>http://www.awmcreative.com/jquery/jquery-pop-menu</link>
		<comments>http://www.awmcreative.com/jquery/jquery-pop-menu#comments</comments>
		<pubDate>Sat, 25 Jul 2009 03:18:44 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=45</guid>
		<description><![CDATA[So what is a pop menu? I like to think of them as a secondary navigation or a menu that appears for changing settings on a web application. Below are a few visual examples that I found on Google, Facebook, &#8230; <a href="http://www.awmcreative.com/jquery/jquery-pop-menu">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>So what is a pop menu? I like to think of them as a secondary navigation or a menu that appears for changing settings on a web application.<br />
<span id="more-45"></span></p>
<p>Below are a few visual examples that I found on <a href="http://www.google.com" target="_blank" title="Go to Google.com">Google</a>, <a href="http://www.facebook.com" target="_blank" title="Go to Facebook.com">Facebook</a>, and <a href="http://www.yahoo.com" target="_blank" title="Go to Yahoo!">Yahoo!</a>:</p>
<p><span class="metaData">(Expanded for show)</span><img src="http://www.awmcreative.com/wp-content/uploads/2012/06/popMenus.jpg" alt="" title="popMenus" width="449" height="186" class="aligncenter size-full wp-image-57" /></p>
<p>What&#8217;s great about the pop menu is that you can apply it to a regular link. The functionality of the menu opens on click and closes clicking anywhere outside of the menu.</p>
<ul class="demo">
<li><a href="http://www.awmcreative.com/demos/jquery-pop-menu.php">View Demo</a></li>
</ul>
<h2 class="section">jQuery</h2>
<p>The jQuery allows the menu to appear and disappear. You&#8217;ll need to download the <a href="http://www.jquery.com" target="_blank" title="Download jQuery">jQuery Library</a> for the code to work below.</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script&gt;
    $(document).ready(function(){
        $(&quot;span&quot;).click(function(event){
            $(&quot;ul.popOut&quot;).toggle();		
                return false;
        });
        $(&quot;html&quot;).click(function(event){
            $(&quot;ul.popOut&quot;).hide();
        });
    });
&lt;/script&gt;
</pre>
<p>There are two click events happening here. The first event <span class="highlight">$(&#8220;a&#8221;).click(function(event){</span>shows the menu and the second event <span class="highlight">$(&#8220;html&#8221;).click(function(event){</span> hides it, while clicking anywhere on the page.</p>
<h2 class="section">CSS</h2>
<p>Hides the pop out menu by default:</p>
<pre class="brush: css; title: ; notranslate">
ul.popMenu li {
    list-style: none;
    font-weight: bold;
}
</pre>
<p>Menu styles:</p>
<pre class="brush: css; title: ; notranslate">
ul.popMenu li span {
    color: #158; 
    cursor: pointer;
}

ul.popMenu li span:hover {
    color: #c00; 
    text-decoration: underline;
}

ul.popMenu ul.popOut {
    display: none; 
    position: absolute;
    margin: 2px 0 0 0; 
    padding: 0; 
    width: 135px; 
    background-color: #f4f4f4; 
    border: solid 1px #ddd; 
    border-bottom: none;
}

ul.popMenu ul.popOut a {
    display: block; 
    padding: 6px 15px 5px 15px; 
    font-weight: normal; 
    color: #000; 
    border-bottom: solid 1px #ddd;
}

ul.popMenu ul.popOut a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #bab;
}
</pre>
<h2 class="section">HTML</h2>
<p>The HTML is pretty simple. There are two standard lists with a class applied to each one. The menu that pops out is embedded in the main list.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;ul class=&quot;popMenu&quot;&gt;
    &lt;li&gt;&lt;span&gt;Click me&lt;/span&gt;
        &lt;ul class=&quot;popOut&quot;&gt;
            &lt;li&gt;&lt;a href=&quot;http://www.google.com&quot;&gt;Google&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href=&quot;http://www.facebook.com&quot;&gt;Facebook&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href=&quot;http://www.yahoo.com&quot;&gt;Yahoo!&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>And that&#8217;s how it&#8217;s done. Not too much code to make this work, very light weight.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/jquery/jquery-pop-menu/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making a Success Message Show &amp; Hide After a Form Submission</title>
		<link>http://www.awmcreative.com/jquery/making-a-success-message-show-and-hide-after-a-form-submission</link>
		<comments>http://www.awmcreative.com/jquery/making-a-success-message-show-and-hide-after-a-form-submission#comments</comments>
		<pubDate>Sun, 19 Jul 2009 03:20:15 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=75</guid>
		<description><![CDATA[Recently, I’ve been working with a lot of form confirmations. I&#8217;ve been thinking about the best way on how to approach these. Many forms redirect users either to a separate page displaying a thank you/confirmation message or have one within &#8230; <a href="http://www.awmcreative.com/jquery/making-a-success-message-show-and-hide-after-a-form-submission">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Recently, I’ve been working with a lot of form confirmations. I&#8217;ve been thinking about the best way on how to approach these. Many forms redirect users either to a separate page displaying a thank you/confirmation message or have one within the same page.<br />
<span id="more-75"></span></p>
<p>So which approach is better? I think it really depends on the project and what type of form you create. Creating a separate page may not really be necessary. However, there are some circumstances where a separate page may be useful like displaying payment information. Most of the time a simple message that appears is good enough so that the user has some type of confirmation allowing them to have peace of mind that their information was processed.</p>
<ul class="demo">
<li><a href="http://www.awmcreative.com/demos/making-a-success-message-show-and-hide-after-a-form-submission.php">View Demo</a></li>
</ul>
<h2 class="section">Types of Confirmation Messages</h2>
<p>Here are some examples of different form confirmation messages:</p>
<p>Thank you message on separate page &mdash; seen on Yahoo.</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2009/07/success1.gif" alt="" title="success1" width="509" height="61" class="aligncenter size-full wp-image-84" /></p>
<p>Confirmation message on separate page with a close button &mdash; seen on LinkedIn.</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2009/07/success2.gif" alt="" title="success2" width="509" height="61" class="aligncenter size-full wp-image-86" /></p>
<p>Confirmation message on same page as form &mdash; WordPress admin.</p>
<p><img src="http://www.awmcreative.com/wp-content/uploads/2009/07/success3.gif" alt="" title="success3" width="509" height="61" class="aligncenter size-full wp-image-85" /></p>
<p>There is one example missing from this list, which is basically the confirmation message that shows and hides after the submit button is clicked. This is what I’ll be going through in this tutorial.</p>
<h2 class="section">jQuery</h2>
<p>You’ll need to download the <a href="http://www.jquery.com" title="Get the jQuery Library" target="_blank">jQuery Library</a> for the code to work below.</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script&gt;
    $(document).ready(function(){
        $(&quot;#Button1&quot;).click(function(event){
            $(&quot;.message&quot;).show();
            $(&quot;.message&quot;).fadeOut(2500);
        });
    });
&lt;/script&gt;
</pre>
<p>Let&#8217;s break this down a bit:</p>
<ul class="list">
<li><span class="highlight">$(&#8220;#Button1&#8243;).click(function(event){</span> &ndash; The ID referenced here is from the button ID. When the button is clicked, it fires the event in jQuery.</li>
<li><span class="highlight">$(&#8220;.message&#8221;).show();</span> &ndash; This line of code allows the hidden success message to show.</li>
<li><span class="highlight">$(&#8220;.message&#8221;).fadeOut(2500);</span> &ndash; This last piece fades out the success message. You can set the <span class="highlight">fadeOut</span> property to <em>slow</em> or <em>fast</em>. You could also keep the transitions in milliseconds, which allows more control.</li>
</ul>
<h2 class="section">CSS</h2>
<p>Keep in mind that the message is hidden by default. The confirmation message will appear after the submit button is clicked.</p>
<pre class="brush: css; title: ; notranslate">
.message {
    display: none;
    margin: 0 0 13px;
    padding: 10px;
    border: solid 1px #bd8; 
}
</pre>
<h2 class="section">HTML</h2>
<p>Please note that the ID on the button is the same as the one in the jQuery code above. These should be the same or the message will not show.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;message&quot;&gt;Your update was successful.&lt;/div&gt;
&lt;input id=&quot;Button1&quot; type=&quot;button&quot; value=&quot;Send Message&quot; class=&quot;frmButton&quot; /&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/jquery/making-a-success-message-show-and-hide-after-a-form-submission/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Javascript in Master Pages</title>
		<link>http://www.awmcreative.com/jquery/javascript-in-master-pages</link>
		<comments>http://www.awmcreative.com/jquery/javascript-in-master-pages#comments</comments>
		<pubDate>Thu, 12 Mar 2009 02:40:16 +0000</pubDate>
		<dc:creator>Aaron Miller</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.awmcreative.com/?p=96</guid>
		<description><![CDATA[Creating a basic Master Page in ASP.NET is pretty simple and straightforward, but it can be a little tricky getting all of your links and file paths to work properly on every page. Figuring out the proper web controls for &#8230; <a href="http://www.awmcreative.com/jquery/javascript-in-master-pages">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Creating a basic Master Page in ASP.NET is pretty simple and straightforward, but it can be a little tricky getting all of your links and file paths to work properly on every page.<br />
<span id="more-96"></span></p>
<p>Figuring out the proper web controls for making URLs, images, and stylesheets to work was straight forward. However, getting the Javascript external files working, other than on the landing page, was more difficult. For some reason, Microsoft doesn&#8217;t allow the <span class="highlight">&lt;head runat=&#8221;server&#8221;&gt;&lt;/head&gt;</span> tag change the Javascript path automatically like the external stylesheets.</p>
<p>Below is a cheat sheet for linking stylesheets, Javascript, links, and images to a Master Page.</p>
<h2 class="section">Stylesheets</h2>
<p>Make sure you place your external stylesheet path(s) between the following tags:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;head runat=&quot;server&quot;&gt;
    &lt;link rel=&quot;stylesheet&quot; href=&quot;css/example.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;/head&gt;
</pre>
<p>The URL path will change automatically depending which page you are on.</p>
<h2 class="section">Javascript</h2>
<p>Similarly to the external stylesheet path(s), you should place your Javascript path(s) between the following with the added code:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;head runat=&quot;server&quot;&gt;
    &lt;script src='&lt;%= ResolveClientUrl(&quot;~/js/example.js&quot;)%&gt;'&gt;&lt;/script&gt;
&lt;/head&gt;
</pre>
<p><span class="highlight">ResolveClientUrl</span> returns a URL relative to the folder containing the source file.</p>
<h2 class="section">Links</h2>
<pre class="brush: xml; title: ; notranslate">
&lt;asp:HyperLink ID=&quot;example&quot; runat=&quot;server&quot; Text=&quot;Example&quot; NavigateUrl=&quot;~/directory/example.aspx&quot; ToolTip=&quot;Example&quot;&gt;&lt;/asp:HyperLink&gt;
</pre>
<ul class="list">
<li><strong>Text</strong> = &lt;a href=&#8221;"&gt;Text&lt;/a&gt;</li>
<li><strong>NavigateURL</strong> = href</li>
<li><strong>ToolTip</strong> = title</li>
</ul>
<h2 class="section">Images</h2>
<pre class="brush: xml; title: ; notranslate">
&lt;asp:Image ID=&quot;example&quot; runat=&quot;server&quot; ImageUrl=&quot;~/images/example.gif&quot; AlternateText=&quot;Example Image&quot; /&gt;
</pre>
<ul class="list">
<li><strong>ImgUrl</strong> = src</li>
<li><strong>AlternateText</strong> = alt</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.awmcreative.com/jquery/javascript-in-master-pages/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
