| | #1 |
| www.schrader.co War Room Member Join Date: 2010 Location: Northern Michigan
Posts: 469
Thanks: 207
Thanked 29 Times in 25 Posts
|
Hi Warriors, I am using this countdown timer script...seen here: https://github.com/sonnyt/downCount I have put the date / time info on the custom.css file...no go. Its being used on this site: Top Jimmy Construction - Web Site Coming Soon! Thanks in advance for help on this! Bret |
| | |
| |
| | #2 |
| Active Warrior Join Date: 2015 Location: Kherson, Ukraine
Posts: 42
Thanks: 0
Thanked 8 Times in 8 Posts
|
Hi. You need to insert code in html file. Sample code: Code:
<script class="source" type="text/javascript">
$('.countdown').downCount({
date: '24/09/2014 12:00:00',
offset: +10
});
</script> Code:
(function ($) {
$('.countdown').downCount({
date: '24/09/2014 12:00:00',
offset: +10
});
})(jQuery); |
| |
| | #3 |
| www.schrader.co War Room Member Join Date: 2010 Location: Northern Michigan
Posts: 469
Thanks: 207
Thanked 29 Times in 25 Posts
|
I already have this code in custom.js $(function() { window.scrollReveal = new scrollReveal(); "use strict"; // PreLoader $(window).load(function() { $(".loader").fadeOut(400); }); // Backstretchs $("#header").backstretch("images/3.jpg"); $("#services").backstretch("images/3.jpg"); // Countdown $('.countdown').downCount({ date: '12/12/2015 12:00:00', offset: +10 }); }); |
| | |
| |
| | #5 |
| www.schrader.co War Room Member Join Date: 2010 Location: Northern Michigan
Posts: 469
Thanks: 207
Thanked 29 Times in 25 Posts
|
Hey - that worked - thanks! I see the 'custom.js' file is the same as the orig....can you please tell me what you did diff on the jquery.downCount.js file? Thanks again!! |
| | |
| |
| | #6 |
| Active Warrior Join Date: 2015 Location: Kherson, Ukraine
Posts: 42
Thanks: 0
Thanked 8 Times in 8 Posts
|
You're welcome. In file jquery.downCount.jz I replaced the line 10 on: Code: date: null, |
| |
| The Following User Says Thank You to wordpress+expert For This Useful Post: |
|
| Bookmarks |
| Tags |
| countdown, date, set, timer |
| |