+ All Categories
Transcript
Page 1: "Designing for the Mobile Web" by Michael Dick (December 2010)

Designing for the MOBILE WEB@michaeldickhttp://m1k3.net

RefreshBmoreDec. 2010

Page 2: "Designing for the Mobile Web" by Michael Dick (December 2010)

@michaeldick

ncluda creative web design agency

cssiphone.comweb inspiration for mobile

Page 3: "Designing for the Mobile Web" by Michael Dick (December 2010)

1) Design & UX

2) Viewports

3) Detection

4) Tips & Tricks

5) Questions & Discussion

Page 4: "Designing for the Mobile Web" by Michael Dick (December 2010)

MobileWeb

2.0

* Compare it to* the browser wars* from the 90’s

Page 5: "Designing for the Mobile Web" by Michael Dick (December 2010)

CSS = CSS

HTML = HTML

JS = JS

Page 6: "Designing for the Mobile Web" by Michael Dick (December 2010)

(Technical only, not applied to the user interaction)

Page 7: "Designing for the Mobile Web" by Michael Dick (December 2010)

Conte__t is

king

X

Page 8: "Designing for the Mobile Web" by Michael Dick (December 2010)

is the iPad “Mobile”

?

Page 9: "Designing for the Mobile Web" by Michael Dick (December 2010)

It’s so much more intimate than a laptop“

”— Steve Jobs

Page 10: "Designing for the Mobile Web" by Michael Dick (December 2010)

Jobs demonstrated the iPad while sitting on a couch.

Page 11: "Designing for the Mobile Web" by Michael Dick (December 2010)

Good.

Page 12: "Designing for the Mobile Web" by Michael Dick (December 2010)

Good.

Page 13: "Designing for the Mobile Web" by Michael Dick (December 2010)

Good.

Page 14: "Designing for the Mobile Web" by Michael Dick (December 2010)

:(

Page 15: "Designing for the Mobile Web" by Michael Dick (December 2010)

Good.

Page 16: "Designing for the Mobile Web" by Michael Dick (December 2010)

Design&

Experience

Page 17: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 18: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 19: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 20: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 21: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 22: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 23: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 24: "Designing for the Mobile Web" by Michael Dick (December 2010)

BAD EXPERIENCE

Page 25: "Designing for the Mobile Web" by Michael Dick (December 2010)

Graceful Degradation

Page 26: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 27: "Designing for the Mobile Web" by Michael Dick (December 2010)

Desktop

Page 28: "Designing for the Mobile Web" by Michael Dick (December 2010)

Mobile “2.0”

Page 29: "Designing for the Mobile Web" by Michael Dick (December 2010)

Mobile “WAP”

Page 30: "Designing for the Mobile Web" by Michael Dick (December 2010)

Opt-in / Opt-out

Page 31: "Designing for the Mobile Web" by Michael Dick (December 2010)

opt-in

Page 32: "Designing for the Mobile Web" by Michael Dick (December 2010)

opt to go back

Page 33: "Designing for the Mobile Web" by Michael Dick (December 2010)

opt-out

Page 34: "Designing for the Mobile Web" by Michael Dick (December 2010)

opt to go back

Page 35: "Designing for the Mobile Web" by Michael Dick (December 2010)

opt to go back

Page 36: "Designing for the Mobile Web" by Michael Dick (December 2010)

Viewportsand why fixed positioning doesn’t

work!

Page 37: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 38: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 39: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 40: "Designing for the Mobile Web" by Michael Dick (December 2010)

<metaname="viewport"content=""

/>(at its most basic state)

Page 41: "Designing for the Mobile Web" by Michael Dick (December 2010)

width = ;

initial-scale = ;

maximum-scale = ;

user-scalable = ;

content=”

Page 42: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 43: "Designing for the Mobile Web" by Michael Dick (December 2010)

VIE

WP

OR

T S

TAR

TS

Page 44: "Designing for the Mobile Web" by Michael Dick (December 2010)

VIE

WP

OR

T E

ND

S

Page 45: "Designing for the Mobile Web" by Michael Dick (December 2010)

VIE

WP

OR

T

NOT!

Page 46: "Designing for the Mobile Web" by Michael Dick (December 2010)

Device

Detection

Page 47: "Designing for the Mobile Web" by Michael Dick (December 2010)

Specificvs

Optimized (and responsive)

Page 48: "Designing for the Mobile Web" by Michael Dick (December 2010)

Optimized Specific

new markupsame markup

both use new CSS

Page 49: "Designing for the Mobile Web" by Michael Dick (December 2010)

<link rel="stylesheet" href=""

media="only screen and(max-device-width: 480px)"/>

Stylesheet (HTML)

Page 50: "Designing for the Mobile Web" by Michael Dick (December 2010)

@media only screen and (max-device-width: 480px){ /* iphone css goes here */}

@media (CSS)

Page 51: "Designing for the Mobile Web" by Michael Dick (December 2010)

@import url(‘mobile.css’) only screen and (max-device-width: 480px);

@import (CSS)

Page 52: "Designing for the Mobile Web" by Michael Dick (December 2010)

User Agent Sniffing

JS: navigator.userAgent

PHP: $_SERVER['HTTP_USER_AGENT']

Page 54: "Designing for the Mobile Web" by Michael Dick (December 2010)

require('detect.php');$mobile = detect();

Page 55: "Designing for the Mobile Web" by Michael Dick (December 2010)

Orientation

Detection

Page 56: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 57: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 58: "Designing for the Mobile Web" by Michael Dick (December 2010)

<body id=”portrait”>

Page 59: "Designing for the Mobile Web" by Michael Dick (December 2010)

body#portrait{ width:320px; color:green;}

Page 60: "Designing for the Mobile Web" by Michael Dick (December 2010)

body#landscape{ width:480px; color:red;}

Page 61: "Designing for the Mobile Web" by Michael Dick (December 2010)

Quick

Tips & Tricks

Page 62: "Designing for the Mobile Web" by Michael Dick (December 2010)

HTML 5 Inputs

type=”url” type=”email”

type=”tel”type=”number”

Page 63: "Designing for the Mobile Web" by Michael Dick (December 2010)

Disable..

autocorrect="off"

autocapitalize="off"

autocomplete="off"

Page 64: "Designing for the Mobile Web" by Michael Dick (December 2010)

uselarge hit areas

Page 65: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 66: "Designing for the Mobile Web" by Michael Dick (December 2010)

BAD HIT AREAS

Page 67: "Designing for the Mobile Web" by Michael Dick (December 2010)

body {

-webkit-text-size-adjust:none;

}

Keeps the text from adjusting on orientation change

Page 68: "Designing for the Mobile Web" by Michael Dick (December 2010)

window.scrollTo(0, 1);

<body onload=”

”>

Hide the Address Bar onload

Page 69: "Designing for the Mobile Web" by Michael Dick (December 2010)

Don’t use fixed widths/heights

Page 70: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 71: "Designing for the Mobile Web" by Michael Dick (December 2010)
Page 72: "Designing for the Mobile Web" by Michael Dick (December 2010)

Discussion&

Questions

Page 73: "Designing for the Mobile Web" by Michael Dick (December 2010)

✓ iphone detection✓ iphone orientation javascript✓ iphone psd✓ detect mobile browsers✓ android / iphone sdk✓ mobile safari dev center *

Google Keywords

Page 74: "Designing for the Mobile Web" by Michael Dick (December 2010)

Thank You.

@michaeldickhttp://m1k3.net


Top Related