A friend on mine made a count down for the first book
of The Watchers Series release date.
I would LOVE for all my blogging friends to help by sharing the count down on the side bar of their blog.
HOW TO GET IT ON YOUR BLOG
For Blogger:
I went to “Layout”
Then “Add a Gadget”
Then “Configure HTML/JavaScript”
Then I copied and pasted the below script to make the count
down:
<a href="http://www.Knightess.com"> <div style="
text-align:center; background-image:url(http://www.knightess.com/countdown.jpg);
background-position:center; background-size: 100% auto; width:161px;
height:54px; padding-top:200px; "> <span id='pageinval34'
style='text-align:center; font-family:arial, helvetica, sans-serif;
font-size:12px; color:#FFFFFF; font-weight:bold;'> </span>
</div> </a> <script type="text/javascript">function
countdown_load2(){var the_event="Until Release";var
on_event="Released";var yr=2014;var mo=09;var da=01;var hr=0;var
min=0;var sec=0;var month='';var month=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");var
bottom_event="";var now_d=new Date();var now_year=now_d.getYear();if
(now_year < 1000)now_year+=1900;var now_month=now_d.getMonth();var
now_day=now_d.getDate();var now_hour=now_d.getHours();var
now_min=now_d.getMinutes();var now_sec=now_d.getSeconds();var
now_val=month[now_month]+" "+now_day+", "+now_year+"
"+now_hour+":"+now_min+":"+now_sec;event_val=month[mo-1]+"
"+da+", "+yr+"
"+hr+":"+min+":"+sec;difference=Date.parse(event_val)-Date.parse(now_val);differenceday=Math.floor(difference/(60*60*1000*24)*1);differencehour=Math.floor((difference%(60*60*1000*24))/(60*60*1000)*1);differencemin=Math.floor(((difference%(60*60*1000*24))%(60*60*1000))/(60*1000)*1);differencesec=Math.floor((((difference%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1);if(document.getElementById('pageinval34')){if(differenceday<=0&&differencehour<=0&&differencemin<=0&&differencesec<=1&&now_day==da){document.getElementById('pageinval34').innerHTML=on_event;}else
if
(differenceday<=-1){document.getElementById('pageinval34').innerHTML="Event
: "+on_event+" : passed";}else
{document.getElementById('pageinval34').innerHTML=differenceday+"d
"+differencehour+"h "+differencemin+"m
"+differencesec+"s "+bottom_event;} }setTimeout("countdown_load2()",1000);}countdown_load2();</script>
I know there are several other popular blogging sites such
as Wordpress.
I’ve never used these before. If you are a Wordpress fan or
other type of blogging site guru, I would love to get the directions of how to
post it.
0 comments:
Post a Comment