Its pretty cool to have a clock in your blog. There are so many websites that provide free clock widgets. I'll give you you few websites that has got too many decent widgets to choose from.
- Go to www.csalim.com/gallery.php
- Select a widget from the collection. Also you can choose different varieties from the left sidebar.
- Click the 'html code' button to get the code.
- Copy and paste this code in your blog. That's all. Simple, eh?
widgetbox.com (Ads appear in free widgets)
- Go to www.widgetbox.com/tag/digital clock
- Select a widget from the collection and click 'Get Widget'
- Copy and paste this code in your blog.
You can also add date and time in place of blogger title like in the image below
- Log in to blogger, Go to 'Layout'
- Click 'Add a Gadget', Select 'Html/Javascript'
- Paste the code given below and Save.
<script language="JavaScript" type="Text/JavaScript">
var mytime1=24;
function mytime2() {
mytime3=mytime1+6;
mytime4=mytime1+mytime3;
timexx=mytime1+mytime3+mytime4;
timexxx=timexx/mytime4*mytime1; twelfth=mytime4*mytime1/12*mytime3;
timexxxx=mytime1+mytime3/timexxx-16*timexx;
timexxxxx=twelfth*(mytime1-5)/mytime4+timexx;
timexxxxxx=timexxxxx/timexxxx+mytime1*mytime4-timexx;
mytime5=(timexxxxxx+mytime1/mytime4*timexx+mytime3*timexxx)/twelfth+timexxxxx-timexxxxxx-1;
mytime6=Math.floor(mytime5);
mytime8=mytime6*mytime3/2+100;
mytime7 = window.setTimeout("mytime2()", mytime8);
var mytime9 = new Date();
var mytime10= mytime9.toLocaleString();
document.title = mytime10;}
function op(){mytime2()}
window.onload=op;
</script>
Still any doubts? Comment here. Its my pleasure to help you!!!


No comments:
Post a Comment