diff options
author | Jonas Kohl | 2024-09-06 18:04:01 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-06 18:04:01 +0200 |
commit | 1bd05b6bb56c18b98c9288da44cdb3aa08a3b4c3 (patch) | |
tree | 20eaa7d47cf367e9d76cb7fc05eeaf26887201b6 | |
parent | 3d22cc3333e1265a222425a4ede9c464234e3632 (diff) |
Disable mobile view in IE < 8
-rw-r--r-- | includes/mobile/template_head_start.php | 3 | ||||
-rw-r--r-- | navside.html | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/includes/mobile/template_head_start.php b/includes/mobile/template_head_start.php index 4a9e161..30fb8f8 100644 --- a/includes/mobile/template_head_start.php +++ b/includes/mobile/template_head_start.php @@ -8,3 +8,6 @@ <link rel="stylesheet" href="/mobile/site.css"> <script src="/mobile/jquery-1.12.4.min.js"></script> <script src="/mobile/dist/js/bootstrap.min.js"></script> + <!--[if lt IE 8]> + <meta http-equiv="refresh" content="0; url=/view.php?view=d&next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>"> + <![endif]-->
\ No newline at end of file diff --git a/navside.html b/navside.html index d2c18b6..34e21e0 100644 --- a/navside.html +++ b/navside.html @@ -68,7 +68,9 @@ <area shape="rect" target="music" coords="82,0,120,16" href="nomusic.html" alt="Aus"> </map> +<!--[if gte IE 8]>--> <button id="vm" onClick="doMobile()">Mobil-Version</button> +<!--<![endif]--> </body> |