On Github gm90 / rwd_presentation
On top of that.....we need to cater for
A hybrid application consists of an application written in web standards contained within a wrapper that provides full access to the devices native capabilities via a javascript API
PhoneGap/Apache CordovaTitanium<!-- Sets viewport to be the width of the device, also prevents zooming --> <meta name="viewport" content="width=device-width, user-scalable=false;"> <!-- IE10 version --> @viewport{ zoom: 1.0; width: extend-to-zoom; } <!-- Allow app to be set up as standalone in iOS. Android requires a javascript solution --> <meta name="apple-mobile-web-app-capable" content="yes">Always consider whether disable zooming is absolutely necessary. If you wish to prevent zooming it maybe a good idea to provide functionality to increase text size. Example without viewport Example with viewport
<!-- Disable automatic linking in iOS and Android --> <meta name="format-detection" content="telephone=no"> <!-- Telephone Links --> <a href="tel://0207 456 4577">Ring Motability</a> <!-- Mail Links --> <a href="mailto:lunch@learn.com?cc=garymc@mo.co.uk&subject= Boring&body=Oh%20boy%20this%20presenter%20is%20boring!">Mail</a> <!-- SMS message --> <a href="sms:1-408-555-1212">New SMS Message</a> <!-- Map Links, directions specified by daddr & saddr --> <a href="http://maps.apple.com/?daddr=SE1 9HB&saddr=Tower Bridge">Directions</a> <!-- Android version --> <a href="geo:0,0?q=Tower Bridge">Tower Bridge</a>
<!-- CSS media query on a link element --> <link rel="stylesheet" media="(max-width: 800px)" href="example.css"> <!-- CSS media query within a style sheet --> <style> @media (max-width: 600px) { .facet_sidebar { display: none; } } </style>Shameless example: Example
<!--<!DOCTYPE html> <html manifest="/cache.manifest"> <body> ... </body> </html>--> CACHE MANIFEST NETWORK: /tracking.cgi CACHE: /style.css /core.js /logo.jpg