회원로그인
14년 전
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>종류: 정렬:</title>
<meta name="generator" content="Namo WebEditor v6.0">
<script language="javascript">
function creation(){
T = document.all.type.options[document.all.type.selectedIndex].value;
N = document.all.name.value;
V = document.all.value.value;
P = document.all.adder.value;
S = document.all.size.value;
M = document.all.max.value;
document.all.source.value = ("<input type='") + T + ("'")
if(N == ""){document.all.source.value+=""}
else{document.all.source.value+=(" name='") + N + ("'")}
if(V == ""){document.all.source.value+=""}
else{document.all.source.value+=(" value='") + V + ("'")}
if(S == ""){document.all.source.value+=""}
else{document.all.source.value+=(" size='") + S + ("'")}
if(M == ""){document.all.source.value+=""}
else{document.all.source.value+=(" maxlength='") + M + ("'")}
if(P == ""){document.all.source.value+=""}
else{document.all.source.value+=P}
document.all.source.value+=(">")
document.all.done.innerHTML = document.all.source.value
}
function erase(){
document.all.source.value = ""
document.all.name.value = ""
document.all.value.value = ""
document.all.adder.value = ""
document.all.size.value = ""
document.all.max.value = ""
document.all.done.innerHTML = ""
}
function det(){
if(document.maker.type.selectedIndex < 3){document.maker.size.value = "20"};
else if(document.maker.type.selectedIndex > 2){document.maker.size.value = ""};
}
function copy2Clipboard(){
textRange = document.all.source.createTextRange();
textRange.execCommand("RemoveFormat");
textRange.execCommand("Copy");
}
</script></head>
<body bgcolor="#CCCCCC" text="black" link="blue" vlink="purple" alink="red">
<form name="maker" method="get">
<table border="0" cellpadding="0" cellspacing="0" width="500" align="center">
<tr>
<td width="500" height="28" colspan="2">
<p align="center"><a href="http://xtx.kr" target="_blank"><font color="blue">HTML-Javascript 변환기</font></a></p>
</td>
</tr>
<tr>
<td width="75" height="18"> <p><font size="2">종류: </font></p>
</td>
<td width="425" height="18">
<p align="left"><font size="2"><select name="type" onchange="det()">
<option selected value="text">텍스트 입력박스</option>
<option value="password">비밀번호 입력박스</option>
<option value="file">업로드 폼</option>
<option value="button">버튼</option>
<option value="submit">전송버튼</option>
<option value="reset">취소버튼</option>
<option value="checkbox">체크박스</option>
<option value="radio">라디오버튼</option></select></font></p>
</tr>
<tr>
<td width="75" height="22"> <p><font size="2">이름: </font></p>
</td>
<td width="425" height="22">
<p><font size="2"><input type="text" name="name">
(입력하지 않아도 됨)</font></p>
</td>
</tr>
<tr>
<td width="75" height="29"> <p><font size="2">폼크기:</font></p>
</td>
<td width="425" height="29">
<p><font size="2"><input type="text" name="size" value="20" maxlength="2"
size="2"> </font></p>
</td>
</tr>
<tr>
<td width="75" height="28"> <p><font size="2">최대입력값 :</font></p>
</td>
<td width="425" height="28">
<p><font size="2"><input type="text" name="max" maxlength="2"
size="2">(입력하지 않아도 됨)</font></p>
</td>
</tr>
<tr>
<td width="75" height="20"> <p><font size="2">기본값: </font></p>
</td>
<td width="425" height="20">
<p><font size="2"><input type="text" name="value"></font></p>
</td>
</tr>
<tr>
<td width="75" height="21"> <p><font size="2">추가속성: </font></p>
</td>
<td width="425" height="21">
<p><font size="2"><input type="text" name="adder"
size="35"> (입력하지 않아도 됨)</font></p>
</td>
</tr>
<tr>
<td height="13" colspan="2" width="500">
<p align="center"><font size="2"><input type="button" value="소스생성"
onclick="creation()"><input type="button" value="지우기" onclick="erase()"><input type="button" value="복사하기" onclick="document.all.source.select(); copy2Clipboard();"></font>
<INPUT name=" Restart " onclick="window.location='http://tagin.net'; return true;" type=reset value=태그인넷>
</tr>
<tr>
<center>
<td height="28" colspan="2" width="500"> <p align="center"><textarea id="source" style="width:500; height:50;"></textarea></tr>
<tr>
<center>
<td height="100" colspan="2" width="500" id="done">
<p> </tr>
</table></form></body>
</html>
추천 : 672
추천
목록