QuirksBlog monthlies

This is the monthly archive for September 2010.

Click event delegation on the iPhone

Permalink | in Touch events
11 comments (closed)

From the dawn of history browsers have supported event delegation. If you click on an element, the event will bubble all the way up to the document in search of event handlers to execute.

It turns out that Safari on the iPhone does not support event delegation for click events, unless the click takes place on a link or input. That’s an annoying bug, but fortunately there’s a workaround available.

continue reading

WebExpo slides

Permalink | in Conferences
1 comments (closed)

As I promised I uploaded my WebExpo slides. This presentation was based on my Newcastle one, but extended and slightly changed.

continue reading

Fronteers 2010: 60 hours, 14 tickets

Permalink | in Conferences
0 comments (closed)

Next Wednesday at noon CET the ticket sale for Fronteers 2010 will close in order to give Krijn the chance to create a final attendee list and do related administrative chores.

You have 60 hours to buy on of the last 14 tickets that will give you access to a top-notch array of speakers from the web design and development community.

In practice I think the conference will be sold out way before the 60 hours are over.

State of mobile web development, part 3/3: the mobile industry’s failings

Permalink | in Mobile
30 comments (closed)

Recently Mike Rowehl, a mobile developer with relatively little knowledge of the web world, confessed to being baffled by the attitude of web developers interested in mobile.

This is the last part of my reply. In parts one and two we talked about what web developers are doing wrong; now we’re going to talk about the errors of the mobile world.

continue reading

State of mobile web development, part 2/3: progressive enhancement

Permalink | in Mobile
11 comments (closed)

Recently Mike Rowehl, a mobile developer with relatively little knowledge of the web world, confessed to being baffled by the attitude of web developers interested in mobile.

This is part two of my reply, and we’re going to talk about progressive enhancement now. (See also part one)

Like me, Mike was impressed by Bryan Rieger’s excellent presentation in which progressive enhancement plays a crucial role. However, it’s important to realise that Bryan’s presentation is the start of the dicsussion, and not the end. Lots of work remains to be done.

continue reading

State of mobile web development, part 1/3: the problem

Permalink | in Mobile
22 comments (closed)

Recently Mike Rowehl, a mobile developer with relatively little knowledge of the web world, confessed to being baffled by the attitude of web developers interested in mobile.

He feels there’s a disconnect between what web developers do, what they’re supposed to be doing, and the tools mobile vendors make available to them.

Mike is completely right. There is a whole series of disconnects right now in mobile web development, and most of them are the web developers’ fault. Unfortunately the web world is hard to understand for an interested outsider.

continue reading

What “smartphone” means

Permalink | in Mobile
6 comments (closed)

John Gruber picked up my Nokia post, and makes an interesting comment.

After quoting my “Why on earth wouldn’t Nokia be able to maintain two operating systems?” he says:

I shouldn’t have written “mobile devices”; I should have written “smartphones.”

To me, that doesn’t make any difference. I count both MeeGo and Symbian as smartphone operating systems, so if John had written “smartphones” I would have made exactly the same comment.

That doesn’t mean John’s wrong, though. He just defines smartphones differently than I do. As I see it, he defines a “smartphone” as what I call a “high-end smartphone” (iOS, Android, MeeGo, webOS, likely Windows Phone 7 and BlackBerry OS6, too).

continue reading

Nokia’s problem

Permalink | in Nokia
18 comments (closed)

Last week Nokia CEO Olli-Pekka Kallasvuo (OPK for short) was replaced by the first non-Finn to lead the company, Stephen Elop, head of Microsoft’s business division (mainly Office). This is big news that might change Nokia’s perception as well as its strategy.

OPK’s tenure as Nokia chief was not lucky. Barely in office he was confronted with the launch of the iPhone, and this issue overshadowed the rest of his career. For the full story of OPK, see, as always, Tomi Ahonen.

After four years of doing little except producing one of the worst touchscreen phones in history, the N97, Nokia was perceived as a loser, and pressure on OPK to resign was growing. Last Friday things came to a head when Elop’s anointment as his successor was announced.

(This article has been translated into Spanish.)

continue reading

More about media queries; mailing list

Permalink | in Viewports
10 comments (closed)

As we all know, media queries are by far the best way to distinguish between desktop and mobile browsers, or, more generically, between the dozens of different screen sizes our users can have. Media queries are the future of the web.

Nonetheless, the fact that they are the future doesn’t mean that there are no problems. One is particularly tricky: what do we do for browsers that don’t support them?

continue reading

Combining meta viewport and media queries

Permalink | in Viewports
18 comments (closed)

If you want to make your websites ready form mobile, it’s best to combine <meta name="viewport" content="width=device-width"> with width media queries. That will give your site the optimal width (as determined by the device vendor, who really ought to know), and your site will look the better for it.

Lanyrd, Simon and Natalie’s latest brainchild, uses exactly this technique, and it establishes the perfect mobile browsing baseline. Try it on as many mobile browsers as you can, and you’ll see. No frills, just a simple user experience that just works.

In order to understand why we should use exactly this combination we should briefly repeat what meta viewports and media queries are all about.

continue reading

Rethinking the mobile web

Permalink | in Mobile
5 comments (closed)

A truly outstanding presentation by Bryan Rieger. Learn it by heart.

Testing BlackBerry WebKit, or how I encountered a browser tester’s worst nightmare

Permalink | in Mobile testing
4 comments (closed)

Yesterday I was visited by a browser tester’s worst nightmare: when testing BlackBerry WebKit I found I made a mistake in my touch event research. I have to re-do all these tests in all browsers because my current results don’t take one variable into account.

That variable is preventing the event default. While writing my test page I left out the return false at the end of the test event handler, simply because I didn’t think of including it. The test results seemed fine, so I didn’t notice the mistake for months and months. (Meanwhile I added a setting for preventing the default.)

continue reading

Older

See the August 2010 archive.

This is the blog of Peter-Paul Koch, web developer, consultant, and trainer. You can also follow him on Twitter or Mastodon.
Atom RSS

If you like this blog, why not donate a little bit of money to help me pay my bills?

Categories: