Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: cycle images  (Read 3373 times)

0 Members and 1 Guest are viewing this topic.

Spoiler

    Topic Starter


    Specialist

    Thanked: 50
  • Experience: Beginner
  • OS: Windows XP
cycle images
« on: October 28, 2010, 11:19:34 AM »
Hi All,
I am looking for a way to cycle though a few images with each page load. In other words when you load a page you see one image but the next time you load the page you see another image

I was looking for a javascript to handle this. Is there another way to do this?

Thanks
Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

soybean



    Genius
  • The first soybean ever to learn the computer.
  • Thanked: 469
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 10
Re: cycle images
« Reply #1 on: October 28, 2010, 12:41:20 PM »
Did you find JavaScript to do this?  Here's one reference on using JavaScript: http://mtsu32.mtsu.edu:11075/JavaScript/JavaScript_Image_Cycle.htm.  I don't know of a way to do it without JavaScript.  It certainly can't be done with just HTML, so I believe JavaScript is your only option.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: cycle images
« Reply #2 on: October 28, 2010, 02:28:21 PM »
Server-Side script is a much more versatile solution if it's possible.
I was trying to dereference Null Pointers before it was cool.