SlideShare a Scribd company logo
Re-Coding for Responsive Design:
Tips, Tricks, and Traps
Alicia Virtue
Santa Rosa Junior College
February 19, 2014
Library Website Re-coded to Responsive Design
1) Add responsive design behavior
while making no visual change for
instructors teaching classes.
2) Add responsive design behavior
while making no thematic changes
to the “official” college look.
Design Restrictions
Column Behavior
Three column presentation
Adapts to single
column on handheld
3 column layout adapts to single column presentation on smaller viewports.
Column Behavior
How? …
2 column layout adapts to single column presentation on smaller viewports.
Two column presentation
Adapts to single
column on handheld
Media Queries Used to Control Column Behavior
Mobile Layout:
• The width of each column is established at 100%.
• The left margins of all columns are set to zero so that all column content
displays flush left.
Tablet and Desktop Layout:
• The width of each column is partitioned to 32%.
• The left-most column margin is set to zero so that the content will flush left.
The margins of the second two columns are assigned percentage values to
allow for fluid allocation of margin space.
Handy for Media Queries Examples and Inspiration:
http://nmsdvid.com/snippets/ and http://mediaqueri.es/
Page Layouts Converted to Fluid Design
Frameworks: Bootstrap, Skeleton,
Foundation by Zurb…
I used Dreamweaver CS6 with HTML5
Boilerplate. Its fluid grid layouts use
two elements to function:
• boilerplate.css: HTML5 Boilerplate
CSS with starting styles.
• respond.min.js: Support for fluid
layouts to older browsers.
Characteristics
• Dimensions are determined by percentages.
• Use media queries and CSS styles to optimize layouts at different resolutions
Start Mobile
Build layouts for each of the three starter sizes by working with the mobile layout first. Then
update the container positioning for the tablet and desktop layouts.
Adapted Menu Behaviors to Responsive Design
Problem: Buggy Behavior on iOS5
The first item selected in the dropdown becomes
activated instead of releasing the submenu items for
selection. This problem was first reported in 2011 in iOS5.
Top Navigation
Menu
Top menu
collapses down to
smartphone
screen size
Troll the Web for Samples
The dropdowns are an adaptation of scripts and
CSS shared by Tessa Thorton. Thank you, Tessa.
Landing Page as Alternate Navigation for Behavioral Problems
The Fallback Solution, for iOS5…
Give the user an alternative page to land on, with all navigation options available
for selection.
Menu Behaviors Adapted to Handheld Devices
Troll the Web for Samples
The jquery plugin for the boxtabs are an
adaptation of scripts and CSS shared by
ZoZo Tabs. Thank you, ZoZo Tabs.
Menu Behavior
Research Box menu
collapses down to
smartphone screen
size.
Graphic Presentation Adapted to Responsive Design: JQuery Plugins
Lightbox
presentation
of
photographs
Book
carousels for
library book
samplers
Rotating
image
slideshows
Lengthy Content Adapted to Responsive Design
Scroller relief! Lengthy page content collapsible for
easier scrolling.
Box Hop
Boxes resize to
viewports.
Lengthy Content Adapted to Responsive Design
Box Hop
Required 6
media queries
with different
box %
definitions.
Collapsing
Levels
Old code
repurposed for
new
application!
Problem, Problems, Problems…..
Not Responsive…
Just about anything we link to!
• Databases
• LibGuides (Coming soon)
• LibGuide Embedded Tools, such as RAPs
• The SRJC College Designated Moodle Theme
Yuk!
Text and visuals are cut off in
non-responsive design
Problem, Problems, Problems…..
Old Browsers…They’re Still Around
IE8: No support for responsive design.
(500 computers on campus running IE8….or lower!)
The Fix:
1) Use a polyfill to help create responsive design
functionality. See Paul Irish’s list of polyfills:
https://github.com/Modernizr/Modernizr/wiki/HTML5
-Cross-browser-Polyfills
2) Multiple sets of CSS for IE7, IE8, and IE9+ in various
instances. Not great…
Old Equipment: Class Projection Units
Campus projection units from 2006 display at the same resolution as an iPad: the
presentation designed for an iPad sized screen displayed on classroom display projectors.
The Fix:
Removing the device specification (min-device-width and max-device-width) in the media
query that governed the 1024 resolution.
Responsive Design Testing Online
Responsivator: http://responsivator.werstnet.com/
Matt Kersley: http://mattkersley.com/responsive/
Responsinator: http://www.responsinator.com/
Browserstack: http://www.browserstack.com/ Browserstack is the best, but
$19/mo for basic account
and $19/mo for responsive
design testing.
There are several more…
Responsive Design Testing Online….Sort of…
Online images are useful, but not truly accurate. Example: Responsivator’s rendition of an
iPad with 768x1024 (portrait) resolution is not accurate.
Ouch! Responsivator Faulty Prediction OK! Reality Check: iPad 2 Actual Screenshot
Special Features is hidden
Full size logo is used
Search box collapses
Images resize
2-column
Layout
not
shown
Responsive Design Testing Online….Sort of…
Responsinator is great for visualizing multiple displays and interactive testing. But, similar
accuracy problems…example: rendition of a Samsung Galaxy with 685x380 (landscape)
resolution is not accurate.
Responsinator Faulty Prediction Reality Check: Samsung Galaxy Screenshot
Ouch! Menu of boxtabs
appears to have crumbled.
OK! Menu renders properly.
Moral of the Story: Collect friends with different phones, tablets, readers, etc…
Jamaican Phrase: “Better Must Come…”
Things to think about:
• Convert legacy pixel typography definitions to ems
16 px = 1 em; 32 px = 2 em
• Watch for leaner, more flexible responsive jquery plug-ins and menu
options….more are being developed and shared on a daily basis
• Work with library and publishing vendors and partners to solicit responsive
design behavior of external resources commonly used on library websites
• Find/adapt/build responsive design for elements currently suppressed on small
displays (such as the hidden “Special Features” code we love that is currently
not responsive.)
This click …
Reveals these gems
above the header.
Not responsive, right
now…
Alicia Virtue
Electronic Services Librarian
Santa Rosa Junior College
avirtue@santarosa.edu

