Khi bạn vào 1 website thấy quãng cáo chạy dọc, có điểm dừng khi đụng right/left module. đó là một thủ thuật hay nói đơn giản hơn là code để tăng doanh thu quãng cáo,

bạn tìm đến nơi cần chèn quãng cáo, copy dòng dưới đây, chèn vào
Đối với Blog
Vào Template, chỉnh html, rồi chèn vào, nếu chưa làm được thì cmr bên dưới nhé, mình support
Dòng màu đỏ là hình ảnh cần hiiển thị
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<div id="side_billboard_container">
<div id="side_billboard">
<div align="center">
<div class='left footerlogo'><a href='http://cavemang.blogspot.com/' title='Blog cave mang'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrzUhinjWwy8jYZ_g9OMJ9pSeG3ttG8nwwECNshGmfruntiUK5fhvbCQldrOSrKVrp4Bz-aRtVjd4g7YVbLUZRfHkNg_TgmtYRza9d5QY9Dt_ANCiHJYx0nAOGllPk9y575X7q-1l559Vo/s1600/cavemang.png'/></a></div>
</div>
<script type="text/javascript">
new function() {
jQuery(window).scroll(function() {
if (jQuery(this).scrollTop() > jQuery("#side_billboard_container").offset().top)
{
jQuery("#side_billboard").css('left', jQuery("#side_billboard_container").offset().left - jQuery(this).scrollLeft()).css('position', 'fixed').css('top', Math.min(0, jQuery('#footer').offset().top - jQuery(this).scrollTop() - jQuery("#side_billboard").height()));
}
else
{
jQuery("#side_billboard").css('position', 'static');
}
});
jQuery(window).resize(function(){
if (jQuery(this).scrollTop() > jQuery("#side_billboard_container").offset().top)
{
jQuery("#side_billboard").css('left', jQuery("#side_billboard_container").offset().left - jQuery(this).scrollLeft()).css('position', 'fixed').css('top', Math.min(0, jQuery('#footer').offset().top - jQuery(this).scrollTop()));
}
else
{
jQuery("#side_billboard").css('position', 'static');
}
});
}
</script>
</div>
</div>
Bài viết có thể bạn quan tâm: hướng dẫn thêm danh mục "bài viết liên quan"
