|
|
12³â Àü
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>¼Ò½º ¾ÏÈ£È</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>
<BODY onload="initStyleElements();" bgcolor="#CCCCCC">
<script language=JavaScript>
<!--
var i=0;
var ie=(document.all)?1:0;
var ns=(document.layers)?1:0;
function initStyleElements()
{
var c = document.pad;
if (ie)
{
c.compileIt.style.backgroundColor="#C0C0A8";
c.compileIt.style.cursor="hand";
c.select.style.backgroundColor="#C0C0A8";
c.select.style.cursor="hand";
c.view.style.backgroundColor="#C0C0A8";
c.view.style.cursor="hand";
c.retur.style.backgroundColor="#C0C0A8";
c.retur.style.cursor="hand";
c.clear.style.backgroundColor="#C0C0A8";
c.clear.style.cursor="hand";
}
else return;
}
function LightOn(what)
{
if (ie) what.style.backgroundColor = '#E0E0D0';
else return;
}
function FocusOn(what)
{
if (ie) what.style.backgroundColor = '#EBEBEB';
else return;
}
function LightOut(what)
{
if (ie) what.style.backgroundColor = '#C0C0A8';
else return;
}
function FocusOff(what)
{
if (ie) what.style.backgroundColor = '#DDDDDD';
else return;
}
function generate()
{
code = document.pad.text.value;
if (code)
{
document.pad.text.value='ÄÄÆÄÀÏ ÁßÀÔ´Ï´Ù...±â´Ù·Á ÁÖ¼¼¿ä!';
setTimeout("compile()",1000);
}
else alert('ÄÄÆÄÀÏÇÒ ³»¿ëÀ» ³Ö¾îÁÖ¼¼¿ä')
}
function compile()
{
document.pad.text.value='';
compilation=escape(code);
document.pad.text.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>";
i++;
if (i=1) alert("1ȸ ÄÄÆÄÀÏ µÇ¾ú½À´Ï´Ù");
else alert("ÆäÀÌÁö°¡ "+i+" ȸ ÄÄÆÄÀÏ µÇ¾ú½À´Ï´Ù");
}
function selectCode()
{
if(document.pad.text.value.length>0)
{
document.pad.text.focus();
document.pad.text.select();
}
else alert('¼±ÅÃÇØ ÁÖ¼¼¿ä')
}
function preview()
{
if(document.pad.text.value.length>0)
{
pr=window.open("","¹Ì¸®º¸±â","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
pr.document.write(document.pad.text.value);
}
else alert('¹Ì¸®º¸±â ¼Ò½º°¡ ¾ø½À´Ï´Ù.!!')
}
function uncompile()
{
if (document.pad.text.value.length>0)
{
source=unescape(document.pad.text.value);
document.pad.text.value=""+source+"";
}
else alert('ÄÄÆÄÀÏµÈ Äڵ尡 ÇÊ¿ä ÇÕ´Ï´Ù')
}
//-->
</script>
<table width=100% border="0" cellpadding="0" cellspacing="0" bordercolorlight=black bordercolordark="white" align=center>
<tr>
<td width=100% align="center" valign="middle"> <form method=post name=pad align=center>
<p><textarea rows="26" name=text cols="74" style="background-color:white; border-color:rgb(249,249,249); width:95%;"></textarea>
<br><br>
<br>
<input type=button value="¾ÏÈ£È" name=compileIt onClick=generate() onMouseOver=LightOn(this) onMouseOut=LightOut(this)>
<input type=button value=Àüü¼±Åà name=select onClick=selectCode() onMouseOver=LightOn(this) onMouseOut=LightOut(this)>
<input type=button value=¹Ì¸®º¸±â name=view onClick=preview() onMouseOver=LightOn(this) onMouseOut=LightOut(this)>
<input type=button value="¾ÏȣǮ±â" name=retur onClick=uncompile() onMouseOver=LightOn(this) onMouseOut=LightOut(this)>
<input type=reset value=»èÁ¦ name=clear onMouseOver=LightOn(this) onMouseOut=LightOut(this)>
</p>
<p> </p>
</form>
</td>
</tr>
</table>
</body>
</html>
|
|
̵̧ : 508 |
̵̧
¸ñ·Ï
|
|