<script language='JavaScript'>
document.write('<st'+'yle>'); document.write('td {font-size:12px; font-family:±¼¸²; text-decoration:none; }'); document.write('A:link,A:active,A:visited{text-decoration:none;font-size:12PX;color:#333333;}'); document.write('A:hover {text-decoration:none; color:ff9900}'); document.write('font { font-size: 9pt; }'); document.write('.cnj_input {background-color:rgb(240,240,240);border-width:1pt; height:16pt;cursor:hand;}'); document.write('.cnj_input2 {border-width:1; border-color:rgb(204,204,204); border-style:solid;}'); document.write('.cnj_input3 { border-width:1; border-style:solid; border-color:#000000; color:#0084D4; background-color:white;text-align:right;}'); document.write('.cnj_input4 { scrollbar-face-color: #FFCC33;scrollbar-shadow-color: #ffffff;scrollbar-highlight-color: #F3f3f3;scrollbar-3dlight-color: #ffffff;scrollbar-darkshadow-color: #F3f3f3;scrollbar-track-color: #ffffff;scrollbar-arrow-color: #f9f9f9; }'); document.write('</st'+'yle>');
function setLayer(text) { var f = document.cnjform; var str = f.cnj_text.value; str = str.toLowerCase();
if (str.substring(0, 7) == "http://") { // http:// °¡ ÀÔ·ÂÀÌ µÇ¾î ÀÖÀ»¶§ f.cnj_text.value = str;
} else {
if (text.indexOf("http://",0) <= 0) { // http:// °¡ ÀÔ·ÂÀÌ¤Ó ¾ÈµÇ¾î ÀÖÀ»¶§ text = "http://" +text; f.cnj_text.value = text; } } } </script> <center> <form name="cnjform" action="../cgi/js/form-test.php3"> Æû¿¡¼ ȨÁÖ¼Ò ÀԷ½à http://¸¦ ÀÚµ¿À¸·Î ÀÔ·ÂÇØÁÖ´Â ¼Ò½º<br><br> ȨÆäÀÌÁö ÁÖ¼Ò : <input type=text name="cnj_text" size="35" value="www.CginJs.Com" class="cnj_input"> <input type="button" value="È®ÀÎ" onClick="setLayer(document.cnjform.cnj_text.value)" class="cnj_input"> </form> </center>
<!-- Script Size : 2.3 Bytes -->
|