Is it possible to write JavaScript so that actions can be automatically carried out at delayed intervals. For example, once a user clicks a "Go" button an image switches sources to a new image every ten seconds (like a slideshow) or a beep is sounded every minute a user takes an online quiz.
I also wondered if there was anything you can do with JavaScript that would make in image fade into view on rollover but I don't want to use Flash to acheive it. Unless I could just create an animated gif with one loop that fades in
d11wtq wrote:Is it possible to write JavaScript so that actions can be automatically carried out at delayed intervals. For example, once a user clicks a "Go" button an image switches sources to a new image every ten seconds (like a slideshow) or a beep is sounded every minute a user takes an online quiz.
It can be done.
I also wondered if there was anything you can do with JavaScript that would make in image fade into view on rollover but I don't want to use Flash to acheive it. Unless I could just create an animated gif with one loop that fades in
Thanks I'll have a play with it tomorrow. I was planning on combining the two ideas of delaying image loading and making them fade in (a bunch of screenshots) to get a nice effect without using flash.
I've got a javascript text book but all it talks about is form validation and boring stuff like that.