Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Imagre refresh is affecting my drop-down

Status
Not open for further replies.

Fuzemmo

Programmer
May 16, 2002
52
0
0
US
I've got a page that reads a list of images from a directory and randomly picks one to display in a particular section. Every 5 seconds, it randomly picks a different image to display.

I'm using setTimeout to accomplish this. The problem I've got now, is that whenever it fires on the 5 second mark, it messes up what I may have been doing on the page. For example, if I had a drop-down box clicked and was looking for the entry I wanted, when the 5 seconds fires, it closes the drop-down almost as a refresh.

Is there any way around this?

 
Nevermind. Looks like its only happening if I try to view the page from within my IDE.

Sorry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top