Showing posts with label Title. Show all posts
Showing posts with label Title. Show all posts

1/13/13

Thủ thuật chỉ hiện tiêu đề bài đăng ở trang chủ

1.Đăng nhập vào bảng điều khiển--> bố cục- -> chỉnh sửa HTML
2.Ấn Ctrl+F tìm thẻ </head>.
 3.Copy đoạn mã bên dưới vào trước thẻ </head>
Post Title Only on Blogger Homepage

<style type='text/css'>

<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>

.post {
margin:.5em 0 1.5em;
border-bottom:0px dotted $bordercolor;
padding-bottom:1.0em;
height:50px;
}
.post h3 {
margin:.25em 0 0;
padding:0 0 4px;
font-size:20px;
font-family:Tahoma,Georgia,Century gothic,Arial,sans-serif;
font-weight:normal;
line-height:1.4em;
color:#cc6600;
}

.post h3 a, .post h3 a:visited, .post h3 strong {
display:block;
text-decoration:none;
color:#cc6600;
font-weight:normal;
}

.post h3 strong, .post h3 a:hover {color:#333333;}

.post-body {display:none;}
.post-footer {display:none;}
.comment-link {display:none;}
.post img {display:none;}
.post blockquote {display:none;}
.post blockquote p {display:none;}
h2.date-header {display:none;}
.post-labels {display:none;}
.post-rating {display:none;}

</b:if>
</b:if>

</style>



4.Click lưu mẫu

5.Tới bố cục -->phần tử trang .Click chọn "Chỉnh Sửa" bài đăng trên blog

6.Chọn số bài muốn hiển thị trên trang chủ rồi lưu lại
7. Xong


1/12/13

Hướng dẫn cho hiện ngày và giờ lên thanh title bar





1.Đăng nhập vào bảng điều khiển giao diên --> Bố cục.

2.Click Chọn 'Add a Gadget' trên sidebar.

3.Chọn 'HTML/Javascript' thêm đoạn mã bên dưới .

<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>


Refresh để xem thành quả