Need code to generate random text on click
Love the Dynamic Scripts website it has always provided me with fantastic code until now ...
I need a script that when someone clicks on an image (button) a random piece of text or a random image appears.
I have a list of 100 sayings/proverbs that I wish to display randomly (one at a time) when a button is clicked. Ideally it would be text that would appear randomly but I could change the text to images.
Can anyone suggest where I can find some code to do this please?
Thank you so much.
Use your browser's 'view source' to get the code.