1
0
forked from GitHub/gf-core

Add meta tag to avoid horizontal scrolling in Mobile Safari

With thanks to codinggeekette,
http://www.codinggeekette.com/post/Mobile-Safari-40-2b-Horizontal-Scrolling-3d-SUX.aspx
This commit is contained in:
hallgren
2010-05-26 21:03:57 +00:00
parent 928c80e8a0
commit 77d464951e
3 changed files with 6 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ var my_options= {
show_grouped_translations: false show_grouped_translations: false
} }
</script> </script>
<meta name = "viewport" content = "width = device-width">
</head> </head>
<body onload="start_minibar(my_options)"> <body onload="start_minibar(my_options)">
@@ -30,7 +31,7 @@ var my_options= {
&amp; <a href="http://www.grammaticalframework.org:41296/translate/">Translator</a>] &amp; <a href="http://www.grammaticalframework.org:41296/translate/">Translator</a>]
</small> </small>
<small class=modtime> <small class=modtime>
HTML <!-- hhmts start --> Last modified: Wed May 26 14:08:57 CEST 2010 <!-- hhmts end --> HTML <!-- hhmts start --> Last modified: Wed May 26 22:35:48 CEST 2010 <!-- hhmts end -->
</small> </small>
<address> <address>
<a href="http://www.cs.chalmers.se/~hallgren/">TH</a> <a href="http://www.cs.chalmers.se/~hallgren/">TH</a>

View File

@@ -12,7 +12,8 @@ var phrasebook_options={
grammar_list: ["Phrasebook.pgf"], grammar_list: ["Phrasebook.pgf"],
delete_button_text: "Del" delete_button_text: "Del"
} }
</script> </script>
<meta name = "viewport" content = "width = device-width">
</head> </head>
<body onload="start_minibar(phrasebook_options)"> <body onload="start_minibar(phrasebook_options)">

View File

@@ -4,6 +4,7 @@
<link rel=stylesheet type="text/css" href="minibar.css"> <link rel=stylesheet type="text/css" href="minibar.css">
<script type="text/JavaScript" src="support.js"></script> <script type="text/JavaScript" src="support.js"></script>
<script type="text/JavaScript" src="saldotest.js"></script> <script type="text/JavaScript" src="saldotest.js"></script>
<meta name = "viewport" content = "width = device-width">
</head> </head>
<body onload="start_saldotest()"> <body onload="start_saldotest()">
@@ -15,7 +16,7 @@
[Baserad på <a href="http://spraakbanken.gu.se/sal/ws/">SALDOs nättjänster</a>] [Baserad på <a href="http://spraakbanken.gu.se/sal/ws/">SALDOs nättjänster</a>]
</small> </small>
<small class=modtime> <small class=modtime>
HTML <!-- hhmts start --> Last modified: Tue Feb 23 20:30:14 CET 2010 <!-- hhmts end --> HTML <!-- hhmts start --> Last modified: Wed May 26 22:36:25 CEST 2010 <!-- hhmts end -->
</small> </small>
<address>TH <img src="http://www.altocumulus.org/~hallgren/online.cgi?icon" alt=""></address> <address>TH <img src="http://www.altocumulus.org/~hallgren/online.cgi?icon" alt=""></address>
</body> </body>