Christopher Harrison Jeremy Foster

Slides:



Advertisements
Similar presentations
 On Wednesday, June 4, 2014, we will upgrade both version 10.2 and version 10.3 during the same time period. After the upgrade has finished, we will.
Advertisements

CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Media Queries Jeffery Davis CIT media is used to define different style rules for different media types and devices. Media queries.
Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
Responsive Web Design Design websites so that they can adapt to different devices seamlessly. Image by Muhammed RafizeldiMuhammed Rafizeldi.
RESPONSIVE DESIGN Sources: Kadlec, T. (2012). Implementing responsive design. Berkeley, California: New Riders Publishing. MarcotteMarcotte, E. (2010).
CISC 474: Advanced Web Technologies HTML5 & CSS3, & Responsive Design.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 12: Building Responsive Webpages.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
Responsive Web Design, Discoverability, and Mobile Challenge
CIT 256 Mobile Web Development Dr. Beryl Hoffman.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
Kathy E. Responsive Design and Twitter Bootstrap.
Lesson 15: Mobile Design and Layout Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Chapter 8 More on Links, Layout, and Mobile Copyright © 2013 Terry Ann Morris, Ed.D revised by Bill Pegram, 9/24/
WDV 331 Dreamweaver Applications Designing Websites for Mobile Devices Dreamweaver CS6 Chapter 11.
E0262 – MIS – Multimedia Storage Techniques SMIL – Synchronized Multimedia Integration Language.
DEVELOPING FOR MOBILE Jackie Calapristi. AGENDA  Why you should go mobile  Mobile Design Options  Responsive Design  Tips & Tools to Help You Build.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
 On Wednesday, June 4, 2014, we will upgrade both version 10.2 and version 10.3 during the same time period. After the upgrade has finished, we will.
Using Styles and Style Sheets for Design
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
A Site for All Eyes – Considerations for Responsive Design October 19, 2012 Dori Kelner, MS Principal, Sleight-of-Hand Studios
COMP 135 Web Site Design Intermediate Week 8. Responsive Web Design Responsive Design Adaptive Design.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® Copyright 2012 Adobe.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
 An HTML, CSS, Javascript framework you can use as a basis for creating web sites  Uses CSS settings, fundamental HTML elements styled and enhanced.
Mobile Application Development Kevin Payne & Andi Saputra JWH Group.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
COMP 143 Web Development with Adobe Dreamweaver CC.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
How HTML responsiveness translates to PDF
Working with Cascading Style Sheets
Objective % Select and utilize tools to design and develop websites.
A better approach to mobile
Responsive Design and Twitter Bootstrap
Chapter 2 Developing a Web Page.
Responsive Web Pages.
Inserting and Working with Images
Concepts for fluid layout
Introduction to CSS Media Query - Lesson 11
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Introduction to Bootstrap Bootstrap සදහා හැදින්වීම
© 2016, Mike Murach & Associates, Inc.
CS 0134 (term 2181) Jarrett Billingsley
Objective % Select and utilize tools to design and develop websites.
Bootstrap A popular HTLM, CSS, and JS framework for developing responsive, mobile first projects on the web.
RESPONSIVE WEB DESIGN.
IS1500: Introduction to Web Development
Responsive Design.
CSS BEST PRACTICES.
Putting An Image on Your Web Page
Responsive Web Design and Bootstrap
06 | Introduction to Bootstrap
Responsive Grid Layout with Bootstrap
Chapter 2 Bootstrap Grid System
WEB DESIGN FOR MULTIPLE SCREENS
Responsive Web Design and Bootstrap
Web Client Side Technologies Raneem Qaddoura
Web Client Side Technologies Raneem Qaddoura
Concepts for fluid layout
17 RESPONSIVE WEB DESIGN.
Presentation transcript:

Christopher Harrison Jeremy Foster Mobile Web Christopher Harrison Jeremy Foster

Course Topics Mobile Web 01 | Designing for Mobile 05 | The Mobile Client 02 | Mobile UI 06 | Offline Data 03 | Integrating Touch 07 | Publishing to Azure 04 | Setting Up the Server

Christopher Harrison | @GeekTrainer Jeremy Foster | @codefoster 02 | Mobile UI Christopher Harrison | @GeekTrainer Jeremy Foster | @codefoster

Module Overview CSS and media queries Bootstrap Images Mimicking Apps

CSS and media queries

30 second CSS review Cascading style sheets Higher precedence for best matches ID Class Element Last write wins

Browser detection Challenging at best Use a library User agent strings can be misleading User agent strings can be spoofed Use a library UA.js https://github.com/g13n/ua.js

Browser Capability Detection What the browser is doesn't matter What matters is what features it supports Modernizr Open source library Adds classes based on browser capabilities feature (if supported) video feature (if not supported) no-video

modernizr

Media queries Specify different settings based on Device type State Screen size

Device types Screen Print Projector Handheld Don't use Won't test as positive for most tablets Doesn't give us enough information

Orientation Portrait Landscape

Size Width and height Device-width and device-height Size of the current window Device-width and device-height Size of the current device Max and min modifiers

Using media queries Remember cascading rules Ordering matters Higher precedence to best match Media query sections override generic rules Ordering matters Put global rules first Smallest to largest or largest to smallest

Media queries

Bootstrap

Bootstrap The most popular front-end framework for developing responsive, mobile first projects on the web.

Bootstrap Features Theme Support Responsive Grid Components Pagination Buttons Modal Great Visual Studio support

Responsive Layout

Responsive Layout

Bootstrap and mobile devices

Images

What not to do F12 tools

Image issues Need to send down right sized images Servers don't automatically resize images img tag doesn't support size detection

Option one SVG graphics The name says it all Scalable Vector Graphics Images are created declaratively Least amount of data to be downloaded Potential issues Browser support Generating SVG

A simple SVG

Option two HTML5 picture element W3C draft standard Similar to audio and video elements Specify multiple images Supports media queries Potential issues Browser support Scott Jehl's picturefill: https://github.com/scottjehl/picturefill

Picture element http://www.html5rocks.com/en/tutorials/responsive/picture-element/

Option three Background images on div tags Always works Supports media queries Potential issues It's a hack

Background images

Mimicking apps

Just because it's not an app... Doesn't mean we don't want it to behave like one Components Controlling the browser Shortcut icon

Controlling the browser viewport meta tag Set zoom capabilities Hiding the address bar https://gist.github.com/scottjehl/1183357 (iOS and Android only)

Icons Determine what is placed on home screen when "installed" Unfortunately, each vendor has their own method http://en.wikipedia.org/wiki/Favicon

Mimicking live tile Live tiles show state of an application Unread messages Number of posted updates Using polling, pinned sites can behave like live tiles Full details: http://msdn.microsoft.com/en-us/library/ie/dn455115(v=vs.85).aspx Scott Hanselman's blog: http://www.hanselman.com/blog/MakeAWindows81PinnedLiveTileForYOURWe bsiteInMinutes.aspx Build My Pinned Site http://www.buildmypinnedsite.com/

Live tiles