"Tạo chữ chạy trên thanh tiêu đề"

Bắt đầu thực hiện
1. Đăng nhập vào blogger
2. Vào bố cục chon sửa HTML (Edit HTML)
3. Tìm đến thẻ <head> và dán code bên dưới vào sau nó
<script>
var txt="Welcom to TRAIDATMUI.COM";
var espera=200;
var refresco=null;
function rotulo_title() {
document.title=txt;
txt=txt.substring(1,txt.length)+txt.charAt(0);
refresco=setTimeout("rotulo_title()",espera);
}
rotulo_title();
</script>
var txt="Welcom to TRAIDATMUI.COM";
var espera=200;
var refresco=null;
function rotulo_title() {
document.title=txt;
txt=txt.substring(1,txt.length)+txt.charAt(0);
refresco=setTimeout("rotulo_title()",espera);
}
rotulo_title();
</script>
Lưu ý: thay dòng chữ màu cam trong code trên thành dòng chữ mà bạn muốn hiển thị trên thanh tiêu đề blog bạn.
4. Save lại và xem thử nha.
Chúc bạn thành công
0 nhận xét:
Đăng nhận xét