Tài nguyên dạy học

Hỗ trợ trực tuyến

  • (vinhquang_gv)

Điều tra ý kiến

Bạn thấy trang này như thế nào?
Đẹp
Bình thường
Đơn điệu
Ý kiến khác

Thống kê

  • truy cập   (chi tiết)
    trong hôm nay
  • lượt xem
    trong hôm nay
  • thành viên
  • Ảnh ngẫu nhiên

    VA__Em_Yeu_Cay_Xanh_Beat.mp3 Victory.mp3 Me_Truc_Dem_Beat.mp3 Em_Len_Lop_Moi_Beat.mp3 Nhac_cho_con.flv 2_Goi_trau_.mp3 CaiBongLaCaiBongBangVA3852748.mp3 Em_Len_Lop_Moi_Beat1.mp3 Be_Khoe_Be_Ngoan_Beat.mp3 Cho_Toi_Di_Lam_Mua_Voi.mp3 Anh_Phi_Cong_Oi__Karaoke.mp3 EmYeuCayXanhNganHa_35pmp.mp3 Em_yeu_cay_xanh__nhac_thieu_nhi_1.flv BaEmLaCNLaiXeNhac.mp3 Gui_anh_mot_khuc_dan_ca.mp3 1383900713039.jpg Diendanhaiduongcom19072.jpg

    Thành viên trực tuyến

    1 khách và 0 thành viên

    Sắp xếp dữ liệu

    Chức năng chính 1

    Chào mừng quý vị đến với website của ...

    Quý vị chưa đăng nhập hoặc chưa đăng ký làm thành viên, vì vậy chưa thể tải được các tài liệu của Thư viện về máy tính của mình.
    Nếu chưa đăng ký, hãy nhấn vào chữ ĐK thành viên ở phía bên trái, hoặc xem phim hướng dẫn tại đây
    Nếu đã đăng ký rồi, quý vị có thể đăng nhập ở ngay phía bên trái.
    Gốc > Bài viết > Chia sẻ kinh nghiệm >

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

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

    Bước 1: Dùng đoạn 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://vinhquangyenbai.violet.vn là link liên kết được dẫn  đến  khi click vào ảnh;  http://vinhquangyenbai.webng.com/chuan.txt  là link ảnh hiển thị khi rê chuột vào hình)

      
     var esel = new Object();
      esel.ad_url = escape(' http://vinhquangyenbai.violet.vn ');   
      
     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://vinhquangyenbai.webng.com/chuan.txt');    
      
     
      
     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('<div id="eselcornerSmall" style="position:absolute;width:'+ esel.small_width +'px;height:'+ esel.small_height +'px;z-index:9999;right:0px;top:0px;">');
     document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
     document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
     document.write(' id="eselcornerSmallObject" width="'+esel.small_width+'" height="'+esel.small_height+'">');
     document.write(' <param name="allowScriptAccess" value="always"/> ');
     document.write(' <param name="movie" value="'+ esel.small_path +'?'+ esel.small_params +'"/>');
     document.write(' <param name="wmode" value="transparent" />');
     document.write(' <param name="quality" value="high" /> ');
     document.write(' <param name="FlashVars" value="'+esel.small_params+'"/>');
     document.write('<embed src="'+ esel.small_path + '?' + esel.small_params +'" name="eselcornerSmallObject" wmode="transparent" quality="high" width="'+ esel.small_width +'" height="'+ esel.small_height +'" flashvars="'+ esel.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
     document.write('</object></div></script>');
     document.write('<div id="eselcornerBig" style="position:absolute;width:'+ esel.big_width +'px;height:'+ esel.big_height +'px;z-index:9999;right:0px;top:0px;">');
     document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
     document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
     document.write(' id="eselcornerBigObject" width="'+ esel.big_width +'" height="'+ esel.big_height +'">');
     document.write(' <param name="allowScriptAccess" value="always"/> ');
     document.write(' <param name="movie" value="'+ esel.big_path +'?'+ esel.big_params +'"/>');
     document.write(' <param name="wmode" value="transparent"/>');
     document.write(' <param name="quality" value="high" /> ');
     document.write(' <param name="FlashVars" value="'+ esel.big_params +'"/>');
     document.write('<embed src="'+ esel.big_path + '?' + esel.big_params +'" id="eselcornerBigEmbed" name="eselcornerBigObject" wmode="transparent" quality="high" width="'+ esel.big_width +'" height="'+ esel.big_height +'" flashvars="'+ esel.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
     document.write('</object></div>');
     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 bài này để tự tạo lấy):

     <script type="text/javascript"src="http://vinhquangyenbai.webng.com/chuan.txt"></script>

     

    Copy và  đưa code này vào thông tin bản quyền là được.

    Chúc thầy cô thành công!


    Nhắn tin cho tác giả
    Lê Vinh Quang @ 20:04 04/08/2013
    Số lượt xem: 1443
    Số lượt thích: 1 người (lo thi thuy)
    Avatar

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

     
    Gửi ý kiến

    Những hình ảnh và bài hát về Nghĩa Lộ Văn Chấn