O'Reilly logo

BlackBerry Hacks by Dave Mabe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hack #88. Make Your Web Sites BlackBerry Friendly

Use these guidelines to make changes to your site to make it look great on a BlackBerry.

There are many web sites that will look surprisingly good on your BlackBerry without any modification at all. Others may require a tweak or two to make the content available to mobile devices. The good news is that you can make your site look good on a BlackBerry without sacrificing the user experience of your desktop browser–only visitors. There are certain guidelines that you can easily incorporate into your web development so that when you design sites, they'll look great for any device.

Don't Use Frames

Frames and mobile browsers just don't get along very well. It's easy to understand why: frames are made for very large screens. Because of this fact, the BlackBerry Browser doesn't even attempt to render frames—it forces users to choose which frame they'd like to view, one at a time. This is the bottom of the barrel when it comes to usability. Frames are often used as navigation on sites to display links to general areas on the site. As you can see from Figure 8-4, BlackBerry users will have little or no clue about which frame to use. The site displayed uses a left and a right frame.

Leaving BlackBerry usability aside, the sites that use frames well and make them usable even for desktop browsers are few and far between (Bloglines [Hack #39] is one; http://www.bloglines.com). Just try bookmarking a set of frames—it's not possible. Everything ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required