Tạo Banners 468x60 ngẫu nhiên cho blogs



1. Đăng nhập vào tài khoản Blogger
2. Vào phần thiết kế (Design)
3.Thêm 1 HTML/Javascript và thêm vào code bên dưới

Save lại

<script language="JavaScript">
images = new Array(3);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='60px' width='468px' alt='AD DESCRIPTION'></a>";
images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='60px' width='468px' alt='AD DESCRIPTION'></a>";
images[2] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='60px' width='468px' alt='AD DESCRIPTION'></a>";
index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>


Hướng dẫn:
Thay thế  URL OF ADVERTISER với site bạn muốn quảng cáo.
Thay thế  URL OF BANNER’S IMAGE-1 and URL OF BANNER’S IMAGE-2 and URL OF BANNER’S IMAGE-3 với ảnh banner's quảng cáo.

Chúc bạn thành công.