fixed open function problems
This commit is contained in:
parent
22fd6f3981
commit
5b3e71a05a
2
map.html
2
map.html
@ -14,7 +14,7 @@
|
|||||||
<script src="./res/map/script.js"></script>
|
<script src="./res/map/script.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<button id="back_button" onclick="move('./index.html')">⇽</button>
|
<button id="back_button" onclick="move('./index.html', true)">⇽</button>
|
||||||
<div class="imgbox">
|
<div class="imgbox">
|
||||||
<img class="center-fit" src="http://207.180.212.190/fht/map.jpg" draggable="false">
|
<img class="center-fit" src="http://207.180.212.190/fht/map.jpg" draggable="false">
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@ function move(url, self)
|
|||||||
{
|
{
|
||||||
let parameter = "_blank";
|
let parameter = "_blank";
|
||||||
|
|
||||||
if (self) parameter = "_self";
|
if (self === true) parameter = "_self";
|
||||||
|
|
||||||
open(url, parameter);
|
open(url, parameter);
|
||||||
}
|
}
|
@ -15,7 +15,7 @@
|
|||||||
<title>Fabrika Hrádek Tour</title>
|
<title>Fabrika Hrádek Tour</title>
|
||||||
</head>
|
</head>
|
||||||
<body onload="load_panorama()">
|
<body onload="load_panorama()">
|
||||||
<button id="back_button" onclick="move('../index.html')">⇽</button>
|
<button id="back_button" onclick="move('../map.html', true)">⇽</button>
|
||||||
<div id="panorama_div">
|
<div id="panorama_div">
|
||||||
<canvas id="panorama">This browser doesn't seem to support canvas. sorry idk</canvas>
|
<canvas id="panorama">This browser doesn't seem to support canvas. sorry idk</canvas>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user