Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Responsive Web Design and its Impact on Higher Ed

Responsive Web Design and its Impact on Higher Ed

Erik Runyon, Director of Web Communications, University of Notre Dame

Runyon oversees the development of university web properties and sets development standards for University Communications. He is a staunch advocate of accessibility, semantics, the mobile experience, and data portability.

Erik can be found talking Web at WeedyGarden.net and conveying ND.edu specific information on the ND.edu blog. He can be found on Twitter at @erunyon.

UW Oshkosh

June 27, 2013
Tweet

More Decks by UW Oshkosh

Other Decks in Education

Transcript

  1. What We’ll Cover I. Why Mobile Matters II. What is

    RWD? III. From Mobile to Responsive IV. RWD in HigherEd
  2. 2010 ND.edu 2.6% Admissions 3.6% Game Day 7.2% 2011 ND.edu

    4.4% Admissions 8.8% Game Day 26.1% 2012 ND.edu 12.5% Admissions 24.1% Game Day 37.9%
  3. Fluid grids, flexible images, and media queries are the three

    technical ingredients for responsive web design… Ethan Marcotte
  4. Media Queries @media screen, projection {} @media print {} @media

    only screen and (max-width:30em) {} @media only screen and (min-width:30em) {} @media only screen and (min-width:30em) and (max-width:47em) {} @media only screen and (min-width:48em) and (max-height:37em) {}
  5. “I wanted to share my opinion of the new ND

    web site with you - in a word, it's awful. Quite frankly, I am unable to find anything about the site that is positive. It is not clear why the change was made but the individual that came up with the idea should be fired along with the individual(s) that approved the change. Contrary to the old site - I make every effort to avoid using the new site.”
  6. // IN THE HEAD OF THE DOCUMENT <link href="webkit.css" media="only

    screen and (max-width: 480px)" rel="stylesheet" type="text/css" /> <link href="mobile.css" media="handheld" rel="stylesheet" type="text/css" /> // IN THE JS (IMMEDIATELY FOLLOWING CSS) if( (navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/Android/i)) || (navigator.userAgent.match(/webOS/i))) { !// REMOVES ALL STYLESHEETS ... !for (var k=0;k < document.styleSheets.length; k++) { !! if (document.styleSheets[k].href != null && document.styleSheets[k].href.lastIndexOf("webkit") == -1) { !! ! document.styleSheets[k].disabled = true; !! } !} !window.scrollTo(0,1); }
  7. <meta name="viewport" content="width=device-width; initial-scale=1.0;"> /************************************************************************** @media queries **************************************************************************/ /* iPad

    landscape ----------- */ @media only screen and (min-width:801px) and (max-width:1100px) {} /* iPad portrait ----------- */ @media only screen and (max-width:768px) {} /* Mid-Size Tablets (Galaxy Tab) (portrait) ----------- */ @media only screen and (max-width:591px) and (orientation:portrait) {} /* Smartphones (portrait and landscape) ----------- */ @media only screen and (min-width: 320px) and (max-width: 480px) {} /* Smartphones (portrait) ----------- */ @media only screen and (min-width:320px) and (max-width:380px) {}
  8. June 2011 Redesign Goals •Replace Flash carousel with feature story

    image •Train internal audience to go elsewhere •Mobile friendly (Adaptive design)
  9. /************************************************************************** @media queries **************************************************************************/ /* Tablets landscape */ @media only

    screen and (max-width:1100px) {} /* Tablets portrait */ @media only screen and (max-width:800px) {} /* Mid-Size Tablets */ @media only screen and (max-width:600px) {} /* Smartphones (landscape) */ @media only screen and (max-width:480px) {} /* Smartphones (portrait) */ @media only screen and (max-width:320px) {}
  10. Goals • Design from mobile to HD • Build mobile

    first using RWD • Keep mobile experience fast • Maintain content parity • Finish in eight weeks
  11. “The absence of support for @media queries is in fact

    the first @media query” @bryanrieger slideshare.net/bryanrieger/rethinking-the-mobile-web-by-yiibu
  12. mobile first @mq 1. Global 2. Screen 3. @media queries

    as needed 4. Hi-res/retina specific 5. Print (yes, print)
  13. GIF

  14. http://xkcd.com/1174/ If I click 'no', I've probably given up on

    everything, so don't bother taking me to the page I was trying to go to. Just drop me on the homepage. Thanks.
  15. http://www.websiteoptimization.com/speed/tweak/average-web-page/ http://www.webperformancetoday.com/2012/05/24/average-web-page-size-1-mb/ “The size of the average web page of

    the top 1000 websites has more than tripled since 2008. In the past five years from 2008 to late 2012 the average web page grew from 312K to 1114K, over 3.5 times larger” - websiteoptimization.com (Nov 11, 2012) In the past 18 months, the average web page has grown by 50% — from 702 KB in November 2010 to 1042 KB on May 1, 2012. At this rate, the average page will hit 2 MB by 2015. - webperformancetoday.com (May 24, 2012)
  16. “Out of the 106 sites I reviewed, 64 of them

    had mobile sites that were less than ten percent smaller than the desktop version. Twenty-six of the sites had mobile web sites that were larger than the desktop equivalent.” @grigs http://www.uie.com/articles/mobile_first_rwd/
  17. averages for #highered RWD sites 128 sites sampled at full

    size requests: 61 size: 1.7 MB Sites used to generate these stats: http://bit.ly/highered-rwd
  18. averages for #highered RWD sites 128 sites sampled with iPhone

    UA and narrow screen (to simulate mobile) requests: 57 size: 1.6 MB Sites used to generate these stats: http://bit.ly/highered-rwd
  19. averages for #highered RWD sites > 1 MB = 82

    > 2 MB = 32 > 3 MB = 17 > 4 MB = 6 Sites used to generate these stats: http://bit.ly/highered-rwd
  20. averages for #highered RWD sites 128 sites sampled with iPhone

    UA and narrow screen (to simulate mobile) js: 12 files/227 KB css: 7 files/99 KB images: 32 files/1 MB (73% of page size) Sites used to generate these stats: http://bit.ly/highered-rwd
  21. stand-outs * West Chester University wcupa.edu West Virginia University wvu.edu

    21 requests | 340 KB 26 requests | 361 KB http://notredame.photoshelter.com/gallery-image/2012-Graduate-School-Ceremony/G0000QHnZV6vbKHg/I0000S5ossz793xo * Not including ND.edu in a veiled attempt at being humble
  22. http://www.alistapart.com/articles/dao/ “...make pages which are adaptable. Make pages which are

    accessible, regardless of the browser, platform or screen that your reader chooses or must use to access your pages.” John Allsopp @johnallsopp
  23. http://www.alistapart.com/articles/dao/ “The web’s greatest strength, I believe, is often seen

    as a limitation, as a defect. It is the nature of the web to be flexible, and it should be our role as designers and developers to embrace this flexibility, and produce pages which, by being flexible, are accessible to all.” John Allsopp @johnallsopp
  24. Summary Learn from the mistakes/successes of others Building responsively requires

    planning We broke the web, and now we’re trying to “fix” it But it’s not easy, and it’s going to take time to get it right