Java: Document writing after a timelimit
Hey,
Basically as described in the topic, im after something so that once uve opened the page after a certain amount of time, lets say 5 seconds it then writes the text to the page. Ive tried this:
The functions
Code:
t = 6000;
function HelloWorld()
{
document.write('Hello');
}
function TextTimer()
{
setTimeout(HelloWorld(), t)
}
Onload
Code:
<body onload=TextTimer();>
Display
Code:
<SCRIPT LANGUAGE="JavaScript1.1">
TestTimer();
</SCRIPT>
Please could someone help, it would be very much appreciated.
Thanks
-Code
___________________
evolvedbb
