Code tiện ích hay dùng cho blogspot (P1)

Code tiện ích hay dùng cho blogspot

Code tiện ích hay dùng cho blogspot có rất nhiều đoạn code hay và dễ sử dụng các bạn chỉ cần copy vào blog của mình save lại => Xem kết quả!

Code widget Hỗ Trợ Trực Tuyến

<p style="text-align: center"><span style="font-size: 
large"><span style="font-family: Verdana"><span 
style="color: 
rgb(0,0,255)"><span style="color: 
rgb(0,0,128)"><span class="style5"><span style="color: 
rgb(0,128,128)">Mr. Soft</span> <a 
href="ymsgr:sendim?softwarecrack.ga">
<img 
src='http://opi.yahoo.com/online?u=softwarecrack.ga&m=g&t=2'/></a></span></span></span></span></span></p>
<div style='text-align: center;'> 
<b><span class='Apple-style-span' style="font-size:200%;color:red;">0123456789</span></b></div>

Code Đếm ngược thời gian
<script type="text/javascript">
var year=2015;//năm
var month=1;//tháng 
var day=1;//ngày
var h=12;//giờ
var i=0;//phút
var s=0;//giây
dateFuture1 = new Date(year,month,day,h,i,s);
function GetCount(ddate,iid){
 dateNow = new Date(); //grab current date
amount = ddate.getTime() - dateNow.getTime(); //calc milliseconds between dates
delete dateNow;
 // if time is already past
if(amount < 0){
document.getElementById(iid).innerHTML="Now!";
}
// else date is still good
else{
days=0;hours=0;mins=0;secs=0;out="";
 amount = Math.floor(amount/1000);//kill the "milliseconds" so just secs
 days=Math.floor(amount/86400);//days
amount=amount%86400;
 hours=Math.floor(amount/3600);//hours
amount=amount%3600;
 mins=Math.floor(amount/60);//minutes
amount=amount%60;
 secs=Math.floor(amount);//seconds
out += (days<=9?'0':'')+days +" "+((days==1)?"Ngày":"Ngày")+", ";
out += (hours<=9?'0':'')+hours +" "+((hours==1)?"hour":"Giờ")+", ";
out += (mins<=9?'0':'')+mins +" "+((mins==1)?"min":"Phút")+", ";
out += (secs<=9?'0':'')+secs +" "+((secs==1)?"sec":"Giây")+", ";
out = out.substr(0,out.length-2);
document.getElementById(iid).innerHTML=out;
 setTimeout(function(){GetCount(ddate,iid)}, 1000);
}
}
 window.onload=function(){
GetCount(dateFuture1, 'countbox1');
};
</script>
<div id="countbox1"></div>


SHARE THIS

Author:

Etiam at libero iaculis, mollis justo non, blandit augue. Vestibulum sit amet sodales est, a lacinia ex. Suspendisse vel enim sagittis, volutpat sem eget, condimentum sem.