Results 1 to 4 of 4

Thread: Refresh page with a new image!

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

    Default Refresh page with a new image!

    Hi!
    I'm looking for a script that allows an image on my site to change (to another image) when I refresh the page.

    Hope someone knows what i'm talkin about! =)

    Thanks

    Zizi

  2. #2
    Join Date
    Dec 2007
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    What scripting language do you need
    How many different images you want to replace each other? Where are they stored?

    You should get a random value in your script, and then transform it somehow into a filename of an image, and attach it to some prefix (path or URL) and put the resulting string into the <img src="..."> tag.

    I can't go into details until I know yours

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

  4. #4
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you for your replies, I found what i'm looking for!

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
  •