Simple Machines Community Forum

General Community => Scripting Help => Topic started by: benjauregui on April 20, 2015, 05:30:02 PM

Title: Problem with Javascript countdown
Post by: benjauregui on April 20, 2015, 05:30:02 PM
hi, i'm using a countdown but i realised it doesn't work in IE and Mozilla, it just works in Chrome and Opera. How can I fix it?

this is the code

<script language="JavaScript" type="text/javascript" class="td">
//<![CDATA[
TargetDate = "11/30/15 09:00 AM";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
BackColor = "transparent";
ForeColor = "#333333";
DisplayFormat = "%%D%% : %%H%% : %%M%% : %%S%%";
FinishMessage = "blabhaba";
//]]>
</script><script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js" type="text/javascript" class="td">
</script>