More Related Content

Viewers also liked

Comparetive Jacquekine
Comparetive JacquekineComparetive Jacquekine
Comparetive Jacquekine
ieplab
 
Salt Hotel in Uyuni Bolivia by Wendy
Salt Hotel in Uyuni Bolivia by WendySalt Hotel in Uyuni Bolivia by Wendy
Salt Hotel in Uyuni Bolivia by Wendy
ieplab
 
Jacqueline Bolivia
Jacqueline BoliviaJacqueline Bolivia
Jacqueline Bolivia
ieplab
 
Emira Presentation
Emira PresentationEmira Presentation
Emira Presentationieplab
 
Presentation1[1]
Presentation1[1]Presentation1[1]
Presentation1[1]ieplab
 
Vivencial in Gran Chaco Bolivia by Jacky
Vivencial in Gran Chaco Bolivia by JackyVivencial in Gran Chaco Bolivia by Jacky
Vivencial in Gran Chaco Bolivia by Jacky
ieplab
 
Tourism
TourismTourism
Tourism
ieplab
 
Hector Zacatecas
Hector ZacatecasHector Zacatecas
Hector Zacatecas
ieplab
 
The Informed Investor
The Informed InvestorThe Informed Investor
The Informed Investor
steve993tt
 
"Guide on the Side" Active Learning Tutorials in Information Literacy Instru...
"Guide on the Side" Active Learning Tutorials in Information Literacy Instru..."Guide on the Side" Active Learning Tutorials in Information Literacy Instru...
"Guide on the Side" Active Learning Tutorials in Information Literacy Instru...
AliciaVirtue
 
Pino Tours in Peru by Karen
Pino Tours in Peru by KarenPino Tours in Peru by Karen
Pino Tours in Peru by Karen
ieplab
 
Transforming Academic Library Iimpact
Transforming Academic Library IimpactTransforming Academic Library Iimpact
Transforming Academic Library Iimpact
AliciaVirtue
 
Community-based Eco-tourism project by Pelachor
Community-based Eco-tourism project by PelachorCommunity-based Eco-tourism project by Pelachor
Community-based Eco-tourism project by Pelachor
ieplab
 

Viewers also liked (13)

Comparetive Jacquekine
Comparetive JacquekineComparetive Jacquekine
Comparetive Jacquekine
 
Salt Hotel in Uyuni Bolivia by Wendy
Salt Hotel in Uyuni Bolivia by WendySalt Hotel in Uyuni Bolivia by Wendy
Salt Hotel in Uyuni Bolivia by Wendy
 
Jacqueline Bolivia
Jacqueline BoliviaJacqueline Bolivia
Jacqueline Bolivia
 
Emira Presentation
Emira PresentationEmira Presentation
Emira Presentation
 
Presentation1[1]
Presentation1[1]Presentation1[1]
Presentation1[1]
 
Vivencial in Gran Chaco Bolivia by Jacky
Vivencial in Gran Chaco Bolivia by JackyVivencial in Gran Chaco Bolivia by Jacky
Vivencial in Gran Chaco Bolivia by Jacky
 
