Thêm tiện ích banner 2 bên cho blogspot để đặt những nội dung thông tin khác nhau.
<div id="left_ads_float">
<a href="http://chiaseaz.com" target="_blank"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpII74E9RI87qqEI2XDvytHRCKaC_26qg5V-5cRIEshRnK_bwpCahv_-95loipwM-Rsv3QwDhjN6xBLZjbqvF3jOIpQvKkGl4S1gKyJwSeFVKLyQFjZCkBcblR4b3s8j6YDKaB77s6Hbo/" width="120" height="467"/></a>
</div>
<div id="right_ads_float">
<a href="http://chiaseaz.com" target="_blank"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWyaXcwQSQLdu9VeRToZYN7p2UtuRTUPk25tSFuT-0kcQC4WWgf5Lr27s56ihRrdZ_m5UWlizdZg0PL3xu-NAaR8a3Vc5SmWdq4gdmokYNMK2TAP2S6ZXOmO0b15YtUpupsaYddyqwuVQ/" width="120" height="467"/></a>
</div>
<style>
#left_ads_float
{
bottom:0;
left: 10px;
position:fixed; }
#right_ads_float
{
bottom:0;
right: 10px;
position:fixed;
}
</style>
<script>
var vtlai_remove_fads=false;
function vtlai_check_adswidth()
{
if(vtlai_remove_fads)
{
document.getElementById('left_ads_float').style.display='none';
document.getElementById('right_ads_float').style.display='none';
return;
}else if(document.cookie.indexOf('vtlai_remove_float_ads')!=-1)
{
vtlai_remove_fads=true;
vtlai_check_adswidth();
return;
}
else
{
var lwidth=parseInt(document.body.clientWidth);
if(lwidth<1110)
{
document.getElementById('left_ads_float').style.display='none';
document.getElementById('right_ads_float').style.display='none';
}
else
{
document.getElementById('left_ads_float').style.display='block';
document.getElementById('right_ads_float').style.display='block';
}
setTimeout('vtlai_check_adswidth()',10);
}
}
</script>
Nhận xét
Đăng nhận xét