mirror of
https://github.com/xfarrow/blink
synced 2025-02-17 08:10:40 +01:00
new pics
This commit is contained in:
parent
a94703acf8
commit
a7afce27e3
BIN
frontend/vanilla/content/stock_photo_3.png
Normal file
BIN
frontend/vanilla/content/stock_photo_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
frontend/vanilla/content/stock_photo_4.png
Normal file
BIN
frontend/vanilla/content/stock_photo_4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
@ -111,17 +111,19 @@
|
|||||||
//callbackErrors(data.errors, alert);
|
//callbackErrors(data.errors, alert);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function loadImage(){
|
function loadImage() {
|
||||||
const random = Math.floor(Math.random() * 2);
|
const random = Math.floor(Math.random() * 4);
|
||||||
if(random == 0){
|
if (random == 0) {
|
||||||
document.getElementById('image').src = '../content/stock_photo_1.png';
|
document.getElementById('image').src = '../content/stock_photo_1.png';
|
||||||
}
|
} else if (random == 1) {
|
||||||
else if(random == 1){
|
|
||||||
document.getElementById('image').src = '../content/stock_photo_2.png';
|
document.getElementById('image').src = '../content/stock_photo_2.png';
|
||||||
|
} else if (random == 2) {
|
||||||
|
document.getElementById('image').src = '../content/stock_photo_3.png';
|
||||||
|
} else if (random == 3) {
|
||||||
|
document.getElementById('image').src = '../content/stock_photo_4.png';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user