Tourism
TourismTourism
Tourism
 
Hector Zacatecas
Hector ZacatecasHector Zacatecas
Hector Zacatecas
 
The Informed Investor
The Informed InvestorThe Informed Investor
The Informed Investor
 
"Guide on the Side" Active Learning Tutorials in Information Literacy Instru...
"Guide on the Side" Active Learning Tutorials in Information Literacy Instru..."Guide on the Side" Active Learning Tutorials in Information Literacy Instru...
"Guide on the Side" Active Learning Tutorials in Information Literacy Instru...
 
Pino Tours in Peru by Karen
Pino Tours in Peru by KarenPino Tours in Peru by Karen
Pino Tours in Peru by Karen
 
Transforming Academic Library Iimpact
Transforming Academic Library IimpactTransforming Academic Library Iimpact
Transforming Academic Library Iimpact
 
Community-based Eco-tourism project by Pelachor
Community-based Eco-tourism project by PelachorCommunity-based Eco-tourism project by Pelachor
Community-based Eco-tourism project by Pelachor
 

Similar to Re-Coding for Responsive Design: Tips, Tricks, and Traps

Intro to Responsive
Intro to ResponsiveIntro to Responsive
Intro to Responsive
Tom Elliott
 
Responsive Design Tools & Resources
Responsive Design Tools & ResourcesResponsive Design Tools & Resources
Responsive Design Tools & Resources
Clarissa Peterson
 
Top Tips for Responsive eLearning Design
Top Tips for Responsive eLearning Design Top Tips for Responsive eLearning Design
Top Tips for Responsive eLearning Design
Cammy Bean
 
Responsive
ResponsiveResponsive
Responsive
Aaron Bernardo
 
Responsive Web Design - Bridging the Gap Between Art Directors
Responsive Web Design - Bridging the Gap Between Art DirectorsResponsive Web Design - Bridging the Gap Between Art Directors
Responsive Web Design - Bridging the Gap Between Art Directors
Aaron Bernardo
 
Web UI Design Patterns 2014
Web UI Design Patterns 2014Web UI Design Patterns 2014
Web UI Design Patterns 2014
Lewis Lin 🦊
 
Sbwire 531031
Sbwire 531031Sbwire 531031
Sbwire 531031
Tourism Dental India
 
Uxpin web ui design patterns 2014
Uxpin web ui design patterns 2014Uxpin web ui design patterns 2014
Uxpin web ui design patterns 2014
MoodLabs
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
Nexer Digital
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
Liam Richardson
 
Going Mobile First With Drupal
Going Mobile First With DrupalGoing Mobile First With Drupal
Going Mobile First With Drupal
Jesper Wøldiche
 
Stc 2015 preparing legacy projects for responsive design - technical issues
Stc 2015   preparing legacy projects for responsive design - technical issuesStc 2015   preparing legacy projects for responsive design - technical issues
Stc 2015 preparing legacy projects for responsive design - technical issues
Neil Perlin
 
"Smarter Responsive Design" by Sam Otis
"Smarter Responsive Design" by Sam Otis"Smarter Responsive Design" by Sam Otis
"Smarter Responsive Design" by Sam Otis
Blend Interactive
 
Bank Chris - Web UI Design Patterns - 2014
Bank Chris - Web UI Design Patterns - 2014Bank Chris - Web UI Design Patterns - 2014
Bank Chris - Web UI Design Patterns - 2014
Shah Muhammad Baig
 
Beyond Responsive Web Design
Beyond Responsive Web DesignBeyond Responsive Web Design
Beyond Responsive Web Design
arborwebsolutions
 
Yui Design Patterns
Yui Design PatternsYui Design Patterns
Yui Design Patterns
Madhuri Chopurala, CSPO, CSM
 
Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016
Kate Walser
 
Lavacon 2014 responsive design in your hat
Lavacon 2014   responsive design in your hatLavacon 2014   responsive design in your hat
Lavacon 2014 responsive design in your hat
Neil Perlin
 
Android UX-UI Design for Fun and Profit
Android UX-UI Design for Fun and ProfitAndroid UX-UI Design for Fun and Profit
Android UX-UI Design for Fun and Profit
penanochizzo
 
Android UX-UI Design for fun and profit | Fernando Cejas | Tuenti
 Android UX-UI Design for fun and profit | Fernando Cejas | Tuenti   Android UX-UI Design for fun and profit | Fernando Cejas | Tuenti
Android UX-UI Design for fun and profit | Fernando Cejas | Tuenti
Smash Tech
 

Similar to Re-Coding for Responsive Design: Tips, Tricks, and Traps (20)

