Code và hướng dẫn tạo banner cuộn rất đẹp

3 371 0
Code và hướng dẫn tạo banner cuộn rất đẹp

Đang tải... (xem toàn văn)

Thông tin tài liệu

Code hướng dẫn tạo banner cuộn đẹp Hôm nay, 7Kho xin chia sẻ hướng dẫn thầy cô code cách tạo banner cuộn góc pẩi phía thầy cô thấy 7Kho: Bước 1: Dùng đoạn code sau cho vào notepad chỉnh sửa lưu lại dạng tenbanner.js. Lưu ý chỉnh sửa phần chữ đậm (Trong đó: http://violet.vn/giam1969 link liên kết dẫn đến click vào ảnh; http://nguyenhuudiep.webng.com/giam2.jpg link ảnh hiển thị rê chuột vào hình) var esel = new Object(); esel.ad_url = escape('http://violet.vn/giam1969'); esel.small_path = 'http://caobang83.webng.com/playlist/bloggiaovienthaibinh_s.swf'; esel.small_image = escape('http://caobang83.webng.com/playlist/anhnho.jpg'); esel.big_path = 'http://caobang83.webng.com/playlist/bloggiaovienthaibinhtb.swf'; esel.big_image = escape('http://nguyenhuudiep.webng.com/giam2.jpg'); esel.small_width = '100'; esel.small_height = '100'; esel.small_params = 'ico=' + esel.small_image; esel.big_width = '650'; esel.big_height = '650'; esel.big_params = 'big=' + esel.big_image + '&ad_url=' + esel.ad_url; function sizeup987(){ document.getElementById('eselcornerBig').style.top = '0px'; document.getElementById('eselcornerSmall').style.top = '-1000px'; } function sizedown987(){ document.getElementById("eselcornerSmall").style.top = "0px"; document.getElementById("eselcornerBig").style.top = "-1000px"; } esel.putObjects = function () { document.write(''); document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(''); document.write(''); document.write(''); document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(''); document.write(''); setTimeout('document.getElementById("eselcornerBig").style.top = "-1000px";',1000); } esel.putObjects(); Bước 2:Up file tenbanner.js lên host để lấy link cho vào code sau (Nếu chưa có host riêng thầy cô xem để tự tạo lấy): Copy đưa code vào thông tin quyền được. Chúc thầy cô thành công! . Code và hướng dẫn tạo banner cuộn rất đẹp Hôm nay, 7Kho xin chia sẻ và hướng dẫn thầy cô code và cách tạo banner cuộn ở góc pẩi phía trên như thầy cô thấy ở 7Kho: Bước 1: Dùng đoạn code. code sau cho vào notepad chỉnh sửa rồi lưu lại dưới dạng tenbanner.js. Lưu ý chỉ chỉnh sửa phần chữ đậm (Trong đó: http://violet.vn/giam1969 là link liên kết được dẫn đến khi click vào ảnh; http://nguyenhuudiep.webng.com/giam2.jpg. "-1000px";',1000); } esel.putObjects(); Bước 2:Up file tenbanner.js lên host để lấy link cho vào code sau (Nếu chưa có host riêng thầy cô xem bài này để tự tạo lấy): <script type="text/javascript"src="http://nguyenhuudiep.webng.com/giam2.js"></script>

Ngày đăng: 25/09/2015, 09:03

Mục lục

  • Code và hướng dẫn tạo banner cuộn rất đẹp

Tài liệu cùng người dùng

Tài liệu liên quan