N
Noggon
My function, called first() keeps coming back to me in the javascript
console as being undefined.
Yet I can't think why it isn't loaded. Maybe I'm brain dead, so could
use some help!
What I'm trying to do is to have functions call each other at intervals
of 2 seconds, each changin a src of an image as they do so.
function first()
{
picturePlace.src =
"movie_info_data/godfather_info/godfather_listening.jpg";
window.setTimeout("second()",2000);
}
function second()
{
picturePlace.src =
"movie_info_data/godfather_info/godfather_deepinthought.jpg";
window.setTimeout("third()",2000);
}
function third()
{
picturePlace.src =
"movie_info_data/godfather_info/godfather_dancingdaughter.jpg";
window.setTimeout("fourth()",2000);
}
function fourth()
{
picturePlace.src =
"movie_info_data/godfather_info/godfather_withson.jpg";
}
window.setTimeout("first()",2000);
console as being undefined.
Yet I can't think why it isn't loaded. Maybe I'm brain dead, so could
use some help!
What I'm trying to do is to have functions call each other at intervals
of 2 seconds, each changin a src of an image as they do so.
function first()
{
picturePlace.src =
"movie_info_data/godfather_info/godfather_listening.jpg";
window.setTimeout("second()",2000);
}
function second()
{
picturePlace.src =
"movie_info_data/godfather_info/godfather_deepinthought.jpg";
window.setTimeout("third()",2000);
}
function third()
{
picturePlace.src =
"movie_info_data/godfather_info/godfather_dancingdaughter.jpg";
window.setTimeout("fourth()",2000);
}
function fourth()
{
picturePlace.src =
"movie_info_data/godfather_info/godfather_withson.jpg";
}
window.setTimeout("first()",2000);