Learn How To Add a New Year Countdown Widget to your Blogger Blog with simple steps. And 100% working codes and live demo. Add this awesome widget to impress your blogger blog readers.
We are just 2 days away from New Year 2016 and every one is warmed up and charged to welcome the new year in their lives and make this event memorable. As a blogger, its always essential to stay up-to-date with events going around and show your skills to your blog readers. As its a new year event so today I am going to share a new year countdown widget for your blogger blog. After sharing a great Christmas Effect and New Year Fireworks Effect, now its time for a countdown widget. There are two different styled countdown widgets which I will share in this post, so choose wisely. Both are awesome styles, one is simple clock which displays remaining days, hours, minutes and ticking seconds, the other styled clock also displays the same with stars falling down effect. The moment when the new year starts, this widget will display a message saying "It's New Years Eve! "Happy New Year 2015". So lets begin this tutorial:
Style 1:
Style one is simple clock which will display remaining days, hours, minutes and seconds, with live ticking seconds effect, which is awesome feature in this widget. When countdown will be completed and new year will start, this widget will display a message saying "It's New Years Eve! Happy New Year 2016", obviously you can change this message with your unique message according to your needs. So lets see the demo first:
As you can see in the demo, its a good new year countdown widget for your blogger blog. In order to add this awesome widget just follow the steps:
Step 1: Login to your Blogger Account >> Select a Blog
Step 2: Go to Layout >> Add a Gadget and Select HTML/JavaScript gadget.

