<?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>The Internet Rhetorician</title> <atom:link href="http://internetrhetorician.com/feed/" rel="self" type="application/rss+xml" /><link>http://internetrhetorician.com</link> <description>Web Design and Development Techniques – and Using Them Well</description> <lastBuildDate>Mon, 19 Mar 2012 02:43:49 +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>An Ajax-y CSS Tutorial: Part 1</title><link>http://internetrhetorician.com/2012/an-ajaxy-css-tutorial-part-1/</link> <comments>http://internetrhetorician.com/2012/an-ajaxy-css-tutorial-part-1/#comments</comments> <pubDate>Mon, 19 Mar 2012 00:13:24 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[css]]></category> <category><![CDATA[tutorial]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=475</guid> <description><![CDATA[Back in 2010, Chris Coyier wrote an article on using jQuery to implement an AJAX-powered content updater, so that a user could view multiple pages without a page refresh. It was cool, well thought out, and thought-provoking, for me at least. I got to wondering &#8220;could you do something similar with CSS&#8221;. Well, no, you [...]]]></description> <content:encoded><![CDATA[<p>Back in 2010, Chris Coyier <a
title="Dynamic Page / Replacing Content | CSS-Tricks" href="http://css-tricks.com/dynamic-page-replacing-content/">wrote an article</a> on using jQuery to implement an AJAX-powered content updater, so that a user could view multiple pages without a page refresh. It was cool, well thought out, and thought-provoking, for me at least. I got to wondering &#8220;could you do something similar with CSS&#8221;. Well, no, you can&#8217;t do AJAX with CSS. But you can do something that looks kind of similar, using CSS&#8217;s :target pseudo-class.</p><p><span
id="more-475"></span></p><h1>Requirements</h1><p>Now, this is supposed to emulate the performance of Chris&#8217; dynamic content demo, and thus it should also have to follow his three requirements. It must:</p><ul
class="bulleted"><li>work with JavaScript disabled (no JavaScript, so no problem),</li><li>allow for deep linking, and</li><li>keep the Back and Forward buttons from breaking</li></ul><p>Okay, now let&#8217;s start coding.</p><h1>Markup</h1><p>Now the markup for this is pretty simple.</p><pre>&lt;header id="site-header"&gt;
  &lt;div id="site-name"&gt;Our Awesome Site&lt;/div&gt;
  &lt;nav id="site-nav"&gt;
    &lt;ul&gt;
      &lt;li class="page-link"&gt;&lt;a href="#home" class="page-link"&gt;Home&lt;/a&gt;&lt;/li&gt;
      &lt;li class="page-link"&gt;&lt;a href="#about" class="page-link"&gt;About Us&lt;/a&gt;&lt;/li&gt;
      &lt;li class="page-link"&gt;&lt;a href="#contact" class="page-link"&gt;Contact&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/nav&gt;
&lt;/header&gt;
&lt;div id="site-wrapper"&gt;
  &lt;section class="page" id="home"&gt;
    &lt;!--"Home" Content Goes Here --&gt;
  &lt;/section&gt;
  &lt;section class="page" id="about"&gt;
    &lt;!--"About Us" Content Goes Here --&gt;
  &lt;/section&gt;
  &lt;section class="page" id="contact"&gt;
   &lt;!--"Contact" Content Goes Here --&gt;
  &lt;/section&gt;
&lt;/div&gt;</pre><p>And <a
title="Demo 1" href="http://internetrhetorician.com/demos/CSS-Ajax/Demo1.html">here is how it looks</a>, with some basic styling and dummy content. The anchor links on the right will drop you down to the &#8220;page&#8221; you are after, even though this is just a one page layout right now. Let&#8217;s fix that.</p><h1>CSS</h1><p>At its very core, the CSS powering this ajax-looking mechanism is very simple; just set the pages to not display, and then display them when they are the target, like so.</p><pre>.page { display: none; }
.page:target { display: block; }</pre><p>If you <a
title="Demo 2" href="http://internetrhetorician.com/demos/CSS-Ajax/Demo2.html">take a look at it</a>, however, you will notice a couple issues.</p><p>The first (depending on your browser; it doesn&#8217;t seem to happen in Opera), is that, if the page has enough content to require scrolling, the page will jump down a bit so the header is off screen. This isn&#8217;t a huge issue, but it can be a bit jarring, and doesn&#8217;t really give us the effect we&#8217;re looking for.</p><p>The main problem, however, is that if you just load the page, without any hash, nothing appears on the content. There is no item that is a target so nothing shows up unless you click a link. Lucky for us, both of these are fixable with a little CSS trickery.</p><h1>Bug Fixing</h1><p>Fixing the &#8220;jump&#8221; effect is pretty easy. When you go to an anchored item, the browser puts the top of that item at the top of the screen. We can work around this through the use of top padding and a negative top margin. To do this, we will need to know the complete height (height, plus margins) of the content that will appear above the page content. A quick check with firebug shows that the site header on this page is 92px tall, and has 10px padding on top and bottom, giving a total of 112px. Therefore, our new page target rule should be as follows:</p><pre>.page:target {
  display: block;
  margin-top: -112px;
  padding-top: 112px;
}</pre><p>To fix the homepage issue, however, will take a bit more work. The first thing we&#8217;ll have to do is move the &#8220;#home&#8221; page to the bottom of the &#8220;#site-wrapper&#8221; div (I&#8217;ll explain in a second), so our layout is now like this:</p><pre>&lt;section class="page" id="about"&gt;
  &lt;!--"About Us" Content Goes Here --&gt;
