Checking The Prescription (Taken With Instagram)

Checking The Prescription (Taken With Instagram)

Checking the prescription (Taken with instagram)

More Posts from Timmcelwee and Others

13 years ago
Apparently It's National Donut Day And You Should Celebrate With Giant Donuts.

Apparently it's National Donut Day and you should celebrate with giant donuts.

12 years ago
Almond Toffee Cake With Chocolate Ganache Filling (Taken With Instagram)

Almond toffee cake with chocolate ganache filling (Taken with Instagram)

13 years ago
Just Above The Trees (Taken With Instagram)

Just above the trees (Taken with Instagram)

12 years ago
A View Of The Yard And Street. Around A Foot, I'd Guess.

A view of the yard and street. Around a foot, I'd guess.

View more Tim McElwee on WhoSay

12 years ago
Gum-paste Peony And Cake By The Lovely Heather Bill.

Gum-paste peony and cake by the lovely Heather Bill.

View more Tim McElwee on WhoSay

14 years ago
Awesome Snow Sculpture. Awesome Dad

Awesome snow sculpture. Awesome dad


Tags
12 years ago
The Kids Watching Tom & Jerry

The kids watching Tom & Jerry

View more Tim McElwee on WhoSay

13 years ago
What's This Giant Phone Doing Outside? (Taken With Instagram)

What's this giant phone doing outside? (Taken with instagram)

13 years ago
A $5 Walking Taco, With Steak And Fixin's (Taken With Instagram)

A $5 walking taco, with steak and fixin's (Taken with instagram)

14 years ago

Modernizr: code for success or failure? - part 1

I'm getting my feet wet with the Modernizr feature detection library . This has led to a new dilemma in implementing the design: should you test for success or failure?

In other words, what are you assuming about your users? Are you assuming that most of your users have advanced browsers that are capable of immediately rendering advanced features and you need to provide alternatives only to the older browsers? Or, do most of your users have older browsers that will need a more traditional default state with overrides in place for a smaller percentage of advanced users?

For this project, the user base is split almost 50/50 between different versions of IE and a combination of Safari and Chrome (and almost no Firefox, which I find odd). So one half of users are capable of seeing almost any of Webkit's bleeding edge advances. The other half of users has the worst support for emerging standards amongst the major browsers. It was definitely new ground for me.

In the end, I opted to progressively enhance the user experience and tested for success. I assumed that most users will not have bleeding edge support for CSS gradients, RGBa, border radius, or multiple backgrounds. Modernizr's success-state classes on the html element provide hooks to add these features. Let me know if you've found compelling reasons to offer fallbacks for older user agents.

I'm thinking of creating a part 2 that plays devil's advocate for the opposite point of view. I need to do some tests, but I can definitely see potential performance by cutting backwards compatible images and their additional requests.


Tags
  • timmcelwee
    timmcelwee reblogged this · 13 years ago
timmcelwee - Tim's Ramblings
Tim's Ramblings

Tim McElwee's ramblings and interesting finds.

28 posts

Explore Tumblr Blog
Search Through Tumblr Tags