Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (87.78 KB, 4 trang )
<span class='text_page_counter'>(1)</span>Code chào mừng chạy đầu trang: a) Chạy qua,lại ( có màu)<span style="position: absolute; left: 0px; top: 0px; width: 100%"><marquee behavior="ALTERNATE"><strong><font color="#B93B8F"> CHÀO MỪNG QUÝ THẦY CÔ GIÁO VÀ CÁC BẠN ĐẾN VỚI WEBSITE OF QUANG HIỆU </font> </strong></marquee></span>Các thầy cô có thể thay mã màu khác:( vào vị trí màu đỏ )Ví dụ: Màu xanh: #736AFF ; Màu tím: #B93B8F ; Màu cam: #FBB917 Màu đỏ: #F778A1 ; hoặc chọn màu khác tùy thíchb) Chạy từ phải sang trái:<span style="position: absolute; left: 0px; top: 0px; width: 100%"> <marquee <font color="#B93B8F" size="4"> CHÀO MỪNG QUÝ THẦY CÔ GIÁO VÀ CÁC BẠN ĐẾN VỚI WEBSITE ………… </font></marquee></span> Thay mã màu như trên Chúc thành công!. Code tạo hộp tra cứu điểm thi Đại học <script language="javascript" src=" <script language="javascript" src=" Code tỷ giá ngoại tệ (Vietcombank), giá vàng (do SJC cung cấp) 1. Code tỷ giá ngoại tệ ( Nguồn cung cấp: Vietcombank hàng ngày vào 9 giờ sáng ) <iframe src=" width="180" height="240" scrolling="yes" frameborder="0" marginheight="0" marginwidth="0"></iframe> 2. Code giá vàng ( Do SJC cung cấp ) <iframe src=" width="150" height="200" scrolling="yes" frameborder="0" marginheight="0" marginwidth="0"></iframe>.
<span class='text_page_counter'>(2)</span> Code tạo hộp thông báo (chúc mừng) khi truy cập vào trang web <SCRIPT language=JavaScript1.1> alert("Chào mừng bạn đến chơi nhà , Chẳng Có Gì Hơn Ngoài Những Lời Chúc ...!\n Chúc Bạn Tràn Đầy Hạnh Phúc ... \n Gặp Nhiều May Mắn , Niềm Vui Phơi Phới ..!\n Và Nhớ Ghé Thăm Nhé ! Cảm Ơn Tất Cả Các Bạn - Đại Gia Đình violet.vn.!\n Admin : Phạm Văn Hiệu ->.................. "); </SCRIPT>. Chúc các bạn thành công !. Thay chuột cho Web Một cái blog sẽ đẹp và tuyệt vời hơn nếu các bạn thay đổi con trỏ chuột bình thường thành một hình biểu tượng gì đó mà bạn thích. Bài viết này sẽ hướng dẫn các bạn thay đổi con trỏ chuột cho blog của mình . Để có một con trỏ chuột như ý muốn bạn phải trải qua các bước sau đây : 1.Đầu tiên các bạn vào trang web sẽ có rất nhiều kiểu chuột khác nhau với các chủ đề khác nhau (bên trái) cho bạn lựa chọn. Xong bước đầu tiên rồi đó các bạn. 2.Sau khi bạn đã "chấm" được kiểu chuột ưng ý. Click vào kiểu chuột đó. Xong bước 2. 3.Trang mới hiện ra, bạn sẽ thấy có hai ô chứa code, hãy copy code của một trong hai ô đó ( ô nào cũng được) sau đó pase vào blog nha Sau đó các bạn save lại rồi nhấn F5 vài lần để xem kết quả . Chúc các bạn thành công.. Bắn pháo hoa trên web <body bgcolor="#000000"> <script> if ((document.getElementById) && window.addEventListener || window.attachEvent) { (function(){ var showerCol = new Array('#000000','#ff0000','#000000','#00ff00','#ff00ff','#ffffff','#ffa500','#000000','#fff000'); var launchCol = new Array('#ffa500','#00ff00','#ffaaff','#fff000','#ffffff'); var launchColour = "#00ff00";var rs = 30; var y = 200;var x = 200;var h;var w;var xs = 190;var t = null;var ss = 1;var e = 360/14;var f = new Array();var c1 = -1;var c2 = 5;var r;var pix = "px";var strictmod = ((document.compatMode) && document.compatMode.indexOf("CSS") ! = -1);var o;var domWw = (typeof window.innerWidth == "number");var domSy = (typeof window.pageYOffset == "number");var n = 14;var idx = 1;for (i = 0; i < n; i++){ if.
<span class='text_page_counter'>(3)</span> ( document.getElementById(idx+i) ){ idx = (idx+=(n)); }}for (i = 0; i < n; i++) {document.write('<div id='+(idx+i)+' style="position:absolute;top:0px;left:0px;'+'height:1px;width:1px;font-size:1px;backgroundcolor:'+launchColour+'"><\/div>');}if (domWw) r = window;else{ if (document.documentElement && typeof document.documentElement.clientWidth == "number" && document.documentElement.clientWidth != 0) r = document.documentElement; else{ if (document.body && typeof document.body.clientWidth == "number") r = document.body; }}function scrl(yx){var y,x;if (domSy){ y = r.pageYOffset; x = r.pageXOffset; }else{ y = r.scrollTop; x = r.scrollLeft; }return (yx == 0)?y:x;}function wndwsz(){if (domWw){ h = r.innerHeight; w = r.innerWidth; } else{ h = r.clientHeight; w = r.clientWidth; }o = (w >= h)?h:w;}function rst(){c1 = 0;launchColour = launchCol[Math.floor(Math.random() * launchCol.length)];xs = Math.round(100+Math.random() * (o/4));y = xs + Math.round(Math.random() * (h-(xs*2.2))) + scrl(0);x = xs + Math.round(Math.random() * (w-(xs*2.2))) + scrl(1);ss = 1;for (i=0; i < n; i++){ f[i].backgroundColor = launchColour; f[i].width = ss + pix; f[i].height = ss + pix; f[i].fontSize = ss + pix;}dsply();}function dsply(){c1 += c2;t = setTimeout(dsply,rs);for (i =0; i < n; i++) {f[i].top = y + xs * Math.sin(i*e*Math.PI/180) * Math.sin(c1/100) + pix;f[i].left= x + xs * Math.cos(i*e*Math.PI/180) * Math.sin(c1/100) + pix; if (c1 > 100){ ss = (xs < 150)? 1:Math.round(1+Math.random()*2); f[i].backgroundColor = showerCol[Math.floor(Math.random()*showerCol.length)]; f[i].width = ss + pix; f[i].height = ss + pix; f[i].fontSize = ss + pix; }}if (c1 > 160){ clearTimeout(t); rst();}}function init() {wndwsz();for (i = 0; i < n; i++){f[i] = document.getElementById(idx+i).style;}var strt = Math.floor(500+Math.random()*2000);setTimeout(dsply,strt);}if (window.addEventListener) { window.addEventListener("resize",wndwsz,false); window.addEventListener("load",init,false);} else if (window.attachEvent) { window.attachEvent("onresize",wndwsz); window.attachEvent("onload",init);} }) ();}//End.</script> <script>if ((document.getElementById) && window.addEventListener || window.attachEvent){(function(){var showerCol = new Array('#000000','#ff0000','#000000','#00ff00','#ff00ff','#ffffff','#ffa500','#000000','#fff000');var launchCol = new Array('#ffa500','#00ff00','#ffaaff','#fff000','#ffffff');var launchColour = "#00ff00";var rs = 30; var y = 200;var x = 200;var h;var w;var xs = 190;var t = null;var ss = 1;var e = 360/14;var f = new Array();var c1 = -1;var c2 = 5;var r;var pix = "px";var strictmod = ((document.compatMode) && document.compatMode.indexOf("CSS") != -1);var o;var domWw = (typeof window.innerWidth == "number");var domSy = (typeof window.pageYOffset == "number");var n = 14;var idx = 1;for (i = 0; i < n; i++){ if ( document.getElementById(idx+i) ){ idx = (idx+=(n)); }}for (i = 0; i < n; i++) {document.write('<div id='+(idx+i)+' style="position:absolute;top:0px;left:0px;'+'height:1px;width:1px;font-size:1px;backgroundcolor:'+launchColour+'"><\/div>');}if (domWw) r = window;else{ if (document.documentElement && typeof document.documentElement.clientWidth == "number" && document.documentElement.clientWidth != 0) r = document.documentElement; else{ if (document.body && typeof document.body.clientWidth == "number") r = document.body; }}function scrl(yx){var y,x;if (domSy){ y = r.pageYOffset; x = r.pageXOffset; }else{ y = r.scrollTop; x = r.scrollLeft; }return (yx == 0)?y:x;}function wndwsz(){if (domWw){ h = r.innerHeight; w = r.innerWidth; } else{ h = r.clientHeight; w = r.clientWidth; }o = (w >= h)?h:w;}function rst(){c1 = 0;launchColour = launchCol[Math.floor(Math.random() * launchCol.length)];xs = Math.round(100+Math.random() * (o/4));y = xs + Math.round(Math.random() * (h-(xs*2.2))) + scrl(0);x = xs + Math.round(Math.random() * (w-(xs*2.2))) + scrl(1);ss = 1;for (i=0; i < n; i++){ f[i].backgroundColor = launchColour; f[i].width = ss + pix; f[i].height = ss + pix; f[i].fontSize = ss + pix;}dsply();}function dsply(){c1 += c2;t = setTimeout(dsply,rs);for (i =0; i < n; i++).
<span class='text_page_counter'>(4)</span> {f[i].top = y + xs * Math.sin(i*e*Math.PI/180) * Math.sin(c1/100) + pix;f[i].left= x + xs * Math.cos(i*e*Math.PI/180) * Math.sin(c1/100) + pix; if (c1 > 100){ ss = (xs < 150)? 1:Math.round(1+Math.random()*2); f[i].backgroundColor = showerCol[Math.floor(Math.random()*showerCol.length)]; f[i].width = ss + pix; f[i].height = ss + pix; f[i].fontSize = ss + pix; }}if (c1 > 160){ clearTimeout(t); rst();}}function init() {wndwsz();for (i = 0; i < n; i++){f[i] = document.getElementById(idx+i).style;}var strt = Math.floor(500+Math.random()*2000);setTimeout(dsply,strt);}if (window.addEventListener) { window.addEventListener("resize",wndwsz,false); window.addEventListener("load",init,false);} else if (window.attachEvent) { window.attachEvent("onresize",wndwsz); window.attachEvent("onload",init);} }) ();}//End.</script> <script>if ((document.getElementById) && window.addEventListener || window.attachEvent){(function(){var showerCol = new Array('#000000','#ff0000','#000000','#00ff00','#ff00ff','#ffffff','#ffa500','#000000','#fff000');var launchCol = new Array('#ffa500','#00ff00','#ffaaff','#fff000','#ffffff');var launchColour = "#00ff00";var rs = 30; var y = 200;var x = 200;var h;var w;var xs = 190;var t = null;var ss = 1;var e = 360/14;var f = new Array();var c1 = -1;var c2 = 5;var r;var pix = "px";var strictmod = ((document.compatMode) && document.compatMode.indexOf("CSS") != -1);var o;var domWw = (typeof window.innerWidth == "number");var domSy = (typeof window.pageYOffset == "number");var n = 14;var idx = 1;for (i = 0; i < n; i++){ if ( document.getElementById(idx+i) ){ idx = (idx+=(n)); }}for (i = 0; i < n; i++) {document.write('<div id='+(idx+i)+' style="position:absolute;top:0px;left:0px;'+'height:1px;width:1px;font-size:1px;backgroundcolor:'+launchColour+'"><\/div>');}if (domWw) r = window;else{ if (document.documentElement && typeof document.documentElement.clientWidth == "number" && document.documentElement.clientWidth != 0) r = document.documentElement; else{ if (document.body && typeof document.body.clientWidth == "number") r = document.body; }}function scrl(yx){var y,x;if (domSy){ y = r.pageYOffset; x = r.pageXOffset; }else{ y = r.scrollTop; x = r.scrollLeft; }return (yx == 0)?y:x;}function wndwsz(){if (domWw){ h = r.innerHeight; w = r.innerWidth; } else{ h = r.clientHeight; w = r.clientWidth; }o = (w >= h)?h:w;}function rst(){c1 = 0;launchColour = launchCol[Math.floor(Math.random() * launchCol.length)];xs = Math.round(100+Math.random() * (o/4));y = xs + Math.round(Math.random() * (h-(xs*2.2))) + scrl(0);x = xs + Math.round(Math.random() * (w-(xs*2.2))) + scrl(1);ss = 1;for (i=0; i < n; i++){ f[i].backgroundColor = launchColour; f[i].width = ss + pix; f[i].height = ss + pix; f[i].fontSize = ss + pix;}dsply();}function dsply(){c1 += c2;t = setTimeout(dsply,rs);for (i =0; i < n; i++) {f[i].top = y + xs * Math.sin(i*e*Math.PI/180) * Math.sin(c1/100) + pix;f[i].left= x + xs * Math.cos(i*e*Math.PI/180) * Math.sin(c1/100) + pix; if (c1 > 100){ ss = (xs < 150)? 1:Math.round(1+Math.random()*2); f[i].backgroundColor = showerCol[Math.floor(Math.random()*showerCol.length)]; f[i].width = ss + pix; f[i].height = ss + pix; f[i].fontSize = ss + pix; }}if (c1 > 160){ clearTimeout(t); rst();}}function init() {wndwsz();for (i = 0; i < n; i++){f[i] = document.getElementById(idx+i).style;}var strt = Math.floor(500+Math.random()*2000);setTimeout(dsply,strt);}if (window.addEventListener) { window.addEventListener("resize",wndwsz,false); window.addEventListener("load",init,false);} else if (window.attachEvent) { window.attachEvent("onresize",wndwsz); window.attachEvent("onload",init);} }) ();}//End.</script> </body>.
<span class='text_page_counter'>(5)</span>