SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 102 | Next

Nirav Mehta

"Mobile Web Development"

This is called "alteration". This way you get the most control over
what is shown to each device.
3. Automatic Adaptation: create content in one format and use a tool to
generate device-specific versions. This is the most elegant method.
Adapting to User Devices
[ 76 ]
Let us rebuild the pizza selection page on POTR to learn how we can detect the
device and implement automatic adaptation.
Fancy Pizza Selection
Luigi has been asking to put up photographs of his delicious pizzas on the mobile
site, but we didn't do that so far to save bandwidth for users. Let us now go ahead
and add images to the pizza selection page. We want to show larger images to
devices that can support them.
Remember the XHTML to invoke a phone call? The two approaches of using wtai
and tel? Some customers have complained that they were not able to make a call
using that link. The cause is that their browsers did not understand the tel link. Let
us adapt that so that the user gets the markup her or his browser can understand!
Review the code shown below. It's an abridged version of the actual code.
include_once("wall_prepend.php");
?>


Pizza On The Run
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6