Code tạo hình trái tim bằng tên bạn Code tạo hình trái tim bằng tên bạn <html><body> <script type="text/javascript"> function createHeart(sourceId, resultId) { objSource = window.document.getElementById(sourceId); objResult = window.document.getElementById(resultId); if(objSource.value.length == 0) { alert("Bạn chưa nhập đoạn text cần tạo hình trái tim vào ô trống!"); return false; } string = objSource.value; heart = ""; heart += "_________" + partString(string, 8) + "____________" + partString(string, 9) + "\n"; heart += "______" + partString(string, 12) + "_______" + partString(string, 15) + "\n"; heart += "____" + partString(string, 17) + "___" + partString(string, 18) + "\n"; heart += "___" + partString(string, 41) + "\n"; heart += "__" + partString(string, 44) + "\n"; heart += "_" + partString(string, 46) + "\n"; heart += "_" + partString(string, 46) + "\n"; heart += partString(string, 47) + "\n"; heart += partString(string, 47) + "\n"; heart += partString(string, 46) + "\n"; heart += partString(string, 45) + "\n"; heart += "_" + partString(string, 43) + "\n"; heart += "__" + partString(string, 41) + "\n"; heart += "____" + partString(string, 38) + "\n"; heart += "______" + partString(string, 34) + "\n"; heart += "_________" + partString(string, 28) + "\n"; heart += "____________" + partString(string, 22) + "\n"; heart += "______________" + partString(string, 18) + "\n"; heart += "_________________" + partString(string, 13) + "\n"; heart += "___________________" + partString(string, 9) + "\n"; heart += "_____________________" + partString(string, 6) + "\n"; heart += "______________________" + partString(string, 4) + "\n"; heart += "_______________________" + partString(string, 2) + "\n"; objResult.value = heart; } function partString(string, num) { if(string.length >= num) return string.substring(0, num); repeat = Math.ceil(num / string.length); newString = ""; for(i = 0; i < repeat; i++) newString += string; return newString.substring(0, num); } </script> <p align="center">Nguyễn Quang & Trần Thị Phú<br /><input id="text" name="text" size="37"></p><p align="center"><input name="Create Heart" accesskey="g" onclick="return createHeart('text', 'result');" value="Tạo trái tim" type="button"></p><p align="center">Copy hình vừa tạo và dán vào blog thôi.</p><p align="center"><textarea cols="45" rows="23" readonly="readonly" wrap="OFF" id="result" onclick="this.focus(); this.select();"></textarea><p align="center">Thích không ^^</p><p align="center"><strong>© <a href="http://www.kidpro.forumup.vn">Forum x3</a></strong></p> </body></html> --------------------------- Tim tuc GD <script type="text/javascript"> gocnhin_theme = 'widgetDisplayThemeBlue'; gocnhin_id ='gocnhin-widget-container'; gocnhin_width = '520px'; </script> <script type="text/javascript" src= "http://gocnhin.com/js/gocnhin.js"> </script> <script type="text/javascript" src= "http://gocnhin.com/widget.php? category=giaoduc&link_type=hot&link_number=20&dtype=0& dtype=0"> </script> violympic <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="520" 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> <div class="content"><marquee onmouseover="this.stop();" onmouseout="this.start();" truespeed="" scrollamount="1" scrolldelay="60" direction="Up" loop="infinite" height= "200"> <img src= "http://d.violet.vn/uploads/resources/blog/663/hoa.gif" width="15" height="15" align="top"> Admin: Nguyễn Quang<br> <img src="http://d.violet.vn/uploads/resources/blog/663/hoa.gif " width="15" height="15" align="top"> Ảnh admin:</a> <a target='_blank' href=" http:// http://ca2.upanh.com/19.0.23637436.RtC0/copyofhinh5.jp g "> <font color="#FF0000">Đây nè</a><br> <img src=" http://d.violet.vn/uploads/resources/blog/663/hoa.gif " width="15" height="15" align="top"> <font color="#000000">Đơn vị công tác:</a> <a target='_blank' href="http://violet.vn/7Kho/document/list/cat_id/2174658 "> <font color="#FF0000">THCS Trương THCS Tam Thanh – Phú Quý – Bình Thuận</a><br> <img src=" http://d.violet.vn/uploads/resources/blog/663/hoa.gif " width="15" height="15" align="top"><font color="#000000"> Chuyên môn: Toán - Lý<br> <img src="http://d.violet.vn/uploads/resources/blog/663/hoa.gif " width="15" height="15" align="top"> <font color="#000000">Địa chỉ: Tam Thanh – Phú Quý – Bình Thuận <br> <img src=" http://d.violet.vn/uploads/resources/blog/663/hoa.gif " width="15" height="15" align="top"> <font color="#000000">Liên hệ Email: </a> <a target='_blank' href="mailto:quangisland@gmail.com or thanhtung_oliver@yahoo.com"><font color="#FF0000"> quangisland@gmail.com or thanhtung_oliver@yahoo.com </a><br> <img src=" http://d.violet.vn/uploads/resources/blog/663/hoa.gif " width="15" height="15" align="top"> <font color="#000000">Gửi ý kiến cho admin</a> <a target='_blank' href= "http://violet.vn/huudiep1983/entry/show/cat_id/2671283/e ntry_id/2708957"> <br> <font color="#FF0000">TẠI ĐÂY</a><br> <img src=" http://d.violet.vn/uploads/resources/blog/663/hoa.gif " width="15" height="15" align="top"> <font color="#000000">ĐT: 0987 525 404<br></marquee></div> -------------------------------------------------------------------------------- ---------------------------------------------------------------- <img src='http://ca2.upanh.com/19.0.23637436.RtC0/copyofhin h5.jpg' border='0' alt='%name' /> <img src='http://ca9.upanh.com/19.0.23637659.0sm0/danongdic hthuc.jpg' border='0' alt='%name' /> Hình anh chay vong rất dep <table width="100%"> <tr> <td style="padding: 15px"><font size="3" color= "#0000FF"><marquee onmouseout="this.start()" onmouseover= "this.stop()" scrollamount="3" behavior="alternate" direction= "LEFT" width="500" height="200" scrolldelay="90"><a href= "http://violet.vn/ptcs-nammuoi" target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/186/thumbnails/DSC00683.jpg.jpg' border= "2" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/186/thumbnails/Hinh_anh0026.jpg.jpg' border="‘2’" ></a> <a href= "http:// http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/603/thumbnails/IMG0182A.jpg.jpg' border="2" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/603/thumbnails/IMG0696A.jpg.jpg' border= "‘2’" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/186/thumbnails/Hinh_anh0103.jpg.jpg' border="‘2’" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/158/thumbnails/AA.jpg.jpg' border= "‘2’" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/186/thumbnails/keytdzpd572lxdv34xz.jp g.jpg' border="‘2’" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/186/thumbnails/ca4mqzsz4b9r1bgvda.jp g.jpg' border="‘2’" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/186/thumbnails/Hinh_anh0030.jpg.jpg' border='2' ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/186/thumbnails/Hinh_anh0100.jpg.jpg' border="‘2’" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/158/thumbnails/555555.jpg.jpg' border= "‘2’" ></a> <a href= " http://violet.vn/ptcs-nammuoi " target="_blank"><img src= ' http://d2.violet.vn/uploads/thumbnails/158/thumbnails/IMG0138A.jpg.jpg' border= "‘2’" ></a><br></marquee></font> </td> </tr> </table> Code chúc mừng năm mới rất đẹp Thầy cô cho vào khối trên cột chức năng nhé! Chúc mừng năm mới! <a href="http://7kho.violet.vn/" title="7Kho" target= "blank"><embed src= "http://d.violet.vn/uploads/resources/505/1511.swf" width= "180" height="180" wmode="transparent" type= "application/x-shockwave-flash"></a> ----------------------------- <style type="text/css"> .float { width: 100px; height: 800px; border: solid 1px white; } </style> </head> <div style="width: 970px;height: 0px;"> <div id="a" class="float"><a HREF="http://violympic.vn" TARGET="_blank"> <img src=" http://thichnhac.com/test_float_banner.jpg" border="0"></a></div> <div id="c" class="float"><a href=" http://hcm.24h.com.vn.vn " target="_blank"> <img src=" http://thichnhac.com/test_float_banner.jpg " border="0"></a></div> </div> </body> <script type="text/javascript"> function setPosition(id, position) { var store = { ram : { top : 0, left : 0, right : 0, bottom : 0 }, rom : { top : null, left : null, right : null, bottom : null } }; for (var i in position) {store.rom[i] = position[i];} var element = document.getElementById(id); for (i in store) {element[i] = store[i];} element.rom.move = function() { if (window.innerHeight) { var topPage = window.pageYOffset; var leftPage = window.pageXOffset; var rightPage = leftPage + window.innerWidth - element.offsetWidth; var bottomPage = topPage + window.innerHeight - element.offsetHeight; } else { var topPage = document.body.scrollTop; var leftPage = document.body.scrollLeft; var rightPage = leftPage + document.body.clientWidth - element.offsetWidth; var bottomPage = topPage + document.body.clientHeight - element.offsetHeight; } element.style.position = "absolute"; if (element.rom.top != null) { element.ram.top += Math.round((topPage + element.rom.top - element.ram.top)/20); element.style.top = element.ram.top; } if (element.rom.left != null) { element.ram.left += Math.round((leftPage + element.rom.left - element.ram.left)/20); element.style.left = element.ram.left; } if (element.rom.right != null) { element.ram.right += Math.round((rightPage - element.rom.right - element.ram.right)/20); element.style.left = element.ram.right; } if (element.rom.bottom != null) { element.ram.bottom += Math.round((bottomPage - element.rom.bottom - element.ram.bottom)/20); element.style.top = element.ram.bottom; } setTimeout("document.getElementById('"+element.id+"').rom.move()",10); }; element.rom.move(); } setPosition("a", {top: 0, left: 910}); setPosition("c", {top: 0, left: 0}); </script> Hoàn chỉnh cua minh <div class="banner" id="advert5" style="position: absolute; display: none;"> <a href="http://violympic.vn" target="_blank" title="Khảo sát trình duyệt web đối với Blog ''Thủ thuật blog Violet''"> <img alt="" height="150" src="http://ca2.upanh.com/19.0.23619530.XfC0/quang.jpg " width="100" /></a></div><div class="banner" id="advert6" style="position: absolute; display: none;"><a href=" http://violympic.vn" target="_blank" title="Thủ thuật blog Violet"> <img alt="" height="150" src="http://ca9.upanh.com/19.0.23619531.ndm0/quang1.jp g" width="100" /></a></div> <div class="banner" id="advert7" style="position: absolute; display: none;"> <a href=" http://hcm.24h.com.vn" target="_blank" title="Chia sẻ code"><img alt="" height="150" src="http://ca2.upanh.com/19.0.23619530.XfC0/quang.jpg " width="100" /></a></div> <div class="banner" id="advert2" style="position: absolute; display: none;"> <a href=" http://hcm.24h.com.vn" target="_blank" title="Kho dữ liệu tranh nghệ thuật lớn nhất Việt Nam"><img alt="Art100x150" height="150" src="http://ca9.upanh.com/19.0.23619531.ndm0/quang1.jp g" width="100" /></a></div> <script>setPosition({element:'advert5', top:0, left:3, minWidth:1000});setPosition({element:'advert6', top:154, left:3, minWidth:1000});setPosition({element:'advert7', top:0, right:3, minWidth:1000});setPosition({element:'advert2', top:154, right:3, minWidth:1000});topMenu = new cssMenu("chromemenu", "bottom");var leftMenu = new cssMenu("leftmenu2", "left");</script> <div class="banner" id="advert5" style="position: absolute; display: none;"> <a href="http://violympic.vn" target="_blank" title="Khảo sát trình duyệt web đối với Blog ''Thủ thuật blog Violet''"> <img alt="" height="150" src="http://ca2.upanh.com/19.0.23619530.XfC0/quang.jpg " width="100" /></a></div><div class="banner" [...]... src="http://luocbao.com/adv/blogtiengviet1.php"> HD: Các bạn cho vào thêm khối chức năng Code menu ngang cho blog Violet Hàng tuẩn Thủ thuật blog violet lại post tặng các bạn một code hay Code này tạo ra dòng thông báo ở phía trên blog và tạo ra menu ở phía dưới blog Các bạn cứ thử là biết Cho code vào thêm khối chức năng với blog violet (với blog khác thì cho vào thẻ head) Code (copy tất nhé-và chỉnh sủa lại cho phù hợp) Bài giảng | Giáo án | . rgb(255, 255, 255);" title="Nguồn bài giảng& quot; href= " http://caobang83.violet.vn "> ;Bài giảng& lt;/a></span> | <span style=. cho vào thêm khối chức năng Code menu ngang cho blog Violet Hàng tuẩn Thủ thuật blog violet lại post tặng các bạn một code hay Code này tạo ra dòng thông