D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
bitwit
Full window
Github gist
The HTML, CSS and JS from my blog entry An iOS5 Ready Native Web App Template http://www.bitwit.ca/blog/an-ios5-ready-native-web-app-template/
<!doctype html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="style.css"> <script src="jquery-1.6.2.min.js"></script> <script defer src="script.js"></script> </head> <body id="body"> <div id="container"> <div id="iphone"> <a href="/" class="js">jQuery Alert</a><br /> <label for="username">Enter your name:</label> <input type="text" id="username" /> <a href="javascript:objcMessage();">Objective-C Alert</a><br /> <a href="objc://takeCameraImage">Take a camera image</a><br /> <a href="objc://takeLibraryImage">Image from library</a><br /> </div> <img id="testImage" src="iphonebattery.jpeg" /> </div><!-- #container --> </body> </html>