Step 3: Copy the code below and add in the box:
- <link href="http://fonts.googleapis.com/css?family=Metamorphous" rel="stylesheet" type="text/css" />
- <style type="text/css">
- a.bgt-clock-link { text-decoration: none; display: block; outline: none; }
- #TimerDiv { background: transparent;color: #000;text-shadow: 0 0 6px #00cc00;font-family: 'Metamorphous', cursive;font-size: 28px;text-align: center;line-height: normal; }
- .bgt-clock-sep { -moz-animation: sep-blinks 1.1s linear 0s infinite; -webkit-animation: sep-blinks 1.1s linear 0s infinite; animation: sep-blinks 1.1s linear 0s infinite;}
- @-moz-keyframes sep-blinks
- {
- 0% {opacity:1}
- 50% {opacity:0}
- 100% {opacity:1}
- }
- @-webkit-keyframes sep-blinks
- {
- 0% {opacity:1}
- 50% {opacity:0}
- 100% {opacity:1}
- }
- @keyframes sep-blinks
- {
- 0% {opacity:1}
- 50% {opacity:0}
- 100% {opacity:1}
- }
- #bgt-clock-days{color:#00cc00;font-weight:900;}#bgt-clock-hr,#bgt-clock-mins,#bgt-clock-secs{font-family:courier new}#bgt-clock-hr{background:#00cc00;font-weight:700}#bgt-clock-secs{background:#ccc;color:#2aa4cf;}#bgt-clock-mins{background:#2aa4cf;}
- </style>
- <a target="_blank" class="bgt-clock-link" href='http://trickzbucket.blogspot.com'>
- <div id="TimerDiv">
- Countdown Till 2016<br /><span id="bgt-clock-days"></span> Days<br /><span id="bgt-clock-hr"></span><span class="bgt-clock-sep"> : </span><span id="bgt-clock-mins"></span><span class="bgt-clock-sep"> : </span><span id="bgt-clock-secs"></span></div>
- </a>
- <script type="text/JavaScript">
- function startTimer() {
- var newyr=new Date("January 1, 2015 00:00:00");
- var newyeartime=newyr.getTime();
- var todaytm=new Date();
- var todaytime=todaytm.getTime();
- var timeleft=newyeartime-todaytime;
- var leftdays = timeleft/86400000;
- var lefthr=23-todaytm.getHours();
- var leftmin=59-todaytm.getMinutes();
- var leftsec=59-todaytm.getSeconds();
- if (Math.floor(leftdays) <= -1) {
- document.getElementById('TimerDiv').innerHTML="It's New Years Eve!<br/>Happy New Year 2016";
- }
- else {
- document.getElementById('bgt-clock-days').innerHTML= Math.floor(leftdays);
- document.getElementById('bgt-clock-hr').innerHTML= lefthr;
- document.getElementById('bgt-clock-mins').innerHTML= leftmin;
- document.getElementById('bgt-clock-secs').innerHTML= leftsec;
- }
- t=setTimeout('startTimer()',999);
- }
- startTimer();
- </script>
Customization:
- The Read Color: Event of the countdown.
- The Yellow Color: Date of event.
- The Brown Color: Message alert after countdown.
Step 4: Click on Save Button and you are done!.
Style 2:
This style is awesome, I love it. It shows stars, an awesome gif image and also counts remaining days, hours, minutes and seconds with ticking effect. This code was shared by a blog called 'Blogger Spice'. This awesome new year countdown widget will display a message saying 'It's New Years Eve! Happy New Year 2016'. Lets have a look on live demo:
So here is the code for it, just copy the code and paste it in HTML/JavaScript gadget as shown in Step 3 above:
- <link href="http://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css" />
- <style type="text/css">
- a.BloggerSpice { text-decoration: none; display: block; outline: none; }
- #NotonBochor { width:99%;background: #FEFEFE;background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB1Q5dktQmfU7ZEqKwp2T2Uqmga9-xlv_8VsyKk6NjJv7hZAxvK9yuC432znDMixgRRT_50Clk8P_YvkR09ejjI_R8gvP7TdcYoYknHO-tf42Wvd_XUJwrpMfutMjBTKXP2BcL-bPFCIA5/s1600/BloggerSpice+StarsPattern.gif);color: #000000;text-shadow: 0 0 3px #FB0825;font-family: 'Oswald', serif;font-size: 26px;text-align: center;line-height: normal; }
- .NewYear-clock-sep { -moz-animation: sep-blinks 1.1s linear 0s infinite; -webkit-animation: sep-blinks 1.1s linear 0s infinite; animation: sep-blinks 1.1s linear 0s infinite;}
- @-moz-keyframes sep-blinks
- {
- 0% {opacity:1}
- 50% {opacity:0}
- 100% {opacity:1}
- }
- @-webkit-keyframes sep-blinks
- {
- 0% {opacity:1}
- 50% {opacity:0}
- 100% {opacity:1}
- }
- @keyframes sep-blinks
- {
- 0% {opacity:1}
- 50% {opacity:0}
- 100% {opacity:1}
- }
- </style>
- <a target="_blank" class="TrickzBucket" href='http://trickzbucket.blogspot.com'>
- <div id="NotonBochor">
- New Year Counting Till 2016<br/>
- <tr>
- <td>
- <img style="float:left;padding-left:10%;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgPK0UNSYSqfpNRp4xhbWIHMg55mXyiTwRIpPKPv6zUfYF4x96XS5iGjCemAn7Chsmw27dN2T4ZeUfKf5tgmDw8itfGITYep4Un8F4UcY8YebdIPBajzZcCYyGjhVZwZkVbSlJYknt-lbg/s1600/BloggerSpice+SmileyDogCelebrating.gif" width="125px"/>
- </td></tr><span id="NewYear-clock-days"></span> Days To Go<br /><span id="NewYear-clock-hr"></span><span class="NewYear-clock-sep"> : </span><span id="NewYear-clock-mins"></span><span class="NewYear-clock-sep"> : </span><span id="NewYear-clock-secs"></span></div>
- </a>
- <script type="text/JavaScript">
- function startTimer() {
- var newyr=new Date("January 1, 2016 00:00:00");
- var newyeartime=newyr.getTime();
- var todaytm=new Date();
- var todaytime=todaytm.getTime();
- var timeleft=newyeartime-todaytime;
- var leftdays = timeleft/86400000;
- var lefthr=23-todaytm.getHours();
- var leftmin=59-todaytm.getMinutes();
- var leftsec=59-todaytm.getSeconds();
- if (Math.floor(leftdays) <= -1) {
- document.getElementById('NotonBochor').innerHTML="It's New Years Eve!<br/>Happy New Year 2016";
- }
- else {
- document.getElementById('NewYear-clock-days').innerHTML= Math.floor(leftdays);
- document.getElementById('NewYear-clock-hr').innerHTML= lefthr;
- document.getElementById('NewYear-clock-mins').innerHTML= leftmin;
- document.getElementById('NewYear-clock-secs').innerHTML= leftsec;
- }
- t=setTimeout('startTimer()',999);
- }
- startTimer();
- </script>
- Customize the colored text with your desire.
Hit Save and you are done! Enjoy Blogging and Happy New Year from TrickzBucket.

COMMENTS