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 180 | Next

Richard Wagner

"Professional iPhone and iPod touch Programming: Building Applications for Mobile Safari"


Chapter 7: Integrating with iPhone Services
161

For legacy support, you can also break up the number sequence using a span element. For example,

Your ID is 5083212202.


would become

Your ID is 5083212202.


Creating Service Links
In adding this telephone link functionality into iProspector, you want to emulate the telephone links
inside of the iPhone Contact UI. To do so, begin by adding a fieldset in prospector.html and
enclosing two row div elements inside of it. Inside of the div elements, add a label and a link.
Here??™s the code:




The a links, which are referred to as service links in this book, are assigned a cuiServiceLink class and
use the tel: protocol in the href value.


Pages:
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192