SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Fine Tuned silver trophy KC's Avatar
    Join Date
    Sep 2001
    Posts
    2,291
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with new image load

    I'm looking for a way to load a fresh image everytime a page is revisited. Below is an example of what I'm talking about. I've seen this done before but not sure how. Any ideas? Thanks much!

    URAlly
    Attached Images Attached Images

  2. #2
    SPF Lifer
    Join Date
    Apr 2000
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi there,

    You simply need a banner rotation script. Here's a link that should help: http://www.simplythebest.net/info/javascript53.html.

  3. #3
    Fine Tuned silver trophy KC's Avatar
    Join Date
    Sep 2001
    Posts
    2,291
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks mtgm, but this isn't exactly what I'm looking for. When I refresh the page (adding the code you suggested), it starts the rotation over again. I'm looking for a script that works when a page is reloaded-refreshed, and will choose a random image based on an array I select, and not necessarily rotate through images using the "Timeout" event.

    Does this make sense?

    URAlly

    [Edit]

    I found what I was looking for so I thought I would share it with anyone else interested in the code.

    Rotating Images
    Last edited by URAlly; Mar 17, 2002 at 20:06.


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
  •