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

Richard Wagner

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

For example, the following document fragment is valid to use with a _replace
request:
< li > item 1 < /li >
< li > item 2 < /li >
< li > item 3 < /li >
However, the following document fragment would not be correct because it is not valid inside of a
ul element:
< ul >
< li > item 1 < /li >
< li > item 2 < /li >
< li > item 3 < /li >
< /ul >
Creating a Destination Page
Each of the MLS listings in iRealtor has its own individual destination page that is accessed by an
AJAX - based link, such as:
< a class=???listing??? href=???406509171.html??? > 20 May Lane < /a >
The design goal of the page is to provide a picture and summary details of the house listing. But, taking
advantage of iPhone ??™ s services, you also want to add a button for looking up the address in the Map app
and an external Web link to a site providing town information. Figures 3 - 6 and 3 - 7 show the end design
for this destination page.
The document fragment for this page is as follows:
< div title=???20 May Lane??? class=???panel??? >
< div >
< img src=???images/406509171.png???/ >
< /div >
< h2 > Details < /h2 >
< fieldset >
< div class=???row??? >
< label > mls # < /label >
< p > 406509171 < /p >
< /div >
Chapter 3: Implementing the Interface
47
< div class=???row??? >
< label > address < /label >
< p > 20 May Lane < /p >
< /div >
< div class=???row??? >
< label > city < /label >
< p > Acton < /p >
< /div >
< div class=???row??? >
< label > price < /label >
< p > $318,000 < /p >
< /div >
< div class=???row??? >
< label > type < /label >
< p > Single Family < /p >
< /div >
< div class=???row??? >
< label > acres < /label >
< p > 0.


Pages:
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73