Auto scrolling

Được tạo bởi Blogger.

Lưu trữ Blog

Đầu tư

Bài viết hot

Liên Hệ

Liên kết web:

Tổng số lượt xem trang

Xem Thêm Thông Tin Sản Phẩm

Đối Tác Liên Kết

Thông Tin Sản Phẩm

Code quảng cáo từ dưới trồi lên ở góc phải cho Blogger

Code quảng cáo từ dưới trồi lên ở góc phải cho Blogger

Dưới đây là đoạn code quảng cáo banner dạng popup trồi từ dưới lên trên ở góc phải của Blog mỗi khi khách ghé thăm. Bên cạnh đó sẽ có nút Ẩn/Hiện tương ứng với việc quảng cáo sẽ hạ xuống hoặc trồi lên. Bạn có thể xem demo tại ngay góc dưới bên phải trang này.
Hướng dẫn
- Vào Bảng điều khiển của Blogger, chọn Thiết kế, chọn tiếp Phần tử trang
- Tạo một widget HTML\JavaScripts và đưa code bên dưới vào.
<style type="text/css"> 
* html div#fl813691 {position: absolute; overflow:hidden; 
top:expression(eval(document.compatMode && 
document.compatMode=='CSS1Compat') ? 
documentElement.scrollTop 
+(documentElement.clientHeight-this.clientHeight) 
: document.body.scrollTop 
+(document.body.clientHeight-this.clientHeight));} 
#fl813691{font: 12px Arial, Helvetica, sans-serif; color:#666; position:fixed; _position: absolute; right:0; bottom:0; height:150px; } 
#eb951855{ width:279px; padding-right:7px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWPbtoKDdoOntv9Vf3zc353hAjNj5VFx4hBiqlhkuJ3bgUDDDz9I48LKHFjeU209OYICaGSU-udpcqkwtC3s5QDq0BzNszYRdT0mj0XctRdoWZCjBg39nmJYRZrX_Q2DZ9uzE0n9FboNE/s1600/rightp.gif) no-repeat right top;} 
#cob263512{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_pATKmzCFJUcUoT6yxApxV74hTgFFD1E5R4bb8QRNe24HcshiDaVQf5UvBzlUGon46AoNzx9QhzIWuYs16e0L8n_rnFZ_B66OmBep-rMrTR8jgFbMFER9hU5rYfadIaGwiHbq1ckjyYI/s1600/fulld.gif) no-repeat left top; height:150px; padding-left:7px;} 
#coh963846{color:#690;display:block; height:20px; line-height:20px; font-size:11px; width:277px;} 
#coh963846 a{color:#690;text-decoration:none;} 
#coc67178{float:right; padding:0; margin:0; list-style:none; overflow:hidden; height:15px;} 
#coc67178 li{display:inline;} 
#coc67178 li a{background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOcLO54wwKnMc4KzH8ownz__D-QJfqYS1vVe5x9xI3Xmvjjwc2Vywrg9AYQ05Q89tCxC3rLnc_Sa12vmhqLvsgEuYRsEWqolEEntwvipDbzO-v1sJuhlui-vkACB0OMPf_ap3u6CQC4fo/s1600/closebutton.gif); background-repeat:no-repeat; width:30px; height:0; padding-top:15px; overflow:hidden; float:left;} 
#coc67178 li a.close{background-position: 0 0;} 
#coc67178 li a.close:hover{background-position: 0 -15px;} 
#coc67178 li a.min{background-position: -30px 0;} 
#coc67178 li a.min:hover{background-position: -30px -15px;} 
#coc67178 li a.max{background-position: -60px 0;} 
#coc67178 li a.max:hover{background-position: -60px -15px;} 
#co453569{display:block; margin:0; padding:0; height:123px; border-style:solid; border-width:1px; border-color:#111 #999 #999 #111; line-height:1.6em; overflow:hidden;} 
</style> 
<div id="fl813691" style="height: 152px;"> 
<div id="eb951855"> 
<div id="cob263512"> 
<div id="coh963846"> 
<ul id="coc67178"> 
<li id="pf204652hide"><a class="min" href="javascript:pf204652clickhide();" title="Ẩn đi">Ẩn</a></li> 
<li id="pf204652show" style="display: none;"><a class="max" href="javascript:pf204652clickshow();" title="Hiện lại">Xem </a></li> 
</ul> 
&nbsp;Liên hệ quảng cáo
</div> 
<div id="co453569"> 
<!-- code ads --> 
<a target="_blank" href="http://www.gistrung.com/p/lien-he.html" rel="dofollow"> <img style="margin:3px 1px 1px 3px;" border="0" width="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht757AhRNjLHaJRfmXjHR7i0R_0XIXJ-Ava4TVF_ZH2IbgnwH2SNPhEn0GhbuUq5jGtKnceU_fT5bHBRrRw_oPc9zKn-4aA1T4vCdCbE96R1aOoACYUvc-o6JEd99L2NX4OM8D7uOU1gQ/s1600/QC.png" height="60" title="Liên hệ quảng cáo trên GISTRUNG"/></a> 
<!-- code ads -->
</div> 
</div></div></div> 
<script> 
pf204652bottomLayer = document.getElementById('fl813691');
var pf204652IntervalId = 0; 
var pf204652maxHeight = 90;//Chieu cao khung quang cao 
var pf204652minHeight = 20; 
var pf204652curHeight = 0; 
function pf204652show( ){ 
pf204652curHeight += 2; 
if (pf204652curHeight > pf204652maxHeight){ 
clearInterval ( pf204652IntervalId ); 

pf204652bottomLayer.style.height = pf204652curHeight+'px';

function pf204652hide( ){ 
pf204652curHeight -= 3; 
if (pf204652curHeight < pf204652minHeight){ 
clearInterval ( pf204652IntervalId ); 

pf204652bottomLayer.style.height = pf204652curHeight+'px';

pf204652IntervalId = setInterval ( 'pf204652show()', 5 ); 
function pf204652clickhide(){ 
document.getElementById('pf204652hide').style.display='none';
document.getElementById('pf204652show').style.display='inline';
pf204652IntervalId = setInterval ( 'pf204652hide()', 5 ); 

function pf204652clickshow(){ 
document.getElementById('pf204652hide').style.display='inline';
document.getElementById('pf204652show').style.display='none';
pf204652IntervalId = setInterval ( 'pf204652show()', 5 ); 

function pf204652clickclose(){ 
document.body.style.marginBottom = '0px'; 
pf204652bottomLayer.style.display = 'none'; 

</script>
- Bạn chỉnh sửa lại các phần tô màu cho phù hợp:
+ Liên hệ quảng cáo: Thay bằng tiêu đề quảng cáo của bạn
+ http://www.gistrung.com/p/lien-he.html: URL website quảng cáo
+ https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht757AhRNjLHaJRfmXjHR7i0R_0XIXJ-Ava4TVF_ZH2IbgnwH2SNPhEn0GhbuUq5jGtKnceU_fT5bHBRrRw_oPc9zKn-4aA1T4vCdCbE96R1aOoACYUvc-o6JEd99L2NX4OM8D7uOU1gQ/s1600/QC.png: Link hình ảnh banner quảng cáo
Liên hệ quảng cáo trên GISTRUNG: Tên website quảng cáo
+ Thay right:0 thành left:0 nếu bạn muốn banner trồi lên phía bên trái thay vì bên phải Blog.

Không có nhận xét nào:

Đăng nhận xét

Label




Thứ Sáu, 15 tháng 11, 2013

Code quảng cáo từ dưới trồi lên ở góc phải cho Blogger

Dưới đây là đoạn code quảng cáo banner dạng popup trồi từ dưới lên trên ở góc phải của Blog mỗi khi khách ghé thăm. Bên cạnh đó sẽ có nút Ẩn/Hiện tương ứng với việc quảng cáo sẽ hạ xuống hoặc trồi lên. Bạn có thể xem demo tại ngay góc dưới bên phải trang này.
Hướng dẫn
- Vào Bảng điều khiển của Blogger, chọn Thiết kế, chọn tiếp Phần tử trang
- Tạo một widget HTML\JavaScripts và đưa code bên dưới vào.
<style type="text/css"> 
* html div#fl813691 {position: absolute; overflow:hidden; 
top:expression(eval(document.compatMode && 
document.compatMode=='CSS1Compat') ? 
documentElement.scrollTop 
+(documentElement.clientHeight-this.clientHeight) 
: document.body.scrollTop 
+(document.body.clientHeight-this.clientHeight));} 
#fl813691{font: 12px Arial, Helvetica, sans-serif; color:#666; position:fixed; _position: absolute; right:0; bottom:0; height:150px; } 
#eb951855{ width:279px; padding-right:7px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWPbtoKDdoOntv9Vf3zc353hAjNj5VFx4hBiqlhkuJ3bgUDDDz9I48LKHFjeU209OYICaGSU-udpcqkwtC3s5QDq0BzNszYRdT0mj0XctRdoWZCjBg39nmJYRZrX_Q2DZ9uzE0n9FboNE/s1600/rightp.gif) no-repeat right top;} 
#cob263512{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_pATKmzCFJUcUoT6yxApxV74hTgFFD1E5R4bb8QRNe24HcshiDaVQf5UvBzlUGon46AoNzx9QhzIWuYs16e0L8n_rnFZ_B66OmBep-rMrTR8jgFbMFER9hU5rYfadIaGwiHbq1ckjyYI/s1600/fulld.gif) no-repeat left top; height:150px; padding-left:7px;} 
#coh963846{color:#690;display:block; height:20px; line-height:20px; font-size:11px; width:277px;} 
#coh963846 a{color:#690;text-decoration:none;} 
#coc67178{float:right; padding:0; margin:0; list-style:none; overflow:hidden; height:15px;} 
#coc67178 li{display:inline;} 
#coc67178 li a{background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOcLO54wwKnMc4KzH8ownz__D-QJfqYS1vVe5x9xI3Xmvjjwc2Vywrg9AYQ05Q89tCxC3rLnc_Sa12vmhqLvsgEuYRsEWqolEEntwvipDbzO-v1sJuhlui-vkACB0OMPf_ap3u6CQC4fo/s1600/closebutton.gif); background-repeat:no-repeat; width:30px; height:0; padding-top:15px; overflow:hidden; float:left;} 
#coc67178 li a.close{background-position: 0 0;} 
#coc67178 li a.close:hover{background-position: 0 -15px;} 
#coc67178 li a.min{background-position: -30px 0;} 
#coc67178 li a.min:hover{background-position: -30px -15px;} 
#coc67178 li a.max{background-position: -60px 0;} 
#coc67178 li a.max:hover{background-position: -60px -15px;} 
#co453569{display:block; margin:0; padding:0; height:123px; border-style:solid; border-width:1px; border-color:#111 #999 #999 #111; line-height:1.6em; overflow:hidden;} 
</style> 
<div id="fl813691" style="height: 152px;"> 
<div id="eb951855"> 
<div id="cob263512"> 
<div id="coh963846"> 
<ul id="coc67178"> 
<li id="pf204652hide"><a class="min" href="javascript:pf204652clickhide();" title="Ẩn đi">Ẩn</a></li> 
<li id="pf204652show" style="display: none;"><a class="max" href="javascript:pf204652clickshow();" title="Hiện lại">Xem </a></li> 
</ul> 
&nbsp;Liên hệ quảng cáo
</div> 
<div id="co453569"> 
<!-- code ads --> 
<a target="_blank" href="http://www.gistrung.com/p/lien-he.html" rel="dofollow"> <img style="margin:3px 1px 1px 3px;" border="0" width="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht757AhRNjLHaJRfmXjHR7i0R_0XIXJ-Ava4TVF_ZH2IbgnwH2SNPhEn0GhbuUq5jGtKnceU_fT5bHBRrRw_oPc9zKn-4aA1T4vCdCbE96R1aOoACYUvc-o6JEd99L2NX4OM8D7uOU1gQ/s1600/QC.png" height="60" title="Liên hệ quảng cáo trên GISTRUNG"/></a> 
<!-- code ads -->
</div> 
</div></div></div> 
<script> 
pf204652bottomLayer = document.getElementById('fl813691');
var pf204652IntervalId = 0; 
var pf204652maxHeight = 90;//Chieu cao khung quang cao 
var pf204652minHeight = 20; 
var pf204652curHeight = 0; 
function pf204652show( ){ 
pf204652curHeight += 2; 
if (pf204652curHeight > pf204652maxHeight){ 
clearInterval ( pf204652IntervalId ); 

pf204652bottomLayer.style.height = pf204652curHeight+'px';

function pf204652hide( ){ 
pf204652curHeight -= 3; 
if (pf204652curHeight < pf204652minHeight){ 
clearInterval ( pf204652IntervalId ); 

pf204652bottomLayer.style.height = pf204652curHeight+'px';

pf204652IntervalId = setInterval ( 'pf204652show()', 5 ); 
function pf204652clickhide(){ 
document.getElementById('pf204652hide').style.display='none';
document.getElementById('pf204652show').style.display='inline';
pf204652IntervalId = setInterval ( 'pf204652hide()', 5 ); 

function pf204652clickshow(){ 
document.getElementById('pf204652hide').style.display='inline';
document.getElementById('pf204652show').style.display='none';
pf204652IntervalId = setInterval ( 'pf204652show()', 5 ); 

function pf204652clickclose(){ 
document.body.style.marginBottom = '0px'; 
pf204652bottomLayer.style.display = 'none'; 

</script>
- Bạn chỉnh sửa lại các phần tô màu cho phù hợp:
+ Liên hệ quảng cáo: Thay bằng tiêu đề quảng cáo của bạn
+ http://www.gistrung.com/p/lien-he.html: URL website quảng cáo
+ https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht757AhRNjLHaJRfmXjHR7i0R_0XIXJ-Ava4TVF_ZH2IbgnwH2SNPhEn0GhbuUq5jGtKnceU_fT5bHBRrRw_oPc9zKn-4aA1T4vCdCbE96R1aOoACYUvc-o6JEd99L2NX4OM8D7uOU1gQ/s1600/QC.png: Link hình ảnh banner quảng cáo
Liên hệ quảng cáo trên GISTRUNG: Tên website quảng cáo
+ Thay right:0 thành left:0 nếu bạn muốn banner trồi lên phía bên trái thay vì bên phải Blog.
Tìm kiếm: Code quảng cáo từ dưới trồi lên ở góc phải cho Blogger

0 nhận xét:

Đăng nhận xét

Nhãn

quan-tri-mang thu-thuat tin-tuc tong-hop windows-server Quản Trị Mạng Windows Server Label C Cộng Nghệ Tin Tức Label B truyen-online THỂ LOẠI TIÊN HIỆP TRUYỆN TIÊN HIỆP EBOOK EXE EBOOK PRC EBOOK TIN HỌC thu-gian Con Label B thứ 1 thu-thuat-internet 10 thủ thuật vô cùng hữu ích khi sử dụng Gmail và Google Drive 10 thủ thuật đơn giản giúp Windows 7 chạy mượt hơn 7 thủ thuật giúp bảo mật email Active Directory toàn tập Biến Gmail thành ổ cứng để lưu file Chức năng Bandwidth Limit và Session Limit - Giới hạn băng thông thông Cài đặt ổ đĩa dùng chung cho máy ảo Cluster Cách bảo vệ máy tính khi truy cập các mạng Wifi công cộng Cách gỡ bỏ hoàn toàn Qvo6 khỏi trình duyệt firefox và trên máy tính Cách tạo server để truy cập trang web trong mạng nội bộ Cách tắt IDM tự động download nhạc Cách đăng nhập nhiều tài khản Facebook Cẩm nang Windows 8 dành cho người mới sử dụng EBOOK Ebook tổng hợp thủ thuật facebook hay Giải pháp Load Balancing và Fail Over toàn diện dành cho Web Server Giải pháp cân bằng tải hiểu quả cho VPN với thiết bị mạng Peplink Giải pháp truy cập Internet tập trung Giới thiệu và Cài đặt dịch vụ truyền file FTP trên Windows Server 2003 Gmail...cùng 1 lúc HƯỚNG DẪN CẤU HÌNH VPN SERVER TRÊN WINDOWS SERVER 2003 HƯỚNG DẪN SỬ DỤNG - Group Policy Management Console Hướng dẫn chia sẻ và kết nối máy In trong mạng Lan (Hệ điều hành Winxp) Hướng dẫn cài đặt mạng Lan WinXp (Phần I cài đặt tên máy tính Hướng dẫn cài đặt mạng Lan winXP (Phần II chọn chia sẻ máy In) Hướng dẫn tạo Group Email trong Gmail Inbound và Phương án Dự phòng Rủi Ro Key Eset NOD32 Antivirus bản quyền đến 2015 Kích thước hình chuẩn trên facebook Mặc định VPN (Virtual Private Network) & TeamViewer. Mẹo khá hay khi sử dụng gmaill - Tạo nhiều mail ảo một cách đơn giản Một số thủ thuật khắc phục sự cố kết nối internet PHẦN MỀM PRC Serv-U File Server - Phần mềm tạo File Server để chia sẻ dữ liệu Share File NTFS Permissions Sử dụng Microsoft Outlook gửi và nhận thư từ Gmail Thiết Lập Cấu Hình DNS Server Thiết lập Distributed File System trên Windows Server 2003 Thiết lập nhiều SSID trên Vigor2820n Thiết lập nhiều server chạy song song - Phần 1: Setup Thiết lập nhiều server chạy song song - Phần 2: Máy Server 2 Thiết lập nhiều server chạy song song - Phần 2: Đồng bộ 2 server và join domains cho client Thiết lập và kết nối Remote Desktop trong Windows 7 Thủ thuật - Cách chia sẻ trên Windows 7 Triển khai Failover Clustering cho Hyper-V dùng File Server Tăng tốc lướt Web hiệu quả trong nháy mắt Tổng hợp thủ thuật Facebook bạn nên biết Tự động gắn nhãn cho thư mới trong Gmail VIDEO HÀI XÂY DỰNG HỆ THỐNG MẠNG DOMAIN CƠ BẢN [Hướng dẫn] VPN - Client to Site - Chứng thực bằng Radius Server ghost-win key-crack phan-mem phim không nghe và xem được online tên mạng Lan) Đặt mật khẩu bảo vệ nội dung văn bản trong Office 2003
Lên đầu trang Top
Đỗ Quốc Anh | IT Mannager