Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed meta viewport.

  • Loading branch information...
commit 206a87131a574acc25e9fd81713afd8ecb072461 1 parent 33e72ce
Ariya Hidayat authored
2  a/quality/index.html
... ... @@ -1,5 +1,5 @@
1 1 <html><head><title>Android: touch even and painting quality</title>
2   -<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
  2 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
3 3 <style>
4 4 p { text-align: center; }
5 5 * {
2  app/offline/index.html
@@ -3,7 +3,7 @@
3 3 <link rel="apple-touch-icon" href="icon.png"/>
4 4 <meta name="apple-mobile-web-app-capable" content="yes">
5 5 <meta name="apple-mobile-web-app-status-bar-style" content="black">
6   -<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
  6 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
7 7 <title>Offline</title>
8 8 </head>
9 9 <body><p>Hello, world!</p>
2  bonding.htm
... ... @@ -1,5 +1,5 @@
1 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2   -<meta name="viewport" content="width=320,user-scalable:no">
  2 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
3 3 </head>
4 4 <title>IonicBonding · Made with Sencha Animator</title>
5 5 <style type="text/css">
2  clock.htm
... ... @@ -1,6 +1,6 @@
1 1 <html>
2 2 <head><title>Morphing Clock</title>
3   -<meta name="viewport" content="width=320,user-scalable:no">
  3 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
4 4 <style>
5 5 div.segment {
6 6 position: absolute;
2  css/overflow-scroll/index.html
... ... @@ -1,7 +1,7 @@
1 1 <html><head><title>CSS overflow:scroll test</title>
2 2 <meta name="apple-mobile-web-app-capable" content="yes">
3 3 <meta name="apple-mobile-web-app-status-bar-style" content="black">
4   -<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
  4 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
5 5 <style>
6 6 body {
7 7 font-family: Helvetica, Arial;
2  index.html
... ... @@ -1,5 +1,5 @@
1 1 <html><head><title>Demos by Ariya Hidayat</title>
2   -<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
  2 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
3 3 <link rel="stylesheet" type="text/css" href="style.css"/>
4 4 </head>
5 5 <body>
2  js/accelerometer/index.html
... ... @@ -1,5 +1,5 @@
1 1 <html><head><title>Detect accelerometer support</title>
2   -<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale= 1.0; user-scalable=no;">
  2 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
3 3 <script>
4 4 window.addEventListener("load", function () {
5 5 window.setTimeout(function () {
2  js/compass/index.html
... ... @@ -1,7 +1,7 @@
1 1 <html manifest="index.manifest"><head><title>Compass</title>
2 2 <link rel="apple-touch-icon" href="compass-icon.png"/>
3 3 <meta name="apple-mobile-web-app-capable" content="yes">
4   -<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
  4 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
5 5 <style>
6 6 body {
7 7 margin: 0;
3  js/devicemotion/index.html
@@ -3,9 +3,8 @@
3 3 <head>
4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 5 <link rel="apple-touch-icon" href="icon.png"/>
6   - <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
  6 + <meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
7 7 <link rel="stylesheet" href="../../lib/sencha-touch.css" type="text/css">
8   -
9 8 <title>Motion</title>
10 9 <script type="text/javascript" src="../../lib/sencha-touch.js"></script>
11 10 <script type="text/javascript" src="index.js"></script>
3  js/deviceorientation/index.html
@@ -4,9 +4,8 @@
4 4 <head>
5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 6 <link rel="apple-touch-icon" href="icon.png"/>
7   - <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
  7 + <meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
8 8 <link rel="stylesheet" href="../../lib/sencha-touch.css" type="text/css">
9   -
10 9 <title>Orientation</title>
11 10 <script type="text/javascript" src="../../lib/sencha-touch.js"></script>
12 11 <script type="text/javascript" src="index.js"></script>
2  js/kinetic/index.html
@@ -2,7 +2,7 @@
2 2 <link rel="apple-touch-icon" href="kinetic.png"/>
3 3 <meta name="apple-mobile-web-app-capable" content="yes">
4 4 <meta name="apple-mobile-web-app-status-bar-style" content="black">
5   -<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
  5 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
6 6 <script src="KineticModel.js"></script>
7 7 <script>
8 8 window.addEventListener("load", function () {
2  js/marblebox/index.html
@@ -2,7 +2,7 @@
2 2 <meta name="apple-mobile-web-app-capable" content="yes">
3 3 <link rel="apple-touch-icon" href="marblebox.png"/>
4 4 <meta name="apple-mobile-web-app-status-bar-style" content="black">
5   -<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
  5 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
6 6 <style>
7 7 body {
8 8 margin: 0;
2  js/mathparser/index.html
@@ -2,7 +2,7 @@
2 2 <head>
3 3 <meta name="apple-mobile-web-app-capable" content="yes">
4 4 <meta name="apple-mobile-web-app-status-bar-style" content="black">
5   -<meta name="viewport" content="width=device-width; maximum-scale=1.0; initial-scale=1.0; user-scalable=no">
  5 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
6 6 <title>Math expression parser</title>
7 7 <style>
8 8 body {
2  js/orientation/index.html
... ... @@ -1,5 +1,5 @@
1 1 <html><head><title>Detect orientation</title>
2   -<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
  2 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
3 3 <script>
4 4 window.addEventListener("load", function () {
5 5 window.setTimeout(function () {
2  js/timerspeed/index.htm
... ... @@ -1,7 +1,7 @@
1 1 <html>
2 2 <head><title>Timer Speed</title></head>
3 3 <meta name="apple-mobile-web-app-capable" content="yes">
4   -<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
  4 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
5 5 <link rel="stylesheet" type="text/css" href="../../style.css"/>
6 6 <script>
7 7 var tickerId, updateId;
2  js/touchdetect/index.html
... ... @@ -1,5 +1,5 @@
1 1 <html><head><title>Detect support for touch events</title>
2   -<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
  2 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
3 3 <script>
4 4 supportTouch = function () {
5 5 var s = false;
2  js/useragent/index.html
... ... @@ -1,5 +1,5 @@
1 1 <html><head><title>navigator object</title>
2   -<meta name="viewport" content="width=device-width; maximum-scale=1.0; initial-scale=1.0; user-scalable=no;">
  2 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
3 3 <link rel="stylesheet" type="text/css" href="../../style.css"/>
4 4 <body style="overflow: hidden">
5 5 <div style="height: 120%; width: 120%"><p>Hold on a second...</p></div>
2  js/whatistomorrow/index.html
@@ -8,7 +8,7 @@
8 8
9 9 <meta name="apple-mobile-web-app-capable" content="yes">
10 10 <meta name="apple-mobile-web-app-status-bar-style" content="black">
11   -<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale= 1.0; user-scalable=no;">
  11 +<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
12 12 <style>
13 13 body { font-family: 'Helvetica Neue', Helvetica, Arial; background-color: #ddd; color: #666; }
14 14 p, h1 { text-shadow: white 0px 2px 2px; }

0 comments on commit 206a871

Please sign in to comment.
Something went wrong with that request. Please try again.