Results 1 to 3 of 3

Thread: Random Text Picker?

  1. #1
    Join Date
    Aug 2008
    Location
    Stone, Staffordshire, England
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random Text Picker?

    Dear All

    I have a website, as you may see from my profile, and on the main page is a qote of the week. This proved to be to much hard work and consequently hasn't been updated for a long time.

    I thought that maybe, I could combine all of the quotes into one document or script and then have it pick one randomly (without repetition until all quotes have been used if possible) say every week?

    Is this possible, and is there any fairly basic code or script that I can use?

    Kindest Regards Edward

  2. #2
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Here. Check out my post: http://www.dynamicdrive.com/forums/s...ad.php?t=33714

    It gives samples of what you can do to display random text. Extract some code to do it yourself. If you need help, feel free to PM me or leave a post.

    -magicyte

  3. #3
    Join Date
    Aug 2008
    Location
    Stone, Staffordshire, England
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok, it doesn't seem to let me send you a PM, so I decided to write my questions in a post!

    It looks like just what I am after, however...

    Can I make it loads into a table and not an iframe?

    Do I have to have it load a HTML page, or can I just have it load a piece of text from a list?

    And is the page called none.html just a completely blank HTML file? If so why is it needed?

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
  •