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 1e379b4953
commit c54d21ea2c
3 changed files with 6 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ var my_options= {
show_grouped_translations: false
}
</script>
<meta name = "viewport" content = "width = device-width">
</head>
<body onload="start_minibar(my_options)">
@@ -30,7 +31,7 @@ var my_options= {
&amp; <a href="http://www.grammaticalframework.org:41296/translate/">Translator</a>]
</small>
<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>
<address>
<a href="http://www.cs.chalmers.se/~hallgren/">TH</a>

View File

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

View File

@@ -4,6 +4,7 @@
<link rel=stylesheet type="text/css" href="minibar.css">
<script type="text/JavaScript" src="support.js"></script>
<script type="text/JavaScript" src="saldotest.js"></script>
<meta name = "viewport" content = "width = device-width">
</head>
<body onload="start_saldotest()">
@@ -15,7 +16,7 @@
[Baserad på <a href="http://spraakbanken.gu.se/sal/ws/">SALDOs nättjänster</a>]
</small>
<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>
<address>TH <img src="http://www.altocumulus.org/~hallgren/online.cgi?icon" alt=""></address>
</body>