this is a 100% muck-around page that is not going to be put online....
just for general knowledge sakes... why doesnt this script work?
CODE
<html>
<HEAD>
<script language="JavaScript">
function text()
{
setTimeout(1000);
document.write("<h1 style='text-align: center'><a href='http://download.imgburn.com/SetupImgBurn_2.5.0.0.exe'></a></h1>");
}
</SCRIPT>
</HEAD>
<BODY>
<h2 style="text-align: center">Redirecting to external mirror...</h2>
<h3 style="text-align: center">Downloading...</h3>
<div onload="text()"></div>
</body>
</html>
<HEAD>
<script language="JavaScript">
function text()
{
setTimeout(1000);
document.write("<h1 style='text-align: center'><a href='http://download.imgburn.com/SetupImgBurn_2.5.0.0.exe'></a></h1>");
}
</SCRIPT>
</HEAD>
<BODY>
<h2 style="text-align: center">Redirecting to external mirror...</h2>
<h3 style="text-align: center">Downloading...</h3>
<div onload="text()"></div>
</body>
</html>
I want it to load up with the text "Redirecting to external mirror..." and "Downloading..." and then I want it to wait 1 second and then display "http://download.imgburn.com/SetupImgBurn_2.5.0.0.exe" as a link...(ImgBurn is just an example im using.......!!)
Im guessing ive totally stuffed the div element and its probs not even neccessary
thanks for future help,
--
Xthlon