Gốc > CODE >
Hoàng Đức Hòa @ 11:44 23/01/2011
Số lượt xem: 1883
Code test code
Đây là đoạn code giúp cho các thầy cô test các đoạn code trước khi cho vào Blog của mình
Các thầy cô coppy đoạn code dưới đây cho vào khối chính.
<center>
<div style=
"font: 12px Verdana, Geneva, Lucida, 'Lucida Grande'; margin-bottom:3px">
<input type="button" value="BẬT TEST CODE" style=
"width:130px;font-size:12px;margin:0px;padding:0px;" onclick=
"if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'TẮT CHƯƠNG TRÌNH'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'BẬT CHƯƠNG TRÌNH'; }"></div>
<div style=
"min-height: 20px; background-color: #3399FF; margin: 0px; padding: 1px; border: 1px inset;">
<div style="display: none;">
<div align="center">
<div style=
"BORDER-BOTTOM: rgb(108,177,210) 2px solid; BORDER-LEFT: rgb(108,177,210) 1px solid; WIDTH: 480px; BORDER-TOP: rgb(108,177,210) 1px solid; BORDER-RIGHT: rgb(108,177,210) 1px solid">
<div style=
"BORDER-BOTTOM: rgb(220,220,220) 10px outset; BORDER-LEFT: rgb(79,79,79) 10px outset; BORDER-TOP: rgb(105,105,105) 10px outset; BORDER-RIGHT: rgb(245,245,220) 10px outset">
<div style=
"BORDER-BOTTOM: rgb(255,255,255) 3px solid; BORDER-LEFT: rgb(255,255,255) 3px solid; BACKGROUND: rgb(117,183,249); BORDER-TOP: rgb(255,255,255) 3px solid; BORDER-RIGHT: rgb(255,255,255) 3px solid">
<table style=
"width:400px;border:solid 1px #959492;background:#CFCFCF">
<tr>
<td valign="top">
<form name="form1" method="post">
<textarea name="code" wrap="soft" onclick="focus(this.code)" style=
"border:solid 1px #b9b8b6;padding:5px;width:210px;height:300px;scroll:auto;">
Đầu tiên, bạn hãy nhấp nút "XÓA TẤT CẢ".Sau đó, dán code ở đây!
</textarea></form>
</td>
<td valign="top"><iframe src="about:blank" name="preview" style=
"height:300px;width:200px;border:solid 1px #b9b8b6;background:#ffffff"
frameborder="0"></iframe></td>
</tr>
</table>
<center><button onclick=
"preview.document.write (document.getElementsByTagName ('TEXTAREA')[0].value); preview.document.close(); preview.focus()">
Xem hiển thị</button><button onclick=
"window.document.form1.code.value='';preview.document.write (document.getElementsByTagName ('TEXTAREA')[0].value); preview.document.close(); preview.focus()">XÓA
TẤT CẢ</button><button onclick=
"window.location.href=window.location.href">LÀM
LẠI</button></center>
</div>
</div>
</div>
</div>
</div>
</div>
<br></center>
<div class="clear"></div>
<a href="http://violet.vn/thcs-hungtrach-quangbinh/entry/show/cat_id/2695683/entry_id/4902601"
target="_blank">Lấy code</a>
Hoàng Đức Hòa @ 11:44 23/01/2011
Số lượt xem: 1883
Số lượt thích:
0 người
 
- Code upload nhiều ảnh lên. Phục vụ chèn ảnh cho web (23/01/11)
- Code tạo ảnh trượt 2 bên trang web, blog (09/01/11)
- Tạo bóng đổ cho text trong Blog: (18/02/10)
- Code tạo bướm bay cho blog (18/02/10)
- Code tạo bể cá cho blog (18/02/10)








Các ý kiến mới nhất