&lt;/section&gt;
&lt;section class="page" id="contact"&gt;
 &lt;!--"Contact" Content Goes Here --&gt;
&lt;/section&gt;
&lt;section class="page" id="home"&gt;
  &lt;!--"Home" Content Goes Here --&gt;
&lt;/section&gt;</pre><p>And now, we change the CSS to the following:</p><pre>.page, .page:target ~ #home{
  display: none;
}
#home, .page:target {
  display: block;
  margin-top: -112px;
  padding-top: 112px;
}</pre><p>What we&#8217;re doing here is leveraging CSS specificity and the sibling selector to work our magic. The first rule says to make anything with a class of &#8220;page&#8221; not display. Also, if an item has an id of &#8220;home&#8221;, <em>and</em> it is preceded by an item with a class of &#8220;page&#8221; and is the target of the hash, then don&#8217;t display it either. This makes the homepage vanish if any other page is being displayed, and explains why we had to move the &#8220;#home&#8221; page to the bottom, as the sibling selector can&#8217;t be used to relate an element to one that comes after it, sadly.</p><p>The second rule makes a page display if it is the target, or if it has the id &#8220;home&#8221;. The home rule is overridden by the one above, when it applies, and also makes any other page be displayed when it is the target.</p><p><a
title="Demo 3" href="http://internetrhetorician.com/demos/CSS-Ajax/Demo3.html">Give it a look</a>.</p><h1>A Little Extra Polish</h1><p>Now, we&#8217;ve got this all working nicely, but can we make it a bit more flashy? Chris Coyier&#8217;s example had a quick fade transition between pages. With a little more CSS tweaking, we can get the same for our page.</p><p>The first thing we have to do is get rid of our use of &#8220;display: none;&#8221;. It&#8217;s nice and compact, but it doesn&#8217;t really work with CSS transitions. so instead, we&#8217;ll set it up as follows:</p><pre>.page, .page:target ~ #home {
  position: absolute;
  height: 0;
  left: -1000%;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease-out;
  -moz-transition: opacity 0.5s ease-out;
  -o-transition: opacity 0.5s ease-out;
  -ms-transition: opacity 0.5s ease-out;
  transition: opacity 0.5s ease-out;
}</pre><p>This sets the content off to the side, makes it invisible, and preps it for transitioning when we click on a link. To get that working, we change our display code to the following:</p><pre>#home, .page:target {
  position: static;
  opacity: 1;
  height: auto;
  margin-top: -112px;
  padding-top: 112px;
}</pre><p>And <a
title="Demo 4" href="http://internetrhetorician.com/demos/CSS-Ajax/Demo4.html">here it is</a> in operation.</p><p>Not bad, eh?</p><h1>IE Support?</h1><p>Now, I&#8217;m sure that many of you are unleashing that perennial web dev query &#8220;What about IE?&#8221;. And of course, IE comes along and buggerizes everything. As you might have guessed, IE6 doesn&#8217;t support the :target pseudo-class. Nor does IE7. Or IE8.</p><p>Damn.</p><p>So, what do we do? Are we out of luck? Fortunately, it&#8217;s pretty easy to implement an IE fix with JavaScript, which we&#8217;ll be looking at in part two of this tutorial, as well as discussing whether or not this technique has any practical applications. Until then!</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2012/an-ajaxy-css-tutorial-part-1/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Cursor Property: An Under-Appreciated CSS Asset?</title><link>http://internetrhetorician.com/2011/the-cursor-property-an-under-appreciated-css-asset/</link> <comments>http://internetrhetorician.com/2011/the-cursor-property-an-under-appreciated-css-asset/#comments</comments> <pubDate>Thu, 15 Dec 2011 10:04:26 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[design]]></category> <category><![CDATA[rant]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=469</guid> <description><![CDATA[In CSS, some properties just seem sexier than others, and get most of the coverage. Articles talking about new CSS3 properties like border-radius, box-shadow, and transition are a dime a dozen. Other properties, however, seem to get swept under the proverbial rug. When was the last time you read something on the intricacies of the [...]]]></description> <content:encoded><![CDATA[<p>In CSS, some properties just seem sexier than others, and get most of the coverage. Articles talking about new CSS3 properties like <em>border-radius</em>, <em>box-shadow</em>, and <em>transition</em> are a dime a dozen. Other properties, however, seem to get swept under the proverbial rug. When was the last time you read something on the intricacies of the <em>color</em> tag? That&#8217;s a bit of a shame, because sometimes a property with a lot of potential can get unfairly neglected. I happen to think that the subject of this little rant – the <em>cursor</em> property – is one such unfairly forgotten feature.<br
/> <span
id="more-469"></span><br
/> The reason for this neglect is not, I believe, because the property is of little use. Rather, I think it&#8217;s because browsers by-and-large do a good job of handling cursor control for you. Links already get a &#8220;pushable&#8221; icon, text inputs get, well, a text icon, and so forth. If you&#8217;re just making a simple static page, the browser defaults are going to be fine 99% of the time.</p><p>We are, however, no longer just making simple static pages. Even if we&#8217;re not making full-on web apps, we still probably are including much more dynamism than we might have ever thought would be even five years ago. And with this increased power comes an increased responsibility for usability. This is where the cursor icon comes in handy.</p><p>Users have for years now seen the cursor, both on the desktop and increasingly on the web, as a way to tell what something they&#8217;re hovering over is. Does it have the little pointy finger? Then it&#8217;s probably something to click. Does it have the little hourglass or the spinning circle? Then the page is probably doing something in the background.</p><p>We can leverage this familiarity in our own designs. For example, if your page is going to do something that might take a second (like an AJAX request, perhaps), it&#8217;s generally a good idea to give your user some immediate feedback, to let them know that the click was received and that you&#8217;re working on it. In that case, setting the &lt;body&gt; element&#8217;s cursor value to &#8220;wait&#8221; or &#8220;progress&#8221; might be a good way to let your users know that you&#8217;re on the job.</p><p>Or maybe you have images that can be clicked on to open up a lightbox. Be sure to set the &lt;img&gt; elements&#8217; cursor to &#8220;pointer&#8221; to show the users that the pics accept clicks. This could be used with other effects, like lightening or darkening the image on a hover, but it could also used by itself. In fact, I&#8217;d honestly think that the simpler, cursor-only way might be more intuitive to users, as I&#8217;d imagine they wouldn&#8217;t have to think as much about what the change might mean.</p><p>These are just a couple ideas I had writing this. Another might be using the &#8220;move&#8221; value if your page/app has any drag-and-drop functionality. And of course, there&#8217;s always the &#8220;url()&#8221; value, if you want to get creative. Go give <a
href="http://www.w3.org/TR/CSS21/ui.html#propdef-cursor" title="W3C :: UI - Cursor">the spec on the cursor</a> a look. See if it sparks any ideas. Oh, and if you think of something cool, be sure to share it in the comments!</p><p>Edit: I just found <a
href="http://html5advent2011.digitpaint.nl/3/index.html" title="What Happened To My Cursor">this article</a>, which also talks about cursor customization, and even discusses the coming CSS3 cursor options. Give it a look.</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/the-cursor-property-an-under-appreciated-css-asset/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A List Apart On 2011; And My Thoughts Too</title><link>http://internetrhetorician.com/2011/a-list-apart-on-201/</link> <comments>http://internetrhetorician.com/2011/a-list-apart-on-201/#comments</comments> <pubDate>Tue, 13 Dec 2011 20:09:38 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[News]]></category> <category><![CDATA[mindfulness]]></category> <category><![CDATA[news]]></category> <category><![CDATA[read-it]]></category> <category><![CDATA[rhetoric]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=466</guid> <description><![CDATA[Well, it&#8217;s December, so the season of yearly wrap-ups has begun. One of the first pieces to cross my path was A List Apart&#8216;s &#8220;What I learned About the Web in 2011&#8220;, a collection of short (1-3 paragraph) thoughts by various members of the web community. It&#8217;s a nice read, and covers a lot of [...]]]></description> <content:encoded><![CDATA[<p>Well, it&#8217;s December, so the season of yearly wrap-ups has begun. One of the first pieces to cross my path was <em>A List Apart</em>&#8216;s &#8220;<a
title="A List Apart :: What I Learned About the Web in 2011" href="http://www.alistapart.com/articles/what-i-learned-about-the-web-in-2011/">What I learned About the Web in 2011</a>&#8220;, a collection of short (1-3 paragraph) thoughts by various members of the web community. It&#8217;s a nice read, and covers a lot of ground, ranging from standards to what constitutes a book in these Kindle/Nook/Kobo saturated days. My favorite was probably Jon Tan&#8217;s &#8220;We Who Are Web Designers&#8221;, and <a
title="We Who Are Web Designers" href="http://jontangerine.com/log/2011/09/we-who-are-web-designers">his article of the same name</a> he linked to. It&#8217;s a nice little manifesto of the field, and definitely worth a read. That being said, I think that the big issue of the year was mobile, and the development of responsive design. The <em>List Apart</em> article has plenty of thoughts on those issues, but here are mine.<br
/> <span
id="more-466"></span><br
/> First of all, I think that this is the year that the mobile web has detonated. I don&#8217;t think it has exploded yet (mobile still only accounts for <a
href="http://gs.statcounter.com/#mobile_vs_desktop-ww-monthly-201011-201111" title="Global Stats :: Mobile vs Desktop Market Share">about 7%</a> of online activity), but the button has been pressed, and I expect that next year will be when it really starts to blow up (it&#8217;s being suggested that mobile will <a
href="http://www.guardian.co.uk/technology/blog/2010/sep/30/mobile-internet-overtake-desktop" title="The Guardian :: Mobile to Overtake Desktop by 2014">overtake the desktop by 2014</a>).</p><p>To prepare for this, we&#8217;re going to have to start adopting responsive design. It may seem like it&#8217;s more work, but after dabbling with it a bit, I&#8217;m wishing I&#8217;d started looking into it earlier. Not only does it make it easier to tailor design for different users, but it&#8217;s also helped me break structure away from design. It forces you to start thinking of the page in terms of functional units; the things that have to stick together somehow no matter how the page might change. It&#8217;s really helped me see what exactly a page is, rather than just a flow of content. In a way, it&#8217;s doing the same thing that my adoption of semantic markup got me doing. That, however, is a discussion for another day (soon).</p><p>In the meantime, happy reading, happy coding, and a happy holiday season to you all!</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/a-list-apart-on-201/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Patternizer: My First Plugin</title><link>http://internetrhetorician.com/2011/patternizer-my-first-plugin/</link> <comments>http://internetrhetorician.com/2011/patternizer-my-first-plugin/#comments</comments> <pubDate>Sun, 11 Dec 2011 08:55:15 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[Site News]]></category> <category><![CDATA[canvas]]></category> <category><![CDATA[downloads]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jQuery]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=459</guid> <description><![CDATA[Just thought I would let you all know that I&#8217;ve released my first jQuery plugin, called Patternizer. It uses the &#60;canvas&#62; API to generate one of a number of different patterns, and then render it as a background image for the target element(s). Each pattern is quite customizable, allowing for rapid prototyping of pages. I [...]]]></description> <content:encoded><![CDATA[<p>Just thought I would let you all know that I&#8217;ve released my first jQuery plugin, called Patternizer. It uses the &lt;canvas&gt; API to generate one of a number of different patterns, and then render it as a background image for the target element(s). Each pattern is quite customizable, allowing for rapid prototyping of pages. I discuss the possible uses of the plugin (and some caveats) on the <a
href="http://internetrhetorician.com/patternizer/" title="Patternizer: A jQuery Plugin">plugin&#8217;s homepage</a>.</p><p>Hope you all like it!</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/patternizer-my-first-plugin/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>jQuery 1.7 Released</title><link>http://internetrhetorician.com/2011/jquery-1-7-released/</link> <comments>http://internetrhetorician.com/2011/jquery-1-7-released/#comments</comments> <pubDate>Fri, 04 Nov 2011 07:39:14 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[News]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jQuery]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=457</guid> <description><![CDATA[Just a quick note to inform any who haven&#8217;t yet heard, jQuery 1.7 has been released. It doesn&#8217;t look like a major change, but the .on() and .off() event handler methods look interesting, and I like the change they&#8217;ve made to the toggle animations.]]></description> <content:encoded><![CDATA[<p>Just a quick note to inform any who haven&#8217;t yet heard, <a
href="http://blog.jquery.com/2011/11/03/jquery-1-7-released/" title="jQuery 1.7">jQuery 1.7 has been released</a>. It doesn&#8217;t look like a major change, but the .on() and .off() event handler methods look interesting, and I like the change they&#8217;ve made to the toggle animations.</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/jquery-1-7-released/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Web Design Ethics</title><link>http://internetrhetorician.com/2011/web-design-ethics-2/</link> <comments>http://internetrhetorician.com/2011/web-design-ethics-2/#comments</comments> <pubDate>Wed, 02 Nov 2011 23:56:32 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[Rhetoric]]></category> <category><![CDATA[ethics]]></category> <category><![CDATA[mindfulness]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=452</guid> <description><![CDATA[The latest edition of A List Apart has come out, and one of the articles, Dark Patterns: Deception vs. Honesty in UI Design, is a particularly stimulating read. Articles that discuss how to do cool things are pretty common, but ones that discuss if we should do them? They&#8217;re rather rarer. Thankfully this article gives us [...]]]></description> <content:encoded><![CDATA[<p>The latest edition of <a
title="A List Apart" href="http://www.alistapart.com/">A List Apart</a> has come out, and one of the articles, <em><a
title="A List Apart :: Dark Patterns: Deception vs Honesty in UI Design" href="http://www.alistapart.com/articles/dark-patterns-deception-vs.-honesty-in-ui-design/">Dark Patterns: Deception vs. Honesty in UI Design</a></em>, is a particularly stimulating read. Articles that discuss how to do cool things are pretty common, but ones that discuss if we <em>should</em> do them? They&#8217;re rather rarer. Thankfully this article gives us a chance to plumb these less-explored depths.</p><p><span
id="more-452"></span>I don&#8217;t want to just rehash the content of the article, but I&#8217;ll give a quick overview. Dark patterns (which are also being gathered <a
title="Dark Patterns" href="http://wiki.darkpatterns.org/Home">here</a>) are basically using our skills to decieve our users and trick them into signing up for something, or even paying for something they didn&#8217;t intend to. These are rather extreme examples though; very clearly &#8220;bad&#8221;. But what about having users signing up for a newsletter by default when they check out, with the option to opt out? Is that wrong?</p><p>Thankfully, the article doesn&#8217;t treat this as a black-and-white issue. There are plenty of situations of lighter or darker grey, and the article does a good job of exploring them.</p><p>Personally, I hope that the article, or ones like it, might spawn a more generalized discussion of ethics in the web development community. If the field is to become a full fledged profession, we could do well to work for a generally agreed-upon set of ethical guidelines. I don&#8217;t think that we&#8217;d ever have anything like the AMA&#8217;s or the Bar&#8217;s ethical boards, and we probably don&#8217;t need it.</p><p>That being said, with every day the web becomes a bigger and bigger piece of our economy, and our lives. If we&#8217;re designing the pages and apps where people buy and sell, learn and grow, then we need to recognize that we&#8217;ve been given power of a sort. With such power comes responsibility, and we if we ignore it, we do so at our, and society&#8217;s, detriment.</p><p>Be good.</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/web-design-ethics-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A FullScreen JavaScript API, and Some Usage Notes</title><link>http://internetrhetorician.com/2011/a-fullscreen-javascript-api-and-some-usage-notes/</link> <comments>http://internetrhetorician.com/2011/a-fullscreen-javascript-api-and-some-usage-notes/#comments</comments> <pubDate>Wed, 02 Nov 2011 21:15:35 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[App Development]]></category> <category><![CDATA[apps]]></category> <category><![CDATA[javascript]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=444</guid> <description><![CDATA[Just a quick note for you. If you&#8217;re into web app development, this might be an interesting read. It&#8217;s on using JavaScript to make pages fullscreen, hiding the browser chrome and making your page or app act more like a native application. I especially like the video example, and I think that this is where [...]]]></description> <content:encoded><![CDATA[<p>Just a quick note for you. If you&#8217;re into web app development, this might be <a
title="Full Screen JavaScript API" href="http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/">an interesting read</a>. It&#8217;s on using JavaScript to make pages fullscreen, hiding the browser chrome and making your page or app act more like a native application. I especially like the video example, and I think that this is where it will start off being implemented. The possibilities, however, are much more varied. They also, however, come with some considerations you must take into account</p><p><span
id="more-444"></span></p><p>First, it&#8217;s on the bleeding edge, support-wise. Only the latest versions of Chrome, Safari 5.1+ (an earlier API can be used with 5.0), and the Firefox nightlies support it. So don&#8217;t go thinking this will be ready for prime time as a piece of core functionality for a while,  at least a year I&#8217;d wager, if not longer (especially if IE10 doesn&#8217;t support it). It will probably be a nice bit of progressive enhancement in the mean time, especially for doing things like enabling fullscreen HTML5 video.</p><p>Now, if you are going to be using this tech, I strongly suggest you have a <em>persistent</em> explanation of how to exit the full screen. This is something that is thankfully in the video demo given in the article, but not in the simple demo. The simple demo just has a small text box that says &#8220;Exit Full Screen (F11)&#8221; that goes away after a second, only reappearing if your mouse goes near the top of the page. This is not enough, and I spent a minute clicking &#8220;escape&#8221; and other buttons trying to get back out (I missed the instructions as I was reading the text).  It doesn&#8217;t need to be much, but a familiar &#8220;[x]&#8221; in the top right would have been most welcome. In fact simple title bar would probably be a wise thing to include. Just make sure that it&#8217;s something that the user can click, and something they can always see.</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/a-fullscreen-javascript-api-and-some-usage-notes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A User Stats Wish List</title><link>http://internetrhetorician.com/2011/a-user-stats-wish-list/</link> <comments>http://internetrhetorician.com/2011/a-user-stats-wish-list/#comments</comments> <pubDate>Tue, 01 Nov 2011 17:05:43 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[Toolbox]]></category> <category><![CDATA[browsers]]></category> <category><![CDATA[statistics]]></category> <category><![CDATA[usability]]></category> <category><![CDATA[users]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=433</guid> <description><![CDATA[After writing my last post, I got to thinking. What, exactly, would my ideal web stat site offer? After some cogitating, I&#8217;ve realized there are two main things that I would love to see: correlated statistics, and niche statistics. Correlated Stats If you look at most of the stat websites I looked at, you can [...]]]></description> <content:encoded><![CDATA[<p>After writing my <a
title="User Statistic Sites: The Good, the Great, and the not so Great" href="http://internetrhetorician.com/2011/user-statistic-sites-the-good-the-great-and-the-not-so-great/">last post</a>, I got to thinking. What, exactly, would my ideal web stat site offer? After some cogitating, I&#8217;ve realized there are two main things that I would love to see: correlated statistics, and niche statistics.<br
/> <span
id="more-433"></span></p><h2>Correlated Stats</h2><p>If you look at most of the stat websites I looked at, you can see things like what percentage of users still use IE6 or the latest version of Chrome. You can see what resolutions are the most popular. You can (on some sites) see what percentage of users have JavaScript enabled. But I don&#8217;t know of any site that will let you combine these statistics.</p><p>For instance, say you want to use a JavaScript polyfill to support IE 7 and below. For the sake of argument, let&#8217;s assume your stats site of choice says that IE6 &amp; IE7 combine for 15% of all users. Then let&#8217;s assume that the same site says JavaScript isn&#8217;t supported by 3% of users. If you assume the two stats map evenly, you would get a percentage of 0.45%, or about 1 in 200, that use IE7 and below; probably won&#8217;t be worth supporting. But is that last assumption, that the two stats map evenly, valid?</p><p>I think it might not be. Think about it; who uses these older browsers? The less than very tech savvy (my parents would still be using IE6 if I hadn&#8217;t intervened), and people at companies that won&#8217;t upgrade from their current browser. They&#8217;re also the types of people I think are more likely to have disabled JavaScript, either because they read years ago that it might be dangerous to allow JavaScript, or because they have a corporate policy that disallows it. Maybe half of that 3% of users without JavaScript are also using IE7 and below.</p><p>This is probably an extreme example, but I think it would be nice if you could go to a site and ask for the percentage of users with, say, JavaScript enabled, using some version of IE, and with a resolution width greater than 1200px. I don&#8217;t think it would be that hard to implement: you could probably do it with a single (long) MySQL table of data.</p><h2>Niche Stats</h2><p>I actually though of this one while writing the last post, and we sort of have, to a limited extent. If you recall, I said that the W3Schools.com page might be more helpful if you&#8217;re designing something for web developers, i.e. with a similar target audience to W3Schools. That&#8217;s an example of niche site stats. It&#8217;s nice, but what if we had more than that. What if we could look at the stats of just eCommerce sites? Or of sites that target corporate clients almost exclusively? Some sites may be fairly universal – I&#8217;d imagine Google or Yahoo&#8217;s site stats are nigh indistinguishable from the Internet&#8217;s as a whole – but surely there are different genres of site that pull in users with stats that typically vary somewhat from the norm.</p><p>If you remember from last time, I said that the best stats you can have are the one&#8217;s from <em>your</em> site, so you can tailor your site to your actual audience. I think niche stats would provide a bit of a bridge between personalized stats and the universal stats you can get from the sites I&#8217;d reviewed.</p><p>That&#8217;s all I&#8217;ve got on my wishlist, stat-wise. What about you all? Can you think of anything else that would be a nice addition to our user stat toolbox?</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/a-user-stats-wish-list/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>User Statistic Sites: The Good, the Great, and the not so Great</title><link>http://internetrhetorician.com/2011/user-statistic-sites-the-good-the-great-and-the-not-so-great/</link> <comments>http://internetrhetorician.com/2011/user-statistic-sites-the-good-the-great-and-the-not-so-great/#comments</comments> <pubDate>Sun, 30 Oct 2011 20:29:44 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[Tools]]></category> <category><![CDATA[browsers]]></category> <category><![CDATA[mindfulness]]></category> <category><![CDATA[review]]></category> <category><![CDATA[tools]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=424</guid> <description><![CDATA[Knowing your audience is vital for any rhetorical endeavor. Ideally, you should be using a service like Google Analytics to track your users behavior. In addition to knowing things like browser use and resolution, you can also see things like where people are coming into your site and where they&#8217;re leaving from, and where your [...]]]></description> <content:encoded><![CDATA[<p>Knowing your audience is vital for any rhetorical endeavor. Ideally, you should be using a service like <a
title="Google Analytics" href="http://www.google.com/analytics/">Google Analytics</a> to track your users behavior. In addition to knowing things like browser use and resolution, you can also see things like where people are coming into your site and where they&#8217;re leaving from, and where your traffic is actually coming from. This helps you find places where your site might not be working as well as it should be.</p><p>Sometimes, however, this isn&#8217;t really an option. Maybe you&#8217;re just getting started with a site, and don&#8217;t have any users to analyze (yet). Or maybe you&#8217;re designing a template to sell or give away. Then, the user base might vary from installation to installation. One would hope that the people using the template would start using analytic software and tweak the site accordingly. This isn&#8217;t something you can count on, however, and in any event, if you&#8217;re putting something &#8220;out there&#8221; for the public to use, it should work right out of the box. In that case, you probably want to use some kind of statistics site.<br
/> <span
id="more-424"></span><br
/> But which one to believe? There are a number of sites out there, often with varying conclusions. Here are the top ones I&#8217;m familiar with, and what I think of them.</p><h2>The Good: <em>Global Web Stats</em> by W3Counter.com</h2><p><a
title="Global Web Stats: W3Counter.com" href="http://www.w3counter.com/globalstats.php">This site</a> is pretty good. Their stats seem to be, by and large, accurate. They draw their info from over 50,000 websites (who have installed their plugin and have an account with them), so it has a pretty wide source base. They also cover a variety of areas, including browser (the biggie), resolution, and OS (which can impact things like fonts).</p><p>My only real gripe with the site is that their data is a bit shallow. They list browser versions for IE, but I didn&#8217;t see any for other browsers. It just feels more like a summary than a report, if that makes sense. And, of course, there&#8217;s the issue of it competing with the next site on our list.</p><h2>The Great: <em>Global Stats</em> by StatCounter.com</h2><p><a
title="Global Stats: StatCounter.com" href="http://gs.statcounter.com/">This site</a> is awesome. It&#8217;s got a lot of great info, but the best thing about it is how customizable it is. Want to know worldwide browser stats? That&#8217;s the default. What about the browser stats of just the US? Easy enough to filter. It&#8217;s good because it let&#8217;s you get a feel of where different parts of the world are at. China is still <a
title="Chinese Browser Stats" href="http://gs.statcounter.com/#browser_version-CN-monthly-201107-201109">pretty big on IE6</a> (shudder). And where else are you going to see the <a
title="Antarctic Browser Trends" href="http://gs.statcounter.com/#browser_version-an-monthly-201107-201109">dramatic fall of Safari 5 in Antarctica</a>?</p><p>All in all, <em>Global Stats</em> provides a nice mix of depth and customizability, along with ease of use. It&#8217;s my first stop whenever I need to look at user info.</p><h2>The Almost as Great: <em>NetMarketShare</em></h2><p><a
title="NetMarketShare" href="http://marketshare.hitslink.com/">This site</a> too is pretty sweet. It&#8217;s got a <em>lot</em> of info for your perusal, and gets into the nitty gritty of usage, even giving items with a few <em>hundredths</em> of a percent. If you&#8217;re looking for detailed information, it&#8217;s pretty much the best place to go. However, there are two issues I have with it, that make it slightly less great that <em>Global Stats</em>, to me at least.</p><p>First, there is something of an information overload. If you&#8217;re just wanting to get a general overview, all the information they have is a bit much, and if you try filtering what you look at, you can get some odd results. Second, and this is just a personal pet peeve, but I don&#8217;t like that they have information behind a subscription paywall, <em>and they don&#8217;t tell you that it&#8217;s there until you request to see the info</em>. That second part is the real irker. I don&#8217;t mind having things behind a paywall, but I&#8217;d like to know what I can and can&#8217;t see before I try to see it. It just leaves me with a bit of disappointment when I try to view something, and then get told I can&#8217;t. And compared with the customization of stat parameters <em>Global Stats</em> allows, it feels a bit of a letdown.</p><p>These complaints are pretty minor, however, and it&#8217;s still a good site to check out.</p><h2>The Not-So-Great: <em>Browser Statistics</em> by W3Schools.com</h2><p><a
title="Browser Statistics: W3Schools.com" href="http://www.w3schools.com/browsers/browsers_stats.asp">This resource</a> is… ok. In certain circumstances. It has a number of issues (as does <a
title="W3 Fools" href="http://w3fools.com">W3Schools in general</a>), the most severe of which is <a
title="Wikipedia: Selection Bias" href="http://en.wikipedia.org/wiki/Selection_bias">selection bias</a>. Simply put, the stats they give are based on traffic <em>to W3Schools.com</em>. In general, you might expect that visitors to a site on web development might skew a bit to the more tech savvy. You might expect more of them to be using up to date browsers instead of older IE versions. You might expect them to be more likely to have bigger screens. And, in general, that&#8217;s what you find. When you compare the W3Schools stats with other sites, you find that the W3School user pool is much more tech friendly than the public at large.</p><p>And this isn&#8217;t just my take on them. If you look near the bottom of their stat page, they have the following disclaimer:</p><blockquote><p>W3Schools is a website for people with an interest for web technologies. These people are more interested in using alternative browsers than the average user. The average user tends to the browser that comes preinstalled with their computer, and do not seek out other browser alternatives.</p><p>These facts indicate that the browser figures above are not 100% realistic. Other web sites have statistics showing that Internet Explorer is a more popular browser.</p><p>Anyway, our data, collected from W3Schools&#8217; log-files, over many years, clearly shows the long and medium-term trends.</p></blockquote><p>Now, this does not mean that their stats are necessarily wrong, or even useless. If you are designing a site that you expect to have a fairly tech competent user base (like, say, a web design/development blog), then your users will probably be closer to the type that might visit W3Schools, rather than the average user pool. In this case, it might be worth basing your decisions off of this site.</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/user-statistic-sites-the-good-the-great-and-the-not-so-great/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Chris Coyier On What We Don&#8217;t Know.</title><link>http://internetrhetorician.com/2011/chris-coyier-on-what-we-dont-know/</link> <comments>http://internetrhetorician.com/2011/chris-coyier-on-what-we-dont-know/#comments</comments> <pubDate>Wed, 26 Oct 2011 21:29:00 +0000</pubDate> <dc:creator>Warren</dc:creator> <category><![CDATA[Blogs]]></category> <category><![CDATA[accessibility]]></category> <category><![CDATA[mindfulness]]></category> <category><![CDATA[read-it]]></category> <category><![CDATA[skills]]></category> <guid
isPermaLink="false">http://internetrhetorician.com/?p=403</guid> <description><![CDATA[Just wanted to give an additional plug to the latest post by Chris Coyier over at CSS-Tricks. In one of my first posts, I said that one of the most important things to know was what you don&#8217;t actually know, and how to appropriately deal with those unknowns. Well, Chris has gathered a whole bunch [...]]]></description> <content:encoded><![CDATA[<p>Just wanted to give an additional plug to the latest post by Chris Coyier over at <a
title="CSS-Tricks" href="http://css-tricks.com">CSS-Tricks</a>. In one of my <a
title="What is an Internet Rhetorician?" href="http://internetrhetorician.com/2010/what-is-an-internet-rhetorician/">first posts</a>, I said that one of the most important things to know was what you don&#8217;t actually know, and how to appropriately deal with those unknowns. Well, Chris has gathered a whole bunch of them up in a post entitled (appropriately enough) <a
title="What We Don't Know" href="http://css-tricks.com/14664-what-we-dont-know/">What We Don&#8217;t Know</a>.  The great thing about it is that it not only tells what we don&#8217;t know, it also gives a quick overview of what we do (or at least should be doing) about it. It&#8217;s a quick read, but it&#8217;s got quite a bit of good stuff in it. Go read it, if you haven&#8217;t already. Now.</p> ]]></content:encoded> <wfw:commentRss>http://internetrhetorician.com/2011/chris-coyier-on-what-we-dont-know/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>