diff options
author | Jonas Kohl | 2024-09-06 14:38:26 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-06 14:38:26 +0200 |
commit | 0540e04c77864186ce48193456634b897a11f5aa (patch) | |
tree | 92607cc903a9b0dc482ca14f3d33ab9c3707d78c /navside.html | |
parent | 2d8a37e7ac46aa100f2e460b024d21bae2883f5b (diff) |
Add mobile version
Diffstat (limited to 'navside.html')
-rw-r--r-- | navside.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/navside.html b/navside.html index 0941293..d2c18b6 100644 --- a/navside.html +++ b/navside.html @@ -19,6 +19,21 @@ .nl4 { top: 126px; } .nl5 { top: 166px; } .nl6 { top: 206px; } + #vm { + position: absolute; + left: 4px; + top: 272px; + width: 112px; + padding: 4px 0; + font: 8pt Times, serif; + background: #362d25; + color: white; + border: 1px solid; + border-color: #53483d #0f0c0a #0f0c0a #53483d; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + } --> </style> <script> @@ -29,6 +44,9 @@ function blank(i) { window.document["nl" + i].src = "/images/blank.gif"; } + function doMobile() { + window.top.location = "/view.php?view=m&next=" + encodeURIComponent(window.top.frames[3].location.href); + } // --> </script> </head> @@ -50,6 +68,8 @@ <area shape="rect" target="music" coords="82,0,120,16" href="nomusic.html" alt="Aus"> </map> +<button id="vm" onClick="doMobile()">Mobil-Version</button> + </body> </html> |