22.04.2013 Views

HTML, XHTML & CSS

HTML, XHTML & CSS

HTML, XHTML & CSS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 18: Mobile Web Design<br />

One of the most common uses of mobile phones is still the most obvious —<br />

making phone calls. Be sure your phone number is easy to find on the first<br />

screen of any mobile site, and include your street address and links to maps<br />

for those who might be lost and trying to make their way to your location.<br />

Include a link to a Google map on your home page. This makes it easy to find<br />

you. For best results, link to Google Maps for Mobile at www.google.com/<br />

mobile/maps.<br />

Both Yahoo! and Google let you prioritize searches for local matches on<br />

their mobile sites. Take the time to optimize your mobile site and be sure to<br />

include location-specific keywords: the names of the cities, states, or even<br />

local neighborhoods that you serve.<br />

Don’t make users type or click too much<br />

Even on the best mobile devices, typing and clicking links can be a challenge.<br />

Always make links big and easy to click for mobile visitors, and don’t overload<br />

any page with too many options.<br />

The best approach is to lead users through a series of simple choices, limiting<br />

options to no more than five to seven big links at any stage. Directing<br />

visitors to increasingly specific sets of links is best until users can choose the<br />

information they want or need.<br />

Avoid drop-down lists, or anything else that uses AJAX or JavaScript around<br />

links. That’s because many mobile devices don’t support these Web technologies,<br />

therefore making these links impossible to use.<br />

Some information, such as contact information, should never be more than<br />

one click away. In nearly all cases, including your phone number on the main<br />

page of your mobile site is good practice — after all, you know your visitor<br />

has a phone handy!<br />

Mobile Frameworks<br />

After reading our various lists of mobile design considerations earlier in this<br />

chapter, you may feel inclined to jump into your modified DeLorean and head<br />

back to simpler times with Marty McFly. However, before you hit 88 mph and<br />

activate the flux capacitor, you might want to check out some interesting new<br />

approaches to Web and application development based on <strong>HTML</strong>, <strong>CSS</strong>, and<br />

JavaScript. Just like Doc Brown in Back to the Future, the following frameworks<br />

aren’t perfect, but they do provide a good indication of what the future is<br />

likely to hold when it comes to mobile Web design and related technologies.<br />

301

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!