Code hiển thị thời gian và buton yahoo hỗ trợ trực tuyến

Đây là thủ thuật Code hiển thị thời gian gồm Thứ, ngày, tháng, năm Và mình đã thêm Button Yahoo hỗ trợ trực tuyến cho các bạn. Ở button này, khi bạn Online yahoo thì nó mới sáng vàng nó, còn khi bạn Offline thì button nó sẽ bị mờ đi.


Demo trang mình đã chèn code vào nhé tại đây

- Việc thực hiện hết sức đơn giản là bạn chỉ cần chèn đoạn code sau vào nơi bạn cần hiển thị
<div class="thongbaomoi">
<style>
#header1 .header-content .thongbaomoi {overflow: hidden;float: left;margin-top:5px;font: bold 12px arial;color: #000;margin-left: 5px;}
.daymonth1 {float: left;margin-top: 1px;}
.hotline-thaiaiti {float: left;}
.hotline-thaiaiti h1 {float: left;font: bold 12px arial;margin-left: 10px;color: #0C923C;}
.hotline-thaiaiti h2 {float: left;margin-top: -6px;}
#header1 .header-content .thongbaomoi a {margin:5px 0 0 10px;float: left;font: bold 12px arial;text-decoration: none;}
#header1 .header-content .thongbaomoi a:hover {color:#Fe0971;}
</style>
<div class="daymonth1">
Hôm nay : <script language="" type="text/javascript">/* <![CDATA[ */
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('H c="P h O p o m q r u s l j".a(" "),9="e\\d f\\k,;2\\1 g,;2\\1 i,;2\\1 t\\v,;2\\1 N\\b,;2\\1 w\\I,;2\\1 B\\L,".a(";"),3=M G;5=3.F();8=9[3.z()];7>5&&(5+=7);x.A("<0 4=\'6\'>"+8+" </0>E\\D <0 4=\'6\'>"+3.J()+"</0> C\\y<0 4=\'6\'> "+c[3.K()]+"</0> n\\b <0 4=\'6\'>"+5+"</0>");',52,52,'span|u1ee9|Th|now|class|thisYear|numdate|1900|thisDay|dayNames|split|u0103m|monthNames|u1ee7|Ch|nh|Hai|02|Ba|12|u1eadt|11|06||05|04|07|08|10||09|u01b0|S|document|u00e1ng|getDay|write||th|u00e0y|ng|getYear|Date|var|u00e1u|getDate|getMonth|u1ea3y|new||03|01'.split('|'),0,{}))/* ]]> */</script>
</div>
<div class="hotline-thaiaiti">
<h1>Hotline:0934685392</h1>
<h2>
<a href="ymsgr:sendIM?thaiaiti"><img align="absmiddle" border="0" src="http://opi.yahoo.com/online?u=thaiaiti&amp;m=g&amp;t=1"/></a>
</h2></div></div>
- Chúc bạn thành công nhé! 
post-edit

Không có nhận xét nào:

- Không chèn liên kết Spam quảng cáo. có thể xem ở đây Liên Kết Bạn Bè
- Nội dung nên liên quan tới bài viết.
- Hãy đóng góp ý kiến của bạn để Blogger Việt hoàn thiện hơn.