fixed the panorama freeze | completed this

This commit is contained in:
Václav Šmejkal 2023-06-02 20:54:23 +02:00 committed by GitHub
parent 0dab3112b2
commit 3cfe0f8ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions

3
README
View File

@ -1,6 +1,5 @@
FabrikaHradekTour
=================
[ NOT DONE YET ]
This is my school project.
If you are not satisfied with my code quality, solution is simple. Go fuck yourself <3
-- legal --

View File

@ -18,7 +18,7 @@
<title>Fabrika Hrádek Tour</title>
</head>
<body onload="change_slideshow_img()">
<body onload="repeat_panorama()">
<nav id="nav_buttons">
<button class="tlacitko" onclick="move('./map.html', true)">Mapa</button>
<button class="tlacitko" onclick="move('https://earth.google.com/web/@49.71686994,13.64771387,395.10185485a,550.97177309d,35y,0h,0t,0r', false)">Google Earth</button>

View File

@ -24,9 +24,12 @@ function change_slideshow_img()
imgs_index_2.splice(random_index, 1);
}
console.log(buffer[random_index] + "\n" + last_index + "\n\n");
//console.log(buffer[random_index] + "\n" + last_index + "\n\n");
last_index = buffer[random_index];
setTimeout(change_slideshow_img, 3000);
}
function repeat_panorama()
{
setInterval(change_slideshow_img, 3000);
}

View File

@ -80,7 +80,7 @@ window.onload = function()
}
}
console.log(x, y);
//console.log(x, y);
}
}