Results 1 to 2 of 2

Thread: Need code to generate random text on click

  1. #1
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Need code to generate random text on click

    Hi All

    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.

    BACKGROUND
    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.
    Jen

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,982
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    See:

    http://home.comcast.net/~jscheuer1/side/quotes.htm

    Use your browser's 'view source' to get the code.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •