Can anyone help me with this please? found this code on a site...
<script type="text/javascript">
time = 15;
function download() {
if (time == 0) {
document.getElementById("rom").innerHTML='<for m method="POST" action="http://dl.coolrom.com/dl.php?7261"><input type="hidden" name="sid" value="05a9c3b16fa470eada298392e6c458b7"><input type="submit" style="font:
t verdana" value="Download Your File"></form>';
}
if (time > 0) {
document.getElementById("rom").innerHTML='<fon t size="2">Please wait. Your download link will appear in ' + time + ' seconds</font>';
setTimeout('download()',1000);
}
time--;
}
download();
</script>
but i cannot get it to work on my website. I have no knowledge of javascript whatsoever so any help would be great. Thanks.
<script type="text/javascript">
time = 15;
function download() {
if (time == 0) {
document.getElementById("rom").innerHTML='<for m method="POST" action="http://dl.coolrom.com/dl.php?7261"><input type="hidden" name="sid" value="05a9c3b16fa470eada298392e6c458b7"><input type="submit" style="font:
}
if (time > 0) {
document.getElementById("rom").innerHTML='<fon t size="2">Please wait. Your download link will appear in ' + time + ' seconds</font>';
setTimeout('download()',1000);
}
time--;
}
download();
</script>
but i cannot get it to work on my website. I have no knowledge of javascript whatsoever so any help would be great. Thanks.

Comment