Tài liệu Lập trình iphone chuyên nghiệp part 6 docx
... text through the text-shadow property. The basic declaration is as follows: text-shadow: #66 666 6 0px -1px 0; The first value is the color of the shadow. The next two give the shadow’s offset ... CSS-based iPhone buttons, which is explained later in this chapter. Figure 4 -6: No text shadow defined Figure 4-7: Text shadow defined c04.indd 90c04.indd 90 12/7/07 2:45: 26 PM12/7/07 2:...
Ngày tải lên: 15/12/2013, 11:15
... href=”http://maps.google.com/maps?q=52.123N,2.456W”>Jack’s Summer Retreat</a> c07.indd 168 c07.indd 168 12/7/07 2:53: 46 PM12/7/07 2:53: 46 PM Chapter 7: Integrating with iPhone Services 169 To get directions, ... 0; top: 43px; clear: none; } .panel img.cui { margin: 0px 15px 5px 0px; border: 1px solid #66 666 6; float: left; -webkit-border-radius: 5px; } .panel > di...
Ngày tải lên: 15/12/2013, 11:15
... $contents = file_get_contents($file); $base64 = base64_encode($contents); return (‘data:text/html;charset=utf-8;base64,’ . $base64); } ?> ❑ ❑ Figure 10 -6: Encoding a Web application c10.indd ... #FFFFFF; } input { box-sizing: border-box; width: 100%; margin: 8px 0 0 0; padding: 6px 6px 6px 44px; font-size: 16px; font-weight: normal; } body > .panel { box-sizing: border-box;...
Ngày tải lên: 24/12/2013, 17:15
Tài liệu Lập trình iphone chuyên nghiệp part 5 doc
... (replace) replaceElementWithSource(replace, req.responseText); c03.indd 76c03.indd 76 12/7/07 2:43: 46 PM12/7/07 2:43: 46 PM Chapter 3: Implementing the Interface 80 Listing 3 - 4 (continued) function ... child = child. nextSibling) c03.indd 77c03.indd 77 12/7/07 2:43: 46 PM12/7/07 2:43: 46 PM Chapter 3: Implementing the Interface 69 images and then a routine called checkOrientAndLo...
Ngày tải lên: 15/12/2013, 11:15
Tài liệu Lập trình iphone chuyên nghiệp part 7 pdf
... center; line-height: 36px; margin: 15px auto; -webkit-border-radius:10px; -webkit-appearance: push-button; } (continued) c04.indd 92c04.indd 92 12/7/07 2:45: 26 PM12/7/07 2:45: 26 PM Chapter 4: Styling ... an important role in creating CSS-based iPhone buttons, which is explained later in this chapter. c04.indd 90c04.indd 90 12/7/07 2:45: 26 PM12/7/07 2:45: 26 PM Chapter 4: Stylin...
Ngày tải lên: 15/12/2013, 11:15
Tài liệu Lập trình iphone chuyên nghiệp part 8 doc
... absolute; width: 100%; height: 60 px; font-size: 28pt; } .anchorTop { top: 0; } .anchorBottom { bottom: 0; } .center { position: absolute; top: 60 px; bottom: 60 px; } .main { overflow: ... background-color: rgb(111, 135, 168 ); border-top: 1px solid rgb(179, 1 86, 201); border-bottom: 1px solid rgb(73, 95, 144); color: white; font-size: 20px; text-shadow: rgba(0, 0,...
Ngày tải lên: 15/12/2013, 11:15
Tài liệu Lập trình iphone chuyên nghiệp part 9 doc
... works only in portrait mode and is not enabled for landscape. c05.indd 116c05.indd 1 16 12/7/07 2:47: 06 PM12/7/07 2:47: 06 PM Chapter 5: Handling Touch Interactions and Events 118 The full source ... two-finger scroll. c05.indd 117c05.indd 117 12/7/07 2:47: 06 PM12/7/07 2:47: 06 PM Chapter 5: Handling Touch Interactions and Events 1 16 The wheelDelta property returns -120 when...
Ngày tải lên: 15/12/2013, 11:15
Tài liệu Lập trình iphone chuyên nghiệp part 10 doc
... by fillRect() . Figure 6- 1 shows the result. Figure 6- 1: Rectangular blocks drawn on a canvas c 06. indd 126c 06. indd 1 26 12/7/07 2:48:21 PM12/7/07 2:48:21 PM Chapter 6: Advanced Programming Topics: ... Table 6- 1 ) that determine how the drawing looks on the page. c 06. indd 124c 06. indd 124 12/7/07 2:48:21 PM12/7/07 2:48:21 PM Chapter 6: Advanced Programming Topics: Canvas a...
Ngày tải lên: 15/12/2013, 11:15
Tài liệu Lập trình iphone chuyên nghiệp part 11 pdf
... image, as shown in Figure 6- 6 . c 06. indd 133c 06. indd 133 12/7/07 2:48:23 PM12/7/07 2:48:23 PM Chapter 6: Advanced Programming Topics: Canvas and Video 134 Figure 6- 6: Encoding an image The ... are drawing. (See Table 6- 1 for a list of all context properties.) If you would like to set a color value, you can use any CSS color, such as: context.fillStyle=” #66 666 6”; context.stro...
Ngày tải lên: 15/12/2013, 11:15
Tài liệu Lập trình iphone chuyên nghiệp part 12 doc
... 260 1 76 × 99 4:3 (or 1.33:1) 64 0 × 480 480 × 360 1 76 × 144 2.35:1 64 0 × 272 480 × 204 1 76 × 75 c 06. indd 149c 06. indd 149 12/7/07 2:48:27 PM12/7/07 2:48:27 PM Chapter 6: Advanced Programming Topics: ... restore() methods. c 06. indd 144c 06. indd 144 12/7/07 2:48: 26 PM12/7/07 2:48: 26 PM Chapter 6: Advanced Programming Topics: Canvas and Video 150 Table 6- 5: Optimizing V...
Ngày tải lên: 15/12/2013, 11:15