Build slideshow dynamically

Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
2024-11-16 15:57:43 +01:00
parent ab85eb9dc7
commit 884bdc6ae0
9 changed files with 21 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
$(function () {
var index = 0
const maxIndex = 5
const maxIndex = numImages - 1
const delay = 6000
const shuffeledIndices = []