O'Reilly logo

Visual QuickStart Guide: JavaScript, Ninth Edition by Dori Smith, Tom Negrino

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

17. Scripting Mobile Devices

The newest big opportunities and challenges in web development have all come from the same event: the growth in popularity of mobile devices. A significant percentage of web surfing (and more importantly, online purchasing) now happens on phones and tablets. It’s time to face mobile devices head on. In this chapter, you’ll learn how to handle device rotation and location, launch other applications from the browser, and target particular devices.

Changing Your Orientation

One of the biggest differences in coding for mobile devices versus desktop computers is that a device’s orientation can change—that is, ...

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