"New open standards created in the mobile era, such as HTML5, will win on mobile devices. " http://www.apple.com/hotnews/thoughts-on-flash/ Steve Jobs April, 2010
"HTML5 is now universally supported on major mobile devices. This makes HTML5 the best solution for creating and deploying content in the browser across mobile platforms." http://blogs.adobe.com/conversations/2011/11/flash-focus.html Danny Winokur November 9, 2011
Bootstrap http://markdotto.com/bs2/docs/ Frameless http://framelessgrid.com/ 1140 Grid Less Framework 4 http://cssgrid.net/ http://markdotto.com/bs2/docs/ Golden Grid System http://goldengridsystem.com/
@media only screen and (max-device-width: 1024px) and (orientation: portrait), (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 640px) { ... }
matchMedia() polyfill http://www.nczonline.net/blog/2012/01/03/css-media-queries-in-javascript-part-1/ document.createElement('div'); make sure it's hidden create a node with a media attribute<br/>set a CSS rule applied to a <div><br/>check to see if the style has been applied<br/>return { matches: bool, media: ma }<br/>
Web Workers Inline Workers WebKitBlobBuilder MozBlobBuilder Handling Errors "message", "error" Use Cases Prefetching Data Processing large arrays, humungous JSON responses http://www.html5rocks.com/en/tutorials/workers/basics/ Updating many rows of a local web database
Prerender Book Store Reader Reader href="http://read.douban.com/reader" /> http://prerender-test.appspot.com/ https://developers.google.com/chrome/whitepapers/prerender
// fallback for IE 6/7/8 background: url(icons.png); // for modern browsers background: rgba(0,0,0,0) url(icons.svg); SVG in CSS backgrounds IE 6/7/8 don't support rgba color values will automatically ignore this rule http://caniuse.com/#feat=svg-css
http://code.google.com/p/chromium/issues/detail?id=95344 Issue 95344: webkitRequestFullScreen results in a black background document.documentElement.webkitRequestFullScreen();
CACHE MANIFEST # version 1.0.1 /ark/logo.png favicon.ico app.html#reader http://img3.douban.com/pics/cover.png /ark/js/* CACHE: NETWORK: # online whitelist /j/reader/ #* FALLBACK: fallback.html Only one file per line. A full file name is required, no wildcards allowed. Can't include fragment identifiers.
Detecting Connection if (navigator.onLine) { // send data to server } else { // use Web Storage or Database } window.addEventListener( 'online', function(e) { // sync data with server }, false); notes & comments reading progress
http://forums.adobe.com/docs/DOC-1674 Weinre Wrapper must be connected to the Internet need to use machine's public IP address some updates in Chrome are not shown on devices ╮(╯_╰)╭