HTML - Help With Timer
Hi i am trying to add a timer to a web page a simple icon that says click to begin and then it starts counting from 0 - 5 mins or so i am having trouble getting it to work i have found many countdown timers but they go in the other direction i just want one that goes from 0 to 5 mins any links codes will be greatly appreciated ty
Similar TutorialsCan anyone tell me what is wrong with this timer. It does not work? HTML Code: function Timer(minutes, seconds) { var seconds; var minutes; var time = document.getElementById("timer"); if (seconds <= 0) { seconds = 9; minutes -= 1; } if (minutes <= -1) { seconds = 0; minutes += 1; } else { seconds -= 1; time.innerHTML = minutes + ":" + seconds; setTimeout("Timer(minutes, seconds)" , 1000); } } Hi Guys, I hope someone can help me out with this. I have a salespage at: http://www.conqueryourpart3.com I want to add a countdown timer to the top of this salespage. I have designed it and it works fine he http://www.conqueryourpart3.com/countdown1.htm I have copied the code from the countdown timer page and inserted it at the top of my salespage. However, the countdown timer doesn't work, it's no longer in the middle of the page and the text lower down the page now goes too close to the margins! See he http://www.conqueryourpart3.com/combined.htm Can anyone help me with this as I can't figure out what I've done wrong. Thanks, Simon |