Intro to Responsive
Intro to ResponsiveIntro to Responsive
Intro to Responsive
 
Responsive Design Tools & Resources
Responsive Design Tools & ResourcesResponsive Design Tools & Resources
Responsive Design Tools & Resources
 
Top Tips for Responsive eLearning Design
Top Tips for Responsive eLearning Design Top Tips for Responsive eLearning Design
Top Tips for Responsive eLearning Design
 
Responsive
ResponsiveResponsive
Responsive
 
Responsive Web Design - Bridging the Gap Between Art Directors
Responsive Web Design - Bridging the Gap Between Art DirectorsResponsive Web Design - Bridging the Gap Between Art Directors
Responsive Web Design - Bridging the Gap Between Art Directors
 
Web UI Design Patterns 2014
Web UI Design Patterns 2014Web UI Design Patterns 2014
Web UI Design Patterns 2014
 
Sbwire 531031
Sbwire 531031Sbwire 531031
Sbwire 531031
 
Uxpin web ui design patterns 2014
Uxpin web ui design patterns 2014Uxpin web ui design patterns 2014
Uxpin web ui design patterns 2014
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
 
An Introduction to Responsive Design
An Introduction to Responsive DesignAn Introduction to Responsive Design
An Introduction to Responsive Design
 
Going Mobile First With Drupal
Going Mobile First With DrupalGoing Mobile First With Drupal
Going Mobile First With Drupal
 
Stc 2015 preparing legacy projects for responsive design - technical issues
Stc 2015   preparing legacy projects for responsive design - technical issuesStc 2015   preparing legacy projects for responsive design - technical issues
Stc 2015 preparing legacy projects for responsive design - technical issues
 
"Smarter Responsive Design" by Sam Otis
"Smarter Responsive Design" by Sam Otis"Smarter Responsive Design" by Sam Otis
"Smarter Responsive Design" by Sam Otis
 
Bank Chris - Web UI Design Patterns - 2014
Bank Chris - Web UI Design Patterns - 2014Bank Chris - Web UI Design Patterns - 2014
Bank Chris - Web UI Design Patterns - 2014
 
Beyond Responsive Web Design
Beyond Responsive Web DesignBeyond Responsive Web Design
Beyond Responsive Web Design
 
Yui Design Patterns
Yui Design PatternsYui Design Patterns
Yui Design Patterns
 
Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016
 
Lavacon 2014 responsive design in your hat
Lavacon 2014   responsive design in your hatLavacon 2014   responsive design in your hat
Lavacon 2014 responsive design in your hat
 
Android UX-UI Design for Fun and Profit
Android UX-UI Design for Fun and ProfitAndroid UX-UI Design for Fun and Profit
Android UX-UI Design for Fun and Profit
 
Android UX-UI Design for fun and profit | Fernando Cejas | Tuenti
 Android UX-UI Design for fun and profit | Fernando Cejas | Tuenti   Android UX-UI Design for fun and profit | Fernando Cejas | Tuenti
Android UX-UI Design for fun and profit | Fernando Cejas | Tuenti
 

Recently uploaded

みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 

Recently uploaded (20)

みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 

