Hôm nay:

Random Template

Thông báo:

Kính chào quý khách. Hoan nghênh quý khách đã ghé thăm chúng tôi tại: tv-part. Mọi góp ý xin liên hệ: 0985548168. Email: anhtuan_dtgv@yahoo.com

Tìm kiếm nâng cao:


Nếu bạn nào đã từng xem qua các blog được viết dưới nền WordPress, sẽ thấy được một plugin gọi là Stript ad được tạo bởi MaxBlogPress .Plugin này giúp đăng các thông báo nhỏ tới người đọc. Đây là một tiện ích hay, vậy làm sao để thêm được vào Blogger ? Bài viết này sẽ giúp các bạn.

Bên dưới đây là hình ảnh của Stript ad . Mình đã áp dụng nó trên nền Blogger và hoạt động rất tốt

Nếu bạn cảm thấy thích tiện ích này, hãy đọc hướng dẫn cách cài đặt bên dưới nhé
  1. Đăng nhập vào Blogger > Layout > Edit HTML (không cần bật Mở rộng Mẫu tiện ích) . Lưu ý là hãy back-up lại template để tránh trường hợp làm sai nhé.
  2. # Thêm đoạn code này vào ngay trước thẻ ]]></b:skin>

    #mta_bar {
    background:#003366;
    border-top: 3px solid #6699ff;
    margin: 0;
    padding: 7px 0;
    z-index: 100;
    bottom:0px;
    right:0px;
    width: 100%;
    overflow: auto;
    position: fixed;
    }
    * html #mta_bar{
    /*IE6 hack*/
    position: absolute;
    width: expression(document.compatMode=="CSS1Compat"? document.documentElement.clientWidth+"px" : body.clientWidth+"px");
    }
    #mta_bar .left { float: left; text-align: center; font-family: Arial; font-size: 13px; font-weight: bold; font-style: normal; color: #0000FF; width:92%;}
    #mta_bar .right {font-family: Arial, Helvetica, sans-serif; float: right; text-align: center; font-weight: normal; font-size: 10px;letter-spacing: 0; width: 30px; white-space: nowrap;}
    #mta_bar .right a {font-size: 10px; color: #0000FF; text-decoration: underline;}
    #mta_bar .right a:hover {font-size: 10px; color: #0000FF; text-decoration: none;}
    #left_bar a {background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy3JANeCOM74GdexOQIhLk9x9tCqD2YVsIz7s5E2qee3kDpJ__mjgCl6ByDhxSUFO18__hU-n3YgzLGoZRBO26Iq1ppSPDfyphWV7bo6orGftnaEhd5xDvN8rL7M1TcHmWnPM19b5f71Y/?imgmax=800') no-repeat; text-decoration: none; color: #fff; padding:5px 0px 5px 30px;}
    #left_bar a:hover { text-decoration: underline; color: #fff; }
    # Tiếp tục thêm đoạn code này vào ngay trước thẻ </head>

    <script type='text/javascript'>
    //<![CDATA[
    var mta_arr = new Array();
    var mta_clear = new Array();
    function mtaFloat(mta) {
    mta_arr[mta_arr.length] = this;
    var mtapointer = eval(mta_arr.length-1);
    this.pagetop = 0;
    this.cmode = (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;
    this.mtasrc = document.all? document.all[mta] : document.getElementById(mta);
    this.mtasrc.height = this.mtasrc.offsetHeight;
    this.mtaheight = this.cmode.clientHeight;
    this.mtaoffset = mtaGetOffsetY(mta_arr[mtapointer]);
    var mtabar = 'mta_clear['+mtapointer+'] = setInterval("mtaFloatInit(mta_arr['+mtapointer+'])",1);';
    mtabar = mtabar;
    eval(mtabar);
    }
    function mtaGetOffsetY(mta) {
    var mtaTotOffset = parseInt(mta.mtasrc.offsetTop);
    var parentOffset = mta.mtasrc.offsetParent;
    while ( parentOffset != null ) {
    mtaTotOffset += parentOffset.offsetTop;
    parentOffset = parentOffset.offsetParent;
    }
    return mtaTotOffset;
    }
    function mtaFloatInit(mta) {
    mta.pagetop = mta.cmode.scrollTop;
    mta.mtasrc.style.top = mta.pagetop - mta.mtaoffset + "px";
    }
    function closeTopAds() {
    document.getElementById("mta_bar").style.visibility = "hidden";
    }
    //]]>

    </script>

    # Cuối cùng, tìm thẻ </body> và thêm đoạn code sau (Với đoạn code cuối cùng này, bạn có thể tùy chỉnh theo ý thích, dưới đây là code của blog mình)

    <div id='mta_bar'>
    <div id='left_bar'><span class='left'><a href='http://feeds.feedburner.com/o1666055006' target='_blank'>Đã có hơn 100 người đăng kí nhận tin qua RSS, còn bạn thì sao?</a></span></div>
    <span class='right' onmouseout='self.status=&apos;&apos;' onmouseover='self.status=&apos;tranphucminh.blogspot.com&apos;;return true;'> <img align='absmiddle' border='0' onClick='closeTopAds();return false;' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfV7uiMmjzEsfcBGzeZfQOxFQveawtnCUkT-bRVHV_RlzBoAa090DlNDjW82YqDIzlRwV5Awcx3QBQx_5bonTjTz0S5fszCyCmcc3lT82c1Xiq2-aIjfxb_RrxvBvgO8ae14SCDogC7hM/?imgmax=800' style='cursor:hand;cursor:pointer;'/></span></div>
    # Lưu lại template và thưởng thức kết quả

Test 3

V/v: thay đổi số tài khoản ngân hàng và hình thức thanh toán. Hiện nay chúng tôi nhận thanh toán qua Paypal đối với khách hàng nước ngoài. Khách hàng trong nước thanh toán qua tài khoản Agribank. Chúng tôi trân trọng thông báo.

Chính sách bán hàng

Chúng tôi cam kết bán giá hợp lý, đảm bảo chất lượng. Các trường hợp đặc biệt: main, board hiếm quý khách có nhu cầu mua phải đặt cọc trước để chúng tôi đặt hàng về. Ngoài ra, nếu quý khách yêu cầu sửa chữa tv và các thiết bị điện tử tại nhà chúng tôi có đội ngũ kỹ thuật lành nghề, giàu kinh nghiệm phục vụ sửa chữa các thiết bị điện tử tại nhà.
Các chính sách khác chúng tôi đang cập nhật ...

Liên hệ:

Tên

Email *

Thông báo *

Góp ý

Quý khách góp ý xin liên hệ:
Mr Tuấn: 0985548168
Yahoo: anhtuan_dtgv
Email: anhtuan_dtgv@yahoo.com