The img and alternate_img tags are a cool feature of WALL. You can
specify the default image in the img tag, and then specify alternative images
based on any condition you like. One of these images will be picked up
at run time. WALL can even skip displaying the image all together if the
nopicture test evaluates to true. In our code, we show a 120x100 pixels
images by default, and show a larger image if the device resolution is more
than 200 pixels. As the image is a JPG, we skip showing the image if the
device cannot support JPG images. The alternate_img tag also supports
showing some icons available natively on the phone. You can refer to the
WALL reference for more on this.
Adapting the phone call link is dead simple. Just use the
tag.
Specify the number to call in the tel attribute, and you are done. You can
also specify what to display if the phone does not support phone links in
alt attribute.
???
???
??? ??? ???
???
???
Chapter 4
[ 79 ]
When you load the URL in your browser, WALL will do all the heavy lifting
and show a mouth-watering pizza??”a larger mouth-watering pizza if you have
a large screen!
Can I Use All XHTML Tags?
WALL supports many XHTML tags.
Pages:
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118