This commit is contained in:
parent
d1c6532ca4
commit
463451bd7d
|
@ -26,8 +26,12 @@ Activiteiten die voorbij zijn kun je <a href="/oudeactiviteiten" target="_self">
|
||||||
let slideIndex = 1;
|
let slideIndex = 1;
|
||||||
|
|
||||||
|
|
||||||
|
let slides = [];
|
||||||
|
|
||||||
let slides = [...(Array(29).keys().map((idx) => `${idx+1}`.padStart(2,"0")).map((arg) => `https://s3.asraphiel.dev/galerie/20241220/${arg}.jpg`))]
|
for(let i = 0; i < 29; i++) {
|
||||||
|
// [...((new Array(29)).keys().map((idx) => `${idx+1}`.padStart(2,"0")).map((arg) => `https://s3.asraphiel.dev/galerie/20241220/${arg}.jpg`))]
|
||||||
|
slides.push(`https://s3.asraphiel.dev/galerie/20241220/${(i+1).toString().padStart(2,"0")}.jpg`)
|
||||||
|
}
|
||||||
|
|
||||||
function createImage(url, index, total) {
|
function createImage(url, index, total) {
|
||||||
let content = `
|
let content = `
|
||||||
|
|
|
@ -65,9 +65,17 @@ met een enkele uitzondering. Klik op de foto hieronder voor een impressie van he
|
||||||
|
|
||||||
let slideIndex = 1;
|
let slideIndex = 1;
|
||||||
|
|
||||||
|
let dots = document.getElementById("dots")
|
||||||
|
|
||||||
|
let slides = [];
|
||||||
|
|
||||||
|
for(let i = 0; i < 29; i++) {
|
||||||
|
// [...((new Array(29)).keys().map((idx) => `${idx+1}`.padStart(2,"0")).map((arg) => `https://s3.asraphiel.dev/galerie/20241220/${arg}.jpg`))]
|
||||||
|
slides.push(`https://s3.asraphiel.dev/galerie/20241220/${(i+1).toString().padStart(2,"0")}.jpg`)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
let slides = [...(Array(29).keys().map((idx) => `${idx+1}`.padStart(2,"0")).map((arg) => `https://s3.asraphiel.dev/galerie/20241220/${arg}.jpg`))]
|
// dots.innerHTML = `slides length: ${slides.length}`
|
||||||
|
|
||||||
function createImage(url, index, total) {
|
function createImage(url, index, total) {
|
||||||
let content = `
|
let content = `
|
||||||
|
|
Loading…
Reference in a new issue