parent
2802249a48
commit
6e09ea04fa
Binary file not shown.
After Width: | Height: | Size: 784 KiB |
Binary file not shown.
After Width: | Height: | Size: 782 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 1.5 MiB |
@ -0,0 +1,16 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var imagesArray = [
|
||||
'https://pptc.vet/images/logo/1.png',
|
||||
'https://pptc.vet/images/logo/3.png',
|
||||
|
||||
// Add more image URLs here
|
||||
];
|
||||
|
||||
function displayRandomImage() {
|
||||
var randomIndex = Math.floor(Math.random() * imagesArray.length);
|
||||
var selectedImage = imagesArray[randomIndex];
|
||||
document.getElementById('randomImage').src = selectedImage;
|
||||
}
|
||||
|
||||
displayRandomImage();
|
||||
});
|
Loading…
Reference in New Issue