I am making a html and javascript game. I have a title picture of my company but need to display of for only a few seconds how should I do this?
1 Answer
Here's the FIDDLE. Try setTimeout.
setTimeout(function () {
alert("Hello");
//your code here...
}, 3000);
2 Comments
Sportsquid
That won't work beacuse rat will bring it back to that function every few seconds I need it to show once and stop
Vond Ritz
the code will be run only onced. what are you talking about is setInterval.