Random Image on page load with onclick event - is this possible?
Is it possible to have a javascript random image that links to a web page but has an onclick event speedbump?
I have tried numerous random image codes but I can never get the onclick event to work.
Code:
onclick="return confirm('You are about to leave our website. \n Click OK to continue on to the website.')"
I am looking to display 2 images at the same time with a total of no more than 10 images total.
I have experimented with UltimateFade and other random image code I found online.
Thanks,
Dan