wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Reload different image for every second Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Reload different image for every second" Watch "Reload different image for every second" New topic
Author

Reload different image for every second

sandeep kethe
Greenhorn

Joined: Jan 11, 2009
Posts: 14
Hi
I have an JSP page where there are 5 Different Images which has to be reloaded for every five seconds.Is there any javaScript to make it out.

Thanks in advance


Regards
K. Sandeep
Cristian Senchiu
Ranch Hand

Joined: Feb 08, 2009
Posts: 40
It's very simple to do such a function. I made an example for you:
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
for a second change the 5000 to 1000

Eric
Cristian Senchiu
Ranch Hand

Joined: Feb 08, 2009
Posts: 40
Eric Pascarello wrote:for a second change the 5000 to 1000

True Eric, but sandeep asked for
sandeep kethe wrote:... which has to be reloaded for every five seconds
At the beginning, the title of the thread was misleading to me too ...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
See what I get for skimming the question are reading the wrongly worded title. lol

Eric
 
Consider Paul's rocket mass heater.
 
subject: Reload different image for every second
 
Similar Threads
How accurate is Appraisals in Corporates?
Architecture Assignment
unable to read the data from serial port in rfid
parallel threads
Exception block scope