fixed the panorama freeze | completed this
This commit is contained in:
parent
0dab3112b2
commit
3cfe0f8ea2
3
README
3
README
@ -1,6 +1,5 @@
|
|||||||
FabrikaHradekTour
|
FabrikaHradekTour
|
||||||
=================
|
=================
|
||||||
|
|
||||||
[ NOT DONE YET ]
|
|
||||||
This is my school project.
|
This is my school project.
|
||||||
If you are not satisfied with my code quality, solution is simple. Go fuck yourself <3
|
-- legal --
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<title>Fabrika Hrádek Tour</title>
|
<title>Fabrika Hrádek Tour</title>
|
||||||
</head>
|
</head>
|
||||||
<body onload="change_slideshow_img()">
|
<body onload="repeat_panorama()">
|
||||||
<nav id="nav_buttons">
|
<nav id="nav_buttons">
|
||||||
<button class="tlacitko" onclick="move('./map.html', true)">Mapa</button>
|
<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>
|
<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>
|
||||||
|
@ -24,9 +24,12 @@ function change_slideshow_img()
|
|||||||
imgs_index_2.splice(random_index, 1);
|
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];
|
last_index = buffer[random_index];
|
||||||
|
}
|
||||||
setTimeout(change_slideshow_img, 3000);
|
|
||||||
|
function repeat_panorama()
|
||||||
|
{
|
||||||
|
setInterval(change_slideshow_img, 3000);
|
||||||
}
|
}
|
@ -80,7 +80,7 @@ window.onload = function()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(x, y);
|
//console.log(x, y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user