Re-Coding for Responsive Design: Tips, Tricks, and Traps

  • 1. Re-Coding for Responsive Design: Tips, Tricks, and Traps Alicia Virtue Santa Rosa Junior College February 19, 2014
  • 2. Library Website Re-coded to Responsive Design 1) Add responsive design behavior while making no visual change for instructors teaching classes. 2) Add responsive design behavior while making no thematic changes to the “official” college look. Design Restrictions
  • 3. Column Behavior Three column presentation Adapts to single column on handheld 3 column layout adapts to single column presentation on smaller viewports.
  • 4. Column Behavior How? … 2 column layout adapts to single column presentation on smaller viewports. Two column presentation Adapts to single column on handheld
  • 5. Media Queries Used to Control Column Behavior Mobile Layout: • The width of each column is established at 100%. • The left margins of all columns are set to zero so that all column content displays flush left. Tablet and Desktop Layout: • The width of each column is partitioned to 32%. • The left-most column margin is set to zero so that the content will flush left. The margins of the second two columns are assigned percentage values to allow for fluid allocation of margin space. Handy for Media Queries Examples and Inspiration: http://nmsdvid.com/snippets/ and http://mediaqueri.es/
  • 6. Page Layouts Converted to Fluid Design Frameworks: Bootstrap, Skeleton, Foundation by Zurb… I used Dreamweaver CS6 with HTML5 Boilerplate. Its fluid grid layouts use two elements to function: • boilerplate.css: HTML5 Boilerplate CSS with starting styles. • respond.min.js: Support for fluid layouts to older browsers. Characteristics • Dimensions are determined by percentages. • Use media queries and CSS styles to optimize layouts at different resolutions Start Mobile Build layouts for each of the three starter sizes by working with the mobile layout first. Then update the container positioning for the tablet and desktop layouts.
  • 7. Adapted Menu Behaviors to Responsive Design Problem: Buggy Behavior on iOS5 The first item selected in the dropdown becomes activated instead of releasing the submenu items for selection. This problem was first reported in 2011 in iOS5. Top Navigation Menu Top menu collapses down to smartphone screen size Troll the Web for Samples The dropdowns are an adaptation of scripts and CSS shared by Tessa Thorton. Thank you, Tessa.
  • 8. Landing Page as Alternate Navigation for Behavioral Problems The Fallback Solution, for iOS5… Give the user an alternative page to land on, with all navigation options available for selection.
  • 9. Menu Behaviors Adapted to Handheld Devices Troll the Web for Samples The jquery plugin for the boxtabs are an adaptation of scripts and CSS shared by ZoZo Tabs. Thank you, ZoZo Tabs. Menu Behavior Research Box menu collapses down to smartphone screen size.
  • 10. Graphic Presentation Adapted to Responsive Design: JQuery Plugins Lightbox presentation of photographs Book carousels for library book samplers Rotating image slideshows
  • 11. Lengthy Content Adapted to Responsive Design Scroller relief! Lengthy page content collapsible for easier scrolling. Box Hop Boxes resize to viewports.
  • 12. Lengthy Content Adapted to Responsive Design Box Hop Required 6 media queries with different box % definitions. Collapsing Levels Old code repurposed for new application!
  • 13. Problem, Problems, Problems….. Not Responsive… Just about anything we link to! • Databases • LibGuides (Coming soon) • LibGuide Embedded Tools, such as RAPs • The SRJC College Designated Moodle Theme Yuk! Text and visuals are cut off in non-responsive design
  • 14. Problem, Problems, Problems….. Old Browsers…They’re Still Around IE8: No support for responsive design. (500 computers on campus running IE8….or lower!) The Fix: 1) Use a polyfill to help create responsive design functionality. See Paul Irish’s list of polyfills: https://github.com/Modernizr/Modernizr/wiki/HTML5 -Cross-browser-Polyfills 2) Multiple sets of CSS for IE7, IE8, and IE9+ in various instances. Not great… Old Equipment: Class Projection Units Campus projection units from 2006 display at the same resolution as an iPad: the presentation designed for an iPad sized screen displayed on classroom display projectors. The Fix: Removing the device specification (min-device-width and max-device-width) in the media query that governed the 1024 resolution.
  • 15. Responsive Design Testing Online Responsivator: http://responsivator.werstnet.com/ Matt Kersley: http://mattkersley.com/responsive/ Responsinator: http://www.responsinator.com/ Browserstack: http://www.browserstack.com/ Browserstack is the best, but $19/mo for basic account and $19/mo for responsive design testing. There are several more…
  • 16. Responsive Design Testing Online….Sort of… Online images are useful, but not truly accurate. Example: Responsivator’s rendition of an iPad with 768x1024 (portrait) resolution is not accurate. Ouch! Responsivator Faulty Prediction OK! Reality Check: iPad 2 Actual Screenshot Special Features is hidden Full size logo is used Search box collapses Images resize 2-column Layout not shown
  • 17. Responsive Design Testing Online….Sort of… Responsinator is great for visualizing multiple displays and interactive testing. But, similar accuracy problems…example: rendition of a Samsung Galaxy with 685x380 (landscape) resolution is not accurate. Responsinator Faulty Prediction Reality Check: Samsung Galaxy Screenshot Ouch! Menu of boxtabs appears to have crumbled. OK! Menu renders properly. Moral of the Story: Collect friends with different phones, tablets, readers, etc…
  • 18. Jamaican Phrase: “Better Must Come…” Things to think about: • Convert legacy pixel typography definitions to ems 16 px = 1 em; 32 px = 2 em • Watch for leaner, more flexible responsive jquery plug-ins and menu options….more are being developed and shared on a daily basis • Work with library and publishing vendors and partners to solicit responsive design behavior of external resources commonly used on library websites • Find/adapt/build responsive design for elements currently suppressed on small displays (such as the hidden “Special Features” code we love that is currently not responsive.) This click … Reveals these gems above the header. Not responsive, right now…
  • 19. Alicia Virtue Electronic Services Librarian Santa Rosa Junior College avirtue@santarosa.edu