This repository has been archived by the owner on May 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
46 lines (28 loc) · 1.62 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
This is a simple "contact manager"
HTML5 doctype
<!DOCTYPE html>
Set the css links
<link rel="stylesheet" type="text/css" href="/stylesheets/iphone.css" media="only screen and (max-width: 480px)" />
<link rel="stylesheet" type="text/css" href="/stylesheets/scaffold.css" media="screen and (min-width: 481px)" />
Controll the Page Scaling
<meta name="viewport" content="user-scalable=no, width=device-width" />
make it a web app
Full Screen Mode
<meta name="apple-mobile-web-app-capable" content="yes" />
low hanging fruit
<%= f.label :first_name %><br />
<%= f.text_field :first_name, :placeholder =>'First Name' %>
<%= f.label :mobile %><br />
<%= f.telephone_field :mobile, :placeholder =>'Mobile' %>
<%= f.label :email %><br />
<%= f.email_field :email, :placeholder =>'Email', :autocapitalize => 'off' %>
<%= f.label :web_site %><br />
<%= f.url_field :web_site, :placeholder =>'Website' %>
add screen shots for low hanging fruit.
links
"Building iPhone Apps with HTML, CSS, and JavaScript" http://building-iphone-apps.labs.oreilly.com/
"Preparing Your Web Content for iPad" http://developer.apple.com/library/safari/#technotes/tn2010/tn2262/index.html
"Getting Started with iPhone Web Apps" http://developer.apple.com/library/safari/#referencelibrary/GettingStarted/GS_iPhoneWebApp/index.html%23//apple_ref/doc/uid/TP40008134
"Safari HTML Reference" http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariHTMLRef/Introduction.html%23//apple_ref/doc/uid/30001261-SW1
Forms and HTML5
"A Form of Madness" http://diveintohtml5.org/forms.html