(732)-314-1057
diff --git a/js/RNG_Logo.js b/js/RNG_Logo.js new file mode 100644 index 0000000..7edb2cd --- /dev/null +++ b/js/RNG_Logo.js @@ -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(); +}); \ No newline at end of file