tháng 7 04, 2012 - Thứ Tư, 4 tháng 7, 2012 / 0 bình luận
Chèn (Thêm) nút +1 vào blog, web

[dacbietthuvi.net] - Để thêm hay chèn nút Google +1 vào blog, web của bạn thật dễ dàng, xin theo 3 bước dưới đây:
Bước 1: Copy đoạn code dưới đây và dán trước thẻ đóng </body>
<script type='text/javascript'>
window.___gcfg = {lang: 'vi'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
Bước 2: Copy và dán đoạn code dưới đây nơi bạn muốn nút +1 hiển thị:
<g:plusone></g:plusone>
Bạn có thể thấy demo nút +1 của dacbietthuvi.net ngay cuối bài này.
Chúc bạn thành công nhé!