Hey there, I've come across a JavaScript code for a countdown timer but need some assistance with it.
The issue I'm facing is that within the code, there's a line that displays a message to the user when the timer reaches zero. I want to know how I can hyperlink this text in the JavaScript.
<script language="JavaScript">
TargetDate = "8/12/2013 4:07 PM";
// TargetDate = "9/1/2013 12:00 PM";
BackColor = "transparent";
ForeColor = "#36c228";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% Days, %%H%% Hours, \n<br /> %%M%% Minutes, %%S%% Seconds.";
FinishMessage = echo "<a href="#">Click here to visit the site!</a>"
</script>
I'm still new to all of this and gave it a shot, even though I knew it probably wouldn't work. :)
If anyone could provide guidance on how to achieve this, I would greatly appreciate it!