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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

View File

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