Permalink
Browse files

Disable scaling, elastic push offscreen

  • Loading branch information...
1 parent c71c8df commit a356f4224c07b1698e371934c040249190d2fe11 Todd Foster committed May 21, 2012
Showing with 6 additions and 3 deletions.
  1. +4 −3 index.html
  2. +2 −0 readme.md
View
@@ -10,14 +10,15 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
-
- <meta name="viewport" content="width=device-width">
+ <meta name=”viewport” content=”user-scalable=no, width=device-width” />
<link rel="stylesheet" href="css/style.css">
<script src="js/libs/modernizr-2.5.3.min.js"></script>
+ <script> function BlockMove(event) { event.preventDefault(); } </script>
+
</head>
-<body>
+<body ontouchmove="BlockMove(event);" >
<header>
</header>
View
@@ -41,7 +41,9 @@ Begun 19 May 2012
* push css into external css file
* Clean up resize (hide elements during move?)
* font size for display
+* disable reposition app by dragging
## Credits
* [HTML5 boilerplate]:(http://html5boilerplate.com/)
* Help with [buttons]:(http://tutorialzine.com/2010/10/css3-animated-bubble-buttons/)
+* [WebApp adaptation]:(http://matt.might.net/articles/how-to-native-iphone-ipad-apps-in-javascript/)

0 comments on commit a356f42

Please sign in to comment.