Web Analytics Made Easy -
StatCounter Need Image Banner Script - CodingForum


No announcement yet.

Need Image Banner Script

  • Filter
  • Time
  • Show
Clear All
new posts

  • Need Image Banner Script

    I know this is probably an easy thing to do, so dont flame me, but I have no clue how. I want to have a main image on my page and have that image change from one visit to the next...in other words, you visit my site and see an image...you leave and come back in an hour and there is a different image there...you leave and come back and there is a different image still...ya know what Im talking about?

    Anyone that can help me, I would sure be appreciative!

  • #2
    I think the best method for this is probably javascript.

    You have also broken our posting rules! Please read the rules you agreed to obey when you signed up for an account!

    Posting Rules & Guidelines

    *moving thread*
    Omnis mico antequam dominus Spookster!


    • #3
      OOPS...sorry, moderator. I meant no disrespect. Wont happen again!


      • #4
        Do you want the banner shown to be dependant on the time or do you just want it to be random?
        AMD Athlon "Barton" XP 3200+ (11*200.5MHz = 2.2GHz)
        BFG GeForce 6800 Ultra OC 256Mb
        3 * Kingston 256Mb PC3200 DDR400
        Seagate Barracuda 120Gb Ultra ATA-100 and Seagate Barracuda 160Gb, SATA-150


        • #5
          Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
          vBulletin Mods That Rock!


          • #6
            its not a banner per se...it is an image in the middle of the page that I want to change every time someonme comes back to my home page.


            • #7
              Yes, but the important thing is you know how you randomize. If you want to just display plain images instead of image links as most random banner scripts do, then you can modify the code to just display images.

              Ok, I searched this forum and I found a random banner script that uses images only. Here it is.
              vBulletin Mods That Rock!


              • #8
                thank you!


                • #9
                  OK, using a random banner script, is there any way for it to look in a specific dir and use any file from there (such as \images\) instead having to write EACH filename down?


                  • #10
                    that you would have to use a server side language since the dir resides on a server.