Alternate between images being displayed

Discussion in 'Graphics & Multimedia' started by turbowarp, Sep 29, 2007.

  1. #1
    Hello,

    I want to have 2 or more images that round robin rotate. When someone visits the image image #1 is displayed, the next time someone visits the image #2 is displayed and so on.

    Is there a simple way to rotate between images?
     
    turbowarp, Sep 29, 2007 IP
  2. litebulb1

    litebulb1 Peon

    Messages:
    151
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you want it to go in order 1-2-3 you will have to use a database. but if you want it to be round robin you can just use a random function in programming to choose which of the three files to display. if you want more help let me know.
     
    litebulb1, Sep 29, 2007 IP
  3. turbowarp

    turbowarp Active Member

    Messages:
    220
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Yes, I'd like to learn how. Round robin or in order, I don't really care, I just want to alternate the images.

    Would you mind helping me some?
     
    turbowarp, Sep 30, 2007 IP
  4. litebulb1

    litebulb1 Peon

    Messages:
    151
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This code is the very basics but I think you will get the idea.

    This is a link to download the file I made:

    www.litebulb1.com/datatransferring/uploads/2gmt558t
     
    litebulb1, Sep 30, 2007 IP
  5. mosaicgraphics

    mosaicgraphics Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i know a javascript can do that thing u can search it on the web, random picture script
     
    mosaicgraphics, Sep 30, 2007 IP
  6. turbowarp

    turbowarp Active Member

    Messages:
    220
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #6
    turbowarp, Oct 1, 2007 IP