<?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>Jason Weaver</title>
	<atom:link href="http://jasonweaver.name/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://jasonweaver.name/blog</link>
	<description>Web Designer</description>
	<lastBuildDate>Mon, 26 Mar 2012 01:18:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Make it your own</title>
		<link>http://jasonweaver.name/blog/make-it-your-own/</link>
		<comments>http://jasonweaver.name/blog/make-it-your-own/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 01:18:40 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=146</guid>
		<description><![CDATA[I&#8217;ve received some email regarding my Off Canvas demo with a few suggestions on how to make it better. While I think all of these ideas are fantastic, I&#8217;m not going to attempt to do so. The general layout for &#8230; <a href="http://jasonweaver.name/blog/make-it-your-own/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve received some email regarding my <a href="http://jasonweaver.name/lab/offcanvas/">Off Canvas</a> demo with a few suggestions on how to make it better. While I think all of these ideas are fantastic, I&#8217;m not going to attempt to do so. The general layout for the pattern is there and I don&#8217;t want to get into some sort of iterative, time-consuming mess of making it better. I&#8217;d much rather save all those good ideas for when I&#8217;m actually working on a real design project.</p>
<p>Here&#8217;s a couple of suggestions for making it better:</p>
<h2>Swipe/Touch Gestures</h2>
<p>The idea here is to make the center panel swipeable to reveal the menu and extra panels on small screens. This would be fantastic and I even tried doing this using a <a href="https://github.com/torkiljohnsen/swipe">jQuery Swipeable Plugin</a> but that would add a lot of complexity to the demo. Once you add touch events to an element it&#8217;s hard to get a natural page scroll right. I wanted the code to be simple and approachable.</p>
<h2>Button icons</h2>
<p>For the two &#8220;buttons&#8221; that show up on small/medium viewports, it would be nice to replace the text with some icons. Perhaps arrows that show that a panel is supposed to be a toggle. Possibly using an <a href="http://pictos.cc/">icon font set</a>. </p>
<p>Thanks to all those who wrote me. See the demo for what it is and think about making it your own on your next responsive project. Also, I love my job.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/make-it-your-own/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Designing Off Canvas</title>
		<link>http://jasonweaver.name/blog/designing-off-canvas/</link>
		<comments>http://jasonweaver.name/blog/designing-off-canvas/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 03:19:28 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=134</guid>
		<description><![CDATA[I love that we can now design layouts that adjust to the viewport size. I&#8217;d pretty much thought I&#8217;d seen most of what could be accomplished with responsive design until Luke Wroblewski&#8216;s post on Multi-Device Layout Patterns. The section on &#8230; <a href="http://jasonweaver.name/blog/designing-off-canvas/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I love that we can now design layouts that adjust to the viewport size. I&#8217;d pretty much thought I&#8217;d seen most of what could be accomplished with responsive design until <a href="http://www.lukew.com/">Luke Wroblewski</a>&#8216;s post on <a href="http://www.lukew.com/ff/entry.asp?1514">Multi-Device Layout Patterns</a>. The section on the Off Canvas pattern kinda blew my mind a bit. I mean, come on man, hiding navigation and sidebar content in the space just off screen? It&#8217;s brilliant!</p>
<blockquote><p>The Off Canvas pattern for multi-device layout takes advantage of space off the screen to keep content or navigation hidden until either a larger screen size allows it to be visible or a user takes action to expose it. This pattern is showing up in a few separate mobile Web site designs and native mobile applications.</p></blockquote>
<p>I wanted to know how this could work in the browser. </p>
<p>After a quick back and forth with Luke, I fired up TextMate and started to see what was possible with this kind of thinking. I wanted the code to be simple and use very little javascript. Ultimately, I ended up using a bit of jQuery to change class names and created css for each panel layout variation.  A few detailed suggestions from Luke made it all the better. </p>
<p><a href="http://jasonweaver.name/lab/offcanvas/">Off Canvas</a> is the multi-device web layout pattern demo I came up with to show off the technique. I think it&#8217;s a fantastic example of what can be done with responsive web design. </p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/designing-off-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using HTML5 Data Attributes</title>
		<link>http://jasonweaver.name/blog/using-html5-data-attributes/</link>
		<comments>http://jasonweaver.name/blog/using-html5-data-attributes/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 21:47:23 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=124</guid>
		<description><![CDATA[Using the idea from my Conditional Slideshow technique, I had the problem of pulling in appropriate content designed for specific pages in a CMS system while working on a project this week. I wanted a way to store some data &#8230; <a href="http://jasonweaver.name/blog/using-html5-data-attributes/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using the idea from my <a href="http://jasonweaver.name/lab/conditionalslideshow/">Conditional Slideshow</a> technique, I had the problem of pulling in appropriate content designed for specific pages in a CMS system while working on a project this week. I wanted a way to store some data tied to a particular page and use that page data to ajax in some content. Five pages within the site would have animated scenes carrying with them 4 heavy images. Not ideal for small screens so some conditional loading via ajax would be nice when the viewport reached a suitable width.  </p>
<p>For the first time I found a use for the <code>data-</code> attribute. I was able to store page data in a variable and echo into the data attribute in the footer. Passing this variable into my ajax function, I could bring in the appropriate content tied to that page. </p>
<p><script src="https://gist.github.com/1994246.js?file=gistfile1.aw"></script></p>
<p><script src="https://gist.github.com/1996428.js?file=gistfile1.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/using-html5-data-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>API Hack Day Austin</title>
		<link>http://jasonweaver.name/blog/api-hack-day-austin/</link>
		<comments>http://jasonweaver.name/blog/api-hack-day-austin/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 21:54:58 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=104</guid>
		<description><![CDATA[Spent the day yesterday hacking it up at HubAustin for API Hack Day. This would be my first time participating in an all day Hack-a-thon contest type of thing. I hitched a ride with Jeff and, as it turned out, &#8230; <a href="http://jasonweaver.name/blog/api-hack-day-austin/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Spent the day yesterday hacking it up at <a href="http://hubaustin.com/">HubAustin</a> for <a href="http://apihackday.com/">API Hack Day</a>. This would be my first time participating in an all day Hack-a-thon contest type of thing. I hitched a ride with <a href="http://carouth.com/">Jeff</a> and, as it turned out, learned a bunch from him as we worked on <a href="http://jasonweaver.name/lab/findmynews/">Find My News</a>, a location-based web app that pulls in the latest news from your area. It also allows you to use the browser to store links to stories you&#8217;d like to read later. We used the <a href="http://www.patch.com/">Patch API</a> for the local news feed.</p>
<p><img class="aligncenter" src="http://jasonweaver.name/img/findmynews-screenshot.png" alt="find my news app screenshot" /></p>
<p>Here&#8217;s some things I learned:</p>
<ul>
<li><a href="https://github.com/janl/mustache.js/">mustache.js templating</a></li>
<li><a href="http://en.wikipedia.org/wiki/MD5">MD5 Message-Digest Algorithm</a></li>
<li>Reverse GeoCoding Zipcode via php proxy</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/api-hack-day-austin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mapping Fusion Tables</title>
		<link>http://jasonweaver.name/blog/mapping-fusion-tables/</link>
		<comments>http://jasonweaver.name/blog/mapping-fusion-tables/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 22:06:05 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=84</guid>
		<description><![CDATA[At work we needed a new way to organize all our office locations across Texas and map them on a Google Map. Instead of coding up all the data in the document, I went a different route. (Get it? Different &#8230; <a href="http://jasonweaver.name/blog/mapping-fusion-tables/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At work we needed a new way to organize all our office locations across Texas and map them on a Google Map. Instead of coding up all the data in the document, I went a different route. (Get it? Different route&#8230; Ok, I&#8217;ll stop.)</p>
<h3>Enter Fusion Tables</h3>
<p>We had all of our location data already marked up on a different site so all I needed to do was parse through it and put that data into a new<a href="http://www.google.com/fusiontables/public/tour/index.html"> Google Fusion Table</a>. Once the table is made public, I can map out the data onto a map. This makes it very easy to edit the data in the cloud and keep the map updated. Details on how to set up a new google Fusion Table layer can be found at the <a href="http://code.google.com/apis/maps/documentation/javascript/layers.html#FusionTables">Google Code docs for the Maps api</a>. </p>
<p><img src="http://jasonweaver.name/img/agrilife-locations-map.jpg" alt="Agrilife locations screenshot" /></p>
<p>The <a href="http://agrilife.org/locations">locations map</a> I made for <a href="http://agrilife.org/">AgriLife</a> has 4 different layers that I&#8217;ve sorted  by a &#8220;Type&#8221; column I added to the table. </p>
<p>Each layer has a corresponding legend item with a checkbox to toggle that particular layer.</p>
<p><img src="http://jasonweaver.name/img/agrilife-locations-legend.jpg" alt="Agrilife locations legend screenshot" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/mapping-fusion-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moon</title>
		<link>http://jasonweaver.name/blog/moon/</link>
		<comments>http://jasonweaver.name/blog/moon/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 20:18:12 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=71</guid>
		<description><![CDATA[More than a month ago I redesigned my front page so that I could easily change the look of it whenever I felt the urge. Today I&#8217;ve changed for the second time. I based the design on a pic I &#8230; <a href="http://jasonweaver.name/blog/moon/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>More than a month ago I <a href="http://drbl.in/cJvH">redesigned my front page</a> so that I could easily change the look of it whenever I felt the urge. Today I&#8217;ve changed for the second time. I based the design on a pic I took of a full moon with my <a href="http://reviews.cnet.com/digital-cameras/nikon-d3100-with-18/4505-6501_7-34150870.html">Nikon D3100</a>. Left the shutter open for 10 seconds to get some cool effects from the clouds passing over and added some textures in PhotoShop. I&#8217;m getting a little better at night photography but I&#8217;m hoping to improve my skills overall this year. </p>
<p><a href="http://jasonweaver.name/lab/moon-layout-full.jpg"><img src="http://jasonweaver.name/img/moon-layout.jpg" alt="jasonweaver.name moon layout img" /></a></p>
<p>I&#8217;d like to keep a record of these front page layouts in code and as an image gallery somewhere on my site. But for now here&#8217;s the first one. </p>
<p><a href="http://jasonweaver.name/lab/winter-2011-layout-full.jpg"><img src="http://jasonweaver.name/img/winter-2011-layout.jpg" alt="jasonweaver.name winter2011 layout img" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/moon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slideshow Redux</title>
		<link>http://jasonweaver.name/blog/slideshow-redux/</link>
		<comments>http://jasonweaver.name/blog/slideshow-redux/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 02:19:34 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=66</guid>
		<description><![CDATA[The problem with responsive slideshow plugins like FlexSlider and the like is the unnecessary large images a small screen mobile user is forced to download. There has been a lot of talk about the problem with responsive images lately. We &#8230; <a href="http://jasonweaver.name/blog/slideshow-redux/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The problem with responsive slideshow plugins like <a href="http://flex.madebymufffin.com/">FlexSlider</a> and the like is the unnecessary large images a small screen mobile user is forced to download. There has been a lot of talk about the problem with responsive images lately. We have <a href="http://24ways.org/2011/adaptive-images-for-responsive-designs">server side</a> and <a href="http://24ways.org/2011/adaptive-images-for-responsive-designs-again">client side</a> adaptive image techniques as well as a <a href="http://www.alistapart.com/articles/responsive-images-how-they-almost-worked-and-what-we-need/">few proposals for future</a> <a href="http://adactio.com/journal/5208/">implementations</a>. How do we serve large slideshow images conditionally to large screens and save the mobile user from the excess downloads? I propose a technique that aims to answer that question.</p>
<h3>Rethinking the Slideshow</h3>
<p>We need a new way of thinking about featured content. If you think about the small screen first, thumbnails with titles are a great way to display featured content on mobile phones. The links of those thumbnails and titles follow to the appropriate page by default with no large images in the markup. We can then use those thumbnails as navigation when we scale up to larger screens and conditionally add our large slideshow images&mdash;adding <code>onclick</code> event handlers to the links making them change the large images. I&#8217;ve built a <a href="http://jasonweaver.name/lab/conditionalslideshow">simple demo</a> to show how this could be done. Check it out and make sure to refresh after resizing through the media query.</p>
<p>I&#8217;d like to think that there are endless possibilities for this type of conditional slideshow. Breaking out of the old standard way of designing sideshows and featured content.  I hope there are designers out there that run with this and create light weight, flexible user interfaces.</p>
<h3>The Basic Javascript</h3>
<p>I need to give a lot of credit to <a href="http://adactio.com">Jeremy Keith</a> for this idea as it is the same thinking he had for his 24Ways.org article <a href="http://24ways.org/2011/conditional-loading-for-responsive-designs">Conditional Loading for Responsive Designs</a>. In <a href="http://jasonweaver.name/lab/conditionalslideshow">my demo</a>, I don&#8217;t use a javascript library and tried to design a simple slideshow with the least amount of code possible. It may not support older browsers but this technique is more of a way of thinking rather than some code you can use as is. All the parts are there to make your own. <a href="https://github.com/indyplanets/ConditionalSlideshow">Fork it on GitHub</a>.</p>
<p>Below is a snippet of the javascript that does the conditional loading. The idea is to grab the big slideshow images if the slideshow container has a <code>display:block</code> css declaration.<br />
<code>
<pre>
//wait for the document to load
window.onload = function () {

  // get #feature-container that holds our big images
  var feature = document.getElementById('feature-container'),

  // get the style value of display on our big images container
  display = window.getComputedStyle(feature,null).getPropertyValue('display');

  // if the #feature-container display value is block
  if (display == 'block') {
    //we are wide enough to pull in the big images via ajax
    // get images and markup via ajax
  }
}(this);
</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/slideshow-redux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Touch Screen Design Thinking</title>
		<link>http://jasonweaver.name/blog/touch-screen-design-thinking/</link>
		<comments>http://jasonweaver.name/blog/touch-screen-design-thinking/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 03:34:04 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=59</guid>
		<description><![CDATA[I&#8217;ve just finished up an interesting week at work and I&#8217;m gearing up for a three day weekend to get ready for a Super Bowl party on Sunday. Ok, so it&#8217;ll just be me and my father-in-law watching but I&#8217;ll &#8230; <a href="http://jasonweaver.name/blog/touch-screen-design-thinking/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished up an interesting week at work and I&#8217;m gearing up for a three day weekend to get ready for a Super Bowl party on Sunday. Ok, so it&#8217;ll just be me and my father-in-law watching but I&#8217;ll be cooking homemade hot wings. And I call that a party.</p>
<p>That&#8217;s not really what I want to talk about. I want to talk about designing for the web.</p>
<p>Today I responded to <a href="https://twitter.com/#!/plesko/status/164770254910787584">a tweet by Ryan Plesko</a> about using a fixed navigation on single page sites. Ryan tweets:</p>
<blockquote><p>When designing a single page website consider fixed position navigation. Otherwise your menu is meaningless after the first click.</p></blockquote>
<p>I agree. Ryan is absolutely correct. The best design decision you could make with a single page site navigation is to make the navigation fixed to the screen so the user can have access at any point on the page. </p>
<p>But, there are technical problems when positioning elements fixed on a page when you think about touch screens and other mobile devices. <a href="http://bradfrostweb.com/blog/mobile/fixed-position/">Brad Frost&#8217;s video explanation</a> covers the difficulties mobile browsers have with <code>position:fixed</code>. The short of it: Mobile browsers aren&#8217;t consistent with supporting <code>position:fixed</code> just yet. There are frameworks and libraries we can use to better the performance in popular mobile browsers but you have to ask yourself if the added weight and complexity is worth it.</p>
<p><a href="https://twitter.com/#!/mrJasonWeaver/status/165082170933776384">I responded</a> to Ryan&#8217;s tweet:</p>
<blockquote><p>That&#8217;s good advice but position:fixed falls apart on touch screens.</p></blockquote>
<p>In which Ryan <a href="https://twitter.com/#!/plesko/status/165108440308518912">defends his tweet</a>: </p>
<blockquote><p>I&#8217;m not suggesting the only way to do it is posttion:fixed. Responsive design should accommodate other devices.</p></blockquote>
<p>We can design our sites to only have a fixed position navigation on &#8220;desktop&#8221; sites. What does that mean? When the viewport is greater than 960px wide? What about large touch screen devices in landscape orientation? That&#8217;s 1024px of  viewport being displayed. I <a href="https://twitter.com/#!/mrJasonWeaver/status/165113113270689793">clarify my reasoning</a> with Ryan: </p>
<blockquote><p>RWD won&#8217;t help either. You still have to account for large touch screens, right? Or do you have position:fixed > 1024px only?</p></blockquote>
<p>In terms of thinking in a more device agnostic way, this is similar to the same problem I had with designing the theme for <a href="http://agrilife.org">AgriLife</a>. This theme had to accommodate content for 700 plus sites on a network install. Not knowing what the navigation was going to be, I had to design a system that included multiple levels of drop downs shown on hover. Ultimately, the navigation fell apart on touch screens because the second level of navigation links where not accessible. I&#8217;ve since <a href="http://jasonweaver.name/lab/flexiblenavigation/">discovered a better solution</a> to the problem.</p>
<p>I&#8217;d like to think there is a simple approach to the fixed position problem. Ethan Marcotte has done a great job of this on <a href="http://ethanmarcotte.com/">his site</a> displaying the navigation beautifully in each section. This keeps the site light and simple with no complex javascript overhead.</p>
<p>Consider the fact that touch screen users are accustomed to zooming. If you take a look at the <a href="http://jquerymobile.com/demos/1.0.1/docs/toolbars/bars-fullscreen.html">jQuery Mobile example of fixed positioned headers and footers</a> on your mobile device, you&#8217;ll notice things get a little crazy when zooming. The Twitter mobile app does this as well (at least for Android). <a href="http://webdesignerwall.com/">Web Designer Wall</a>&#8216;s very attractive recent responsive redesign has a fixed position navigation on the left side of the content but viewing on a large touch screen it seems a little jerky and the zooming is disabled (tested on a TouchPad). Not an ideal result for touch screen users.</p>
<p>We have to consider touch screens when designing our sites and craft interfaces that are device agnostic. The desktop-centric design thinking must stop if we are going to have better experiences on the web. </p>
<p>And I promise to make better choices.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/touch-screen-design-thinking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sites that Speak</title>
		<link>http://jasonweaver.name/blog/sites-that-speak/</link>
		<comments>http://jasonweaver.name/blog/sites-that-speak/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 18:38:41 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=34</guid>
		<description><![CDATA[I&#8217;ve just finished up a session on Designing Flexible Content at Word Up Austin where I outline my process for designing device agnostic sites. I was very impressed with the content at the meet up and had some great questions &#8230; <a href="http://jasonweaver.name/blog/sites-that-speak/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished up a session on <em><a href="http://wordupaustin.com/session/designing-flexible-content/">Designing Flexible Content</a></em> at <a href="http://wordupaustin.com/">Word Up Austin</a> where I outline my process for designing device agnostic sites. I was very impressed with the content at the meet up and had some great questions from the attendees.</p>
<p>One section of my talk details specific techniques for hiding complex navigation on small screens using a little bit of jQuery:</p>
<pre>// Toggle for nav menu
$('.menu-button').click(function() {
	$('#access').slideToggle('fast', function() {});
});</pre>
<p>This shows and hides the menu by adding <code>display: none;</code> to the element with an id of <code>#access</code>. (See my <a href="http://jasonweaver.name/lab/flexiblenavigation/">FlexNav</a> demo for a device agnostic approach to complex navigation.)</p>
<p><img src="http://jasonweaver.name/blog/wp-content/uploads/2012/01/coadc-closeup-mobile.jpg" alt="" title="mobile menu hidden with jquery" width="602" height="414" class="alignnone size-full wp-image-56" /></p>
<p><a href="http://slash25.com/">Pat Ramsey</a> brought up a good point about accessibility when elements are hidden with <code>display: none;</code>. Particularly when using assistive technology like screen readers.</p>
<p>This got me thinking about web pages that are read aloud to small screen users. Would hiding the navigation with <code>display: none;</code> be an accessibility issue? I hadn&#8217;t thought about that at all until Pat brought it up. Doing some initial testing on my Android powered MyTouch using the <a href="http://www.appbrain.com/app/webspeak/com.lggfc.speakweb">WebSpeak</a> app revealed that it read only the structured markup and completely ignores the css all together. This is a very good thing but I need to do more testing on different platforms and assistive technology. I&#8217;m concerned that as these speech technologies become more ubiquitous on small screens I would have fallen into a very inaccessible design pattern.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/sites-that-speak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text and the Screen</title>
		<link>http://jasonweaver.name/blog/text-and-the-screen/</link>
		<comments>http://jasonweaver.name/blog/text-and-the-screen/#comments</comments>
		<pubDate>Sun, 29 May 2011 22:48:34 +0000</pubDate>
		<dc:creator>indyplanets</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jasonweaver.name/blog/?p=28</guid>
		<description><![CDATA[I&#8217;m reading The Elements of Typographic Style at the moment. It&#8217;s beautifully written and I&#8217;m learning how the rules author Robert Bringhurst lays out can be used on the web. But not all the rules translate to the web. Particularly &#8230; <a href="http://jasonweaver.name/blog/text-and-the-screen/">More <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m reading <cite><a href="http://en.wikipedia.org/wiki/The_Elements_of_Typographic_Style">The Elements of Typographic Style</a></cite> at the moment. It&#8217;s beautifully written and I&#8217;m learning how the rules author <a href="http://en.wikipedia.org/wiki/Robert_Bringhurst">Robert Bringhurst</a> lays out can be used on the web. But not all the rules translate to the web. Particularly when you accept the idea that the web in not fixed. In chapter 2.1.2, Bringhurst writes about a comfortable <a href="http://en.wikipedia.org/wiki/Measure_(typography)">measure</a>:</p>
<blockquote>
<p>Anything from 45 to 75 characters is widely regarded as a satisfactory length of line for a single-column set in a serifed text face in a text size. The 66 character line (counting both letters and spaces) is widely regarded as ideal. </p>
</blockquote>
<p>Bringhurst is talking about setting type on a fixed page. This doesn&#8217;t work with a liquid layout as the columns would get stretched at large screen sizes leaving the measure of single-columns too long. This got me thinking about the idea that the use of media queries could play a role in the resizing of text as the page widens. I think this technique could work well. </p>
<p>I also thought about the use of <a href="http://www.alistapart.com/articles/css3multicolumn/">multi-columns</a> to split the content into two columns that could be easily digestible. Bringhurst informs us on choosing a comfortable measure for two columns:</p>
<blockquote>
<p>For multi-column work, a better average is 40 to 50 characters. </p>
</blockquote>
<p>We could easily apply this to modern web browsers. </p>
<p>Then I read a <a href="http://www.subtraction.com/2011/04/28/my-column-on-columns">piece written by Khoi Vinh</a>. He argues the notion that columns on the web don&#8217;t work: </p>
<blockquote>
<p>All of this, I would say, makes columnized text inferior to the alternative: a single column of text, scrolling from top to bottom on a page that’s as tall as is necessary to accommodate the entirety of the text. Scrolling text allows users to advance at exactly their own pace — a paragraph at a time or even a line at a time. It also lets them shoot down to the bottom of an article — or even its middle — in an instant, without the multiple clicks or repeated swipes required in paginated layouts. This is the way most digital media works and for good reason.</p>
</blockquote>
<p>I completely agree. </p>
<p>The web is a different monster than printed media. Users are accustomed to scrolling text on the web. The native iPad apps that page horizontally feel strange to me when because I&#8217;m not allowed to scroll down when reading an article. I think the idea and experience is novel but awkward. </p>
<p>I&#8217;m not sure how this will play out but I do know, <a href="http://www.lukew.com/ff/entry.asp?1301">just as Luke Wroblewski says</a>, I&#8217;m betting on the web as a platform. </p>
]]></content:encoded>
			<wfw:commentRss>http://jasonweaver.name/blog/text-and-the-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

