d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Countdown Timer
Add Reply New Topic New Poll
Member
Posts: 37
Joined: Apr 24 2014
Gold: 0.00
Mar 16 2015 09:16am
I'm trying to configure a countdown timer that I can use on Wordpress to show for the customer to order before a certain time for next day delivery. Good examples are on amazon pages etc.

I have the countdown timer working, see code below. I however need it to be set to countdown to 2pm every day bar saturday and sunday. Then once it hits 2pm the countdown starts again.


Code
Order Within: <script language="JavaScript">
TargetDate = "06/25/2015 14:00";
BackColor = "black";
ForeColor = "white";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
FinishMessage = "It is finally here!";
</script>
<script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
For next day delivery
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll