33
Aaron Gustafson Ruining the User Experience

Ruining The User Experience (The Ajax Experience West 2007)

Embed Size (px)

Citation preview

Page 1: Ruining The User Experience (The Ajax Experience West 2007)

Aaron Gustafson

Ruining theUser Experience

Page 2: Ruining The User Experience (The Ajax Experience West 2007)
Page 3: Ruining The User Experience (The Ajax Experience West 2007)
Page 4: Ruining The User Experience (The Ajax Experience West 2007)

What is a good user experience?

Page 5: Ruining The User Experience (The Ajax Experience West 2007)

Would you do this?

Page 6: Ruining The User Experience (The Ajax Experience West 2007)

lala.com

Page 7: Ruining The User Experience (The Ajax Experience West 2007)

JavaScript is a Requirement

Page 8: Ruining The User Experience (The Ajax Experience West 2007)

A “Solution”

Page 9: Ruining The User Experience (The Ajax Experience West 2007)

Levels of Service

Page 10: Ruining The User Experience (The Ajax Experience West 2007)

Level 1: No Frills

Just the content

Clean, semantic markup

Light, fast-downloading pages

No distractions

Page 11: Ruining The User Experience (The Ajax Experience West 2007)

Level 1: No Frills

Page 12: Ruining The User Experience (The Ajax Experience West 2007)

nicely designed

visual hierarchy

maybe a bit of Flash

adequate browser testing

basic styles for alternate media

Level 2: Dress It Up

Page 13: Ruining The User Experience (The Ajax Experience West 2007)

Level 2: Dress It Up

Page 14: Ruining The User Experience (The Ajax Experience West 2007)

Responsive interface elements

Predictive data delivery (Ajax)

Allows for more customizable interactions

Level 3: Make It Sing

Page 15: Ruining The User Experience (The Ajax Experience West 2007)

.optional

.optional

.collapsing

Level 3: Make It Sing

Page 16: Ruining The User Experience (The Ajax Experience West 2007)

Page

JS

Create the link to show/hide the

optional fieldsets

Yes No

Hide the optional fieldsets

Level 3: Make It Sing

Page 17: Ruining The User Experience (The Ajax Experience West 2007)

Level 3: Make It Sing

Page 18: Ruining The User Experience (The Ajax Experience West 2007)

Levels of Service

Page 19: Ruining The User Experience (The Ajax Experience West 2007)

Example: Tab Interface

Page 20: Ruining The User Experience (The Ajax Experience West 2007)

Page

JS

Split the content& make some tabs

Yes No

Example: Tab Interface

Page 21: Ruining The User Experience (The Ajax Experience West 2007)

.tabbed

Example: Tab Interface

Page 22: Ruining The User Experience (The Ajax Experience West 2007)

Example: Tab Interface

Page 23: Ruining The User Experience (The Ajax Experience West 2007)

Example: FAQ

Page 24: Ruining The User Experience (The Ajax Experience West 2007)

No Yes

Page

JSYes No

User clicks ?

Anyopen?

No Yes

CSSInsideclick?

Yes No

Close any open FAQs

Slide openrequested FAQ :target used

Defaultbrowserbehavior

Example: FAQ

Page 25: Ruining The User Experience (The Ajax Experience West 2007)

dl.faq

dd#id

dt>a

Example: FAQ

dl.faq

Page 26: Ruining The User Experience (The Ajax Experience West 2007)

.faq dd:target

Example: FAQ

Page 27: Ruining The User Experience (The Ajax Experience West 2007)

Example: FAQ

Page 28: Ruining The User Experience (The Ajax Experience West 2007)

Tools at our disposal

Page 29: Ruining The User Experience (The Ajax Experience West 2007)

DOM Methods

getElementById()

getElementsByTagName()

getAttribute()/setAttribute()

createElement()/createTextNode()

innerHTML (if absolutely necessary)

Page 30: Ruining The User Experience (The Ajax Experience West 2007)

Class Swapping

.tabbed .tabbed-on

.collapsing .collapsible

.faq .faq.on

Page 31: Ruining The User Experience (The Ajax Experience West 2007)

Think Customer Service

Page 32: Ruining The User Experience (The Ajax Experience West 2007)

Questions?

Page 33: Ruining The User Experience (The Ajax Experience West 2007)

Aaron Gustafson

Ruining theUser Experience