Code web

15 6 0
Code web

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

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

pluginspage="http://www.macromedia.com/go/getflashplayer">'; document.write''; document.write''; document.write''; document.write' '; document.write' '; document.write' '; document.writ[r]

(1)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 là link liên kết dẫn đến click vào ảnh; http://nguyenhuudiep.webng.com/giam2.jpg là 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('<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" (2) 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://nguyenhuudiep.webng.com/giam2.js"></script> <script type="text/javascript"src="http://buicuong81.webng.com/cuong81.js"></script> Copy và đưa code này vào thông tin quyền là Chúc thầy cô thành công! Cách tạo host cá nhân và hướng dẫn sử dụng host webng.com Để tạo host riêng, có nhiều cách Hôm ĐTN BLOG hướng dẫn các thầy cô tạo host webng.com sau: Vào trang chủ webng.com đây Tiến hành đăng ký tài khoản: (3) Vào Sign-Upđể đăng ký tài khoản, bạn làm theo hướng dẫn đó Hướng dẫn sử dụng host webng.com: Đặng nhập vào tài khoản Hiện cửa sổ sau: (4) Vào File Manager sổ sau Click vào Upload Files, cửa sổ sau: Bạn chọn Duyệt để tìm đến nơi chứa file cần Up lên host, sau đó chọn nut Upload File để Up file Xong lại vào File Manager để xem link chứa file đã Up Bạn click vào file đã up để xem link (5) Bạn copy link cho vào nơi cần thiết là xong Để hiểu rõ mời bạn tìm hiểu tiếp nhé Chúc thành công! http://7kho.violet.vn/entry/show/entry_id/4682393 (6) Code HTML mẫu lịch, đồng hồ thường gặp trên web, blog Sau đăng nhập, bạn chọn mục <Quản trị> trên menu ngang, dùng link: http:// tentrangcuaban.violet.vn/admin/index hay http:// violet.vn/tentrangcuaban/admin/index Trên trang Quản trị, bạn click chuột trái vào mục chọn <Thêm khối trên cột chức năng>, sau đó gõ tiêu đề tuỳ ý ô <Tiêu đề> Trong ô <Văn bản> bạn có thể nhập vào các đoạn mã (code) HTML đây: Mẫu đồng hồ 1: a) Tiêu đề: tùy ý b) Văn nhúng mã HTML: <p align=center> <embed center src="http: //images.timnhanh.com/yume/app/flashes/clock_5.swf?TimeZone=VietNam_Hanoi&" width="150" height="150" (7) wmode="transparent" type="application/x-shockwave-flash"> </p> Mẫu đồng hồ 2: <div class="copyright"> <script src="http: //www.clocklink.com/embed.js"> </script> <script type="text/javascript" language="JavaScript"> obj=new Object; obj.clockfile="0009-magenta.swf";obj.TimeZone="ICT"; obj.width=200;obj.height=200; obj.wmode="transparent";showClock(obj);</script> </div> Mẫu đồng hồ (Flash có thứ ngày tháng năm và cá bơi): <p align=center> <embed src="http:// d.violet.vn/uploads/resources/212/0.Ho_ca.swf" quality="high" width="180" height="235" border= “2” name="Calendar"align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http: //www.macromedia.com/go/getflashplayer" </p> Mẫu đồng hồ Relax: <embed src="http: (8) //www.nackvision.com/goodies/clocks/nackvision_timer06.swf" quality="high" width="240" height="240" name="calendar" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http: //www.macromedia.com/go/getflashplayer"></embed> Đồng hồ lắc Flash, có nhà, ngày tháng năm: <embed src=" http: //d.violet.vn/uploads/resources/495/0.Lam_dong_ho_Flash.swf? TimeZone=VietNam_Hanoi&Place=&" width="180" height="180" wmode="transparent" type="application/x-shockwave-flash"> Lịch, rê chuột vào thì xuất đồng hồ: <embed src="http: //d.violet.vn/uploads/resources/495/0.calendarmo4.swf" pluginspage="http: //www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="180" height="240"> Mẫu lịch 1: <embed src="http: //d.violet.vn/uploads/resources/495/0.kal18.swf" pluginspage="http: //www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="180" height="230"> <embed src="http://nackvision.com/goodies/clocks/nackvision_timer04.swf" quality="high" width="303" height="305" name="nackvision_timer04" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwaveflash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br> (9) <a href="http://nackvision.com/goodies/" target="_blank">More Goodies @ NackVision</a> <embed src="http://nackvision.com/goodies/clocks/nackvision_timer01.swf" quality="high" width="300" height="200" name="nackvision_timer01" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwaveflash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br> <a href="http://nackvision.com/goodies/" target="_blank">More Goodies @ NackVision</a> 10 <embed src="http://nackvision.com/goodies/clocks/nackvision_timer02.swf" quality="high" width="100" height="100" name="calendar" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br> <a href="http://nackvision.com/goodies/" target="_blank">More Goodies @ NackVision</a> 11 <embed src="http://nackvision.com/goodies/clocks/nackvision_timer03.swf" quality="high" width="120" height="120" name="calendar" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br> <a href="http://nackvision.com/goodies/" target="_blank">More Goodies @ NackVision</a> 12 ĐẸP <embed src="http://nackvision.com/goodies/clocks/nackvision_timer04.swf" quality="high" width="303" height="305" name="nackvision_timer04" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwaveflash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br> (10) <a href="http://nackvision.com/goodies/" target="_blank">More Goodies @ NackVision</a> Nhúng lịch truyền hình vào blog Để nhúng lịch truyền hình vào blog các bạn có thể tiến hành nhúng đoạn code sau vào blog mình, vị trí muốn hiển thị <iframe src="http://bongda.com.vn/truyenhinh.aspx" frameborder="1" width="170" height="250" scrolling="yes"></iframe> Trong đó : frameborder="1": Nếu không muốn để đường viền thì sửa lại thành "0" width="170": Độ rộng này có thể thay đổi, tuỳ theo vị trí bạn chèn vào chèn vào menu dọc thì khoảng 180 height="250": Chiều cao, thay đổi tuỳ theo sở thích scrolling="yes" : Thanh cuộn dọc và ngang, không muốn hiển thị, thì sửa lại thành "no" <span style= "position: absolute; left: 0px; top: 20px; width: 100%"><marquee><font color="#B93B8F" size="3">CHÀO MỪNG CÁC THẦY CÔ GIÁO ĐẾN VỚI BLOG</font></marquee></span> (11) Danh ngon nha giao <embed src= "http://d.violet.vn/uploads/resources/495/danh_ngon_ve_thay_giao.swf" quality="high" wmode="transparent" type= "application/x-shockwave-flash" width="400" height= "500"> Lo hoa <p align="center"><embed src= "http://d.violet.vn/uploads/resources/597/hoa.swf" width="180" height="250" type="application/x-shockwave-flash" wmode= "transparent" allowscriptaccess="never"></p> Uong trà <center><object><embed src= "http://d.violet.vn/uploads/resources/492/info@123doc.org" quality= "high" wmode="transparent" type="application/x-shockwave-flash" width="180" height="160"></object></center> Du bao thoi tiet son la <a href="http://www.wunderground.com/global/stations/48806.html? bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/lang uage/www/global/stations/48806.gif" border=0 alt="Click for Son La, Viet Nam Forecast" height=40 width=467></a> Co to quoc tung bay <embed src="http://d.violet.vn/uploads/resources/599/CoToquoc.swf" quality="high" wmode="transparent" type= (12) "application/x-shockwave-flash" width="180" height="230"><div id="advert1" class="banner" style= "position: absolute; display: none;"><a title="" target="_blank" href="http://violet.vn/7kho"><img width="120" height="120" src="http://d4.violet.vn/uploads/blogs/726527/1836545mblph7p32e.gif" alt= "7Kho"></a></div> <script type="text/javascript"> setPosition({element: 'advert1', top: , left: 3, minWidth: 1000});$ ('advert1').style.display='block';setPosition;topMenu = new cssMenu("chromemenu", "bottom");var leftMenu = new cssMenu("leftmenu2", "right"); </script><script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "googleanalytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script><script type="text/javascript"> try {var pageTracker = _gat._getTracker("UA-85233993");pageTracker._trackPageview();} catch(err) {} </script> Dong chu chay tren tieu de <script> var txt="Trang tư liệu Lịch Sử Nông Duy Khánh "; var espera=200; var refresco=null; function rotulo_title() { document.title=txt; txt=txt.substring(1,txt.length)+txt.charAt(0); refresco=setTimeout("rotulo_title()",espera); } rotulo_title(); </script> (13) Code giả toán qua internet <a href="http://www.violympic.vn/" target="_bank"><object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="180" height="150" id="undefined" align="middle"><param name= "allowScriptAccess" value="always"> <param name="movie" value= "http://www.violympic.vn/images/violympic.swf"> <param name="FlashVars" value="undefined"> <param name="wmode" value="transparent"> <param name="menu" value="false"> <param name="quality" value="high"> <embed src="http://www.violympic.vn/images/violympic.swf" flashvars="undefined" wmode="transparent" menu="false" quality= "high" width="505" height="150" allowscriptaccess="always" type= "application/x-shockwave-flash" pluginspage= "http://www.macromedia.com/go/getflashplayer"></object></a> (14) Code ảnh chạy dọc khối <marquee onmouseover=this.stop() onmouseout=this.start() scrollAmount=3 scrollDelay=2 direction=up> <img src=" http://d2.violet.vn/uploads/thumbnails/188/thumbnails/IMG0832A1.jpg.jpg" border= "2"width="175" height="143"> <div><img src=" http://d2.violet.vn/uploads/thumbnails/188/thumbnails/24112010003.jpg.jpg" border= "2"width="175" height="143"></div> <div><img src=" http://d2.violet.vn/uploads/thumbnails/188/thumbnails/Anh0003.jpg.jpg" border= "2"width="175" height="143"></div> <div><img src=" http://d2.violet.vn/uploads/thumbnails/188/thumbnails/Anh0015.jpg.jpg" border= "2"width="175" height="143"></div> <div><img src=" http://d2.violet.vn/uploads/thumbnails/188/thumbnails/DSC00305.jpg.jpg" border= "2"width="175" height="143"></div> <div><img src=" http://d2.violet.vn/uploads/thumbnails/188/thumbnails/DSC00343.jpg.jpg" border= "2"width="175" height="143"></div> <div><img src=" http://d2.violet.vn/uploads/thumbnails/188/thumbnails/H_Nhi0038.jpg.jpg" border= "2"width="175" height="143"></div> </marquee> Thầy cô thay link http://d2.violet.vn/uploads/thumbnails/188/thumbnails/24112010003.jpg.jpg link ảnh mình copy cho vào khối trên cột chức Chúc thành công! (15) Đưa link ảnh vào khối chức <img src= " http://buicuong81.webng.com/img_5426.jpg " height="200" width="180"> (16)

Ngày đăng: 04/06/2021, 19:45

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

Tài liệu liên quan