Зациклить таймер отсчета
Добрый день Гуру. Подскажите, как зациклить этот таймер.
<script type="application/javascript"> var myCountdown4 = new Countdown({ year: (new Date().getFullYear() + 1), // I'm cheating here... so I don't have to update this every year! //year: 2015, // This is what you would normally put in here... just a number for the year month:1, day:1, width:300, height:40, padding : 1.0, // Sets the text size to a percentage of the overall height. (I probably should have nemed this better.) numbers : { font : "Arial", color : "#FFFFFF", bkgd : "#365D8B", fontSize : 200, rounded : 0.15, // percentage of size shadow : { x : 0, // x offset (in pixels) y : 3, // y offset (in pixels) s : 4, // spread c : "#000000", // color a : 0.4 // alpha // <- no comma on last item! } }, labels : { textScale : 0.8, offset : 5 } // <- no comma on last item! }); </script> Чтобы допустим он после окончания отсчета, автоматически обновлялся и заново начинал отсчет на 10 дне, по истечении 10 дней опять обновлялся и опять отсчитывал 10 дней и т.д Спасибо |
Часовой пояс GMT +3, время: 05:38. |