Đóng mở, cửa sổ kiểm tra code... Các bạn coppy rồi paste code cần kiểm tra ở đây dán đè lên dòng chữ nhé !... -moz-background-inline-policy: continuous;"frameborder="0"> Xem hiển thịX
Trang 1Đóng mở, cửa sổ kiểm tra code
<div style=
"font-family: Verdana,Geneva,Lucida,'Lucida Grande'; font-style: normal; font-variant: normal;
weight: normal; size: 12px; line-height: normal; size-adjust: none; font-stretch:
normal; -x-system-font: none; margin-bottom: 3px;">
<input value="MỞ CỬA SỔ KIỂM TRA CODE" style=
"margin: 0px; padding: 0px; width: 180px; font-size: 12px;"
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 = 'ĐÓNG CỬA
SỔ KIỂM TRA CODE'; } else
{ this.parentNode.parentNode.getElementsByTagName('div')
[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'MỞ
CỬA SỔ KIỂM TRA CODE'; }"
Trang 2<div style=
"border: 0px inset ; margin: 0px; padding: 0px; min-height: 20px;">
<div style="display: none;">
<div align="center">
<table style=
"width500px;border:solid 1px #959492;background:#ebebea">
<tr>
<td valign="top" style="padding: 10px" background=
"http://i9.glitter-graphics.org/pub/1028/1028479ssdyfudbye.gif">
<form name="form1" method="post">
<textarea name="code" wrap="soft" onclick="focus(this.code)" style=
"border:solid 1px #b9b8b6;padding:5px;width:240px;height:300px;scroll:auto;">
Các bạn coppy rồi paste code cần kiểm tra ở đây (dán đè lên dòng chữ nhé !)
</textarea></form>
</td>
<td valign="top" background=
"http://i9.glitter-graphics.org/pub/1028/1028479ssdyfudbye.gif"><iframe
src="about:blank" name="preview" style=
"border: 1px solid rgb(185, 184, 182); background: rgb(255, 255, 255) none repeat scroll 0% 0%;
height: 300px; width: 240px; -moz-background-clip: border; -moz-background-origin: padding;
Trang 3-moz-background-inline-policy: continuous;"
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()">Xoá
tất cả</button><button onclick=
"window.location.href=window.location.href">Làm lại</button></center><br>
Sẽ không hiển thị nếu code của bạn bị lỗi, khi
đó bạn hãy sửa lại code ngay tại khung bên trái !
Chương trình ứng dụng chính xác cho các loại mã Java
Script; HTML Chúc bạn luôn thành công !</center>