{"id":1426,"date":"2005-04-27T01:50:42","date_gmt":"2005-04-27T01:50:42","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=1426"},"modified":"2005-04-27T01:50:42","modified_gmt":"2005-04-27T01:50:42","slug":"html-%ec%86%8c%ec%8a%a4%ec%9e%85%eb%a0%a5-%ec%a0%84%ec%9a%a9-textarea","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=1426","title":{"rendered":"HTML \uc18c\uc2a4\uc785\ub825 \uc804\uc6a9 textarea"},"content":{"rendered":"<p><html><br \/>\n<head><\/p>\n<style>\nbody,H1{<br \/>\n       font-family: \"Courier New\", Courier, mono;<br \/>\n}<br \/>\n<\/style>\n<p>\n<script><br \/>\n\/*********************************************************************<br \/>\n*       \ub9cc\ub4dc\ub2c8 : \ud638\uc0c9\uc0ac\uc790<br \/>\n*       dr-no.co.kr \/ minin.hanweb.biz<br \/>\n*       http:\/\/dr-no.co.kr\/public\/js_050426.html<\/p>\n<p>HTML \uc18c\uc2a4\uc785\ub825 \uc804\uc6a9 textarea<\/p>\n<p>\ube14\ub7ec\uadf8\uc5d0\uc11c.. \uae00 \uc62c\ub9b4\ub54c.. html \ud398\uc774\uc9c0 \ub4dc\ub798\uadf8 \ud574\uc11c \ubd99\uc5ec \ub123\uc9c0\uc694?<\/p>\n<p>html \uc758 \uc694\uc18c\ub97c \ub4dc\ub798\uadf8 \ud574\uc11c \ubcf5\uc0ac\ud558\uba74 \ud074\ub9bd\ubcf4\ub4dc\uc5d0\ub294 \uba40\ud2f0\ubbf8\ub514\uc5b4 \ub370\uc774\ud130\uac00 \ub429\ub2c8\ub2e4.<br \/>\n\uc774\uac78 \uc77c\ubc18 textarea \uc5d0 \ubd99\uc5ec\ub123\uae30 \ud558\uba74 HTML \uc18c\uc2a4\ub294 \ubd99\uc5ec\ub123\uae30\uac00 \uc548\ub418\uc9c0\uc694..<\/p>\n<p>\uadf8\uac78 \uac00\ub2a5\ud558\uac8c \ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc2a4\ud06c\ub9bd\ud2b8\ub0b4\uc6a9\uc744 \ubcf4\uc2dc\uba74 \ub9ce\uc740 \ubd80\ubd84\ub4e4\uc774 \uc9c4\ud589\uc774 \ub418\uc5b4 \uc788\uace0 \uacf5\uac1c\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\ud65c\uc6a9 \ud558\uc154\uc11c \uc88b\uc740 \ubaa9\uc801\uc73c\ub85c \uc4f0\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4.<br \/>\n*********************************************************************\/<br \/>\n\/\/window.clipboardData.setData('Text',\"\"); <br \/>\nfunction init(){<br \/>\n       HTMLEDITEFRAME.document.designMode=\"On\";<br \/>\n       setTimeout(f_int,100);<br \/>\n}<\/p>\n<p>function f_int(){<br \/>\n       inputHTMLz();<br \/>\n       outputHTMLz();<br \/>\n}<\/p>\n<p>function outputHTMLz(){<\/p>\n<p>  \/\/ A \ud0dc\uadf8\uc5d0 TARGET \ubd80\uc5ec<br \/>\n  for ( var i = 0 ; i <  HTMLEDITEFRAME.document.body.all.length ; i ++){<br \/>\n   if (HTMLEDITEFRAME.document.body.all[i].tagName == \"A\")<br \/>\n                 HTMLEDITEFRAME.document.body.all[i].target=\"_blank\";<br \/>\n  }<\/p>\n<p>       outputHTMLVAL = HTMLEDITEFRAME.document.body.outerHTML;<br \/>\n       document.all.HTMLCONTENTS.value = outputHTMLVAL.replace(\/<BODY>|<\/BODY>\/gi,\"\");<br \/>\n}<\/p>\n<p>function inputHTMLz(){<br \/>\n       HTMLEDITEFRAME.document.body.innerHTML = document.all.HTMLCONTENTS.value;<br \/>\n}<\/p>\n<p>function HTMLSetData(){<br \/>\n       Range2 = HTMLEDITEFRAME.document.body.createTextRange();<br \/>\n       Range2.select();<br \/>\n       HTMLEDITEFRAME.document.execCommand(\"copy\");<br \/>\n}<br \/>\nfunction TXETSetData(){<br \/>\n       Range2 = HTMLCONTENTS.createTextRange();<br \/>\n       Range2.select();<br \/>\n       HTMLCONTENTS.document.execCommand(\"copy\");<br \/>\n}<\/p>\n<p>var HTMLCONTENTS_FOCUS = false;<\/p>\n<p>var tab_text = \"||-dr-no.co.kr-||\";<br \/>\nfunction ekeydown(e){ <\/p>\n<p>       if(event.ctrlKey && event.keyCode == 86){<br \/>\n              textobj = document.all.HTMLCONTENTS;<br \/>\n              var sText = document.selection.createRange();<\/p>\n<p>              if (sText.text!=\"\"){<br \/>\n                     document.execCommand(\"paste\",true,tab_text);<br \/>\n              }else{<br \/>\n                     textobj.value= textobj.value + tab_text;<br \/>\n              }<br \/>\n              textobj.value= textobj.value.replace(tab_text,multmedia_GetData());<br \/>\n              event.keyCode  = null;<br \/>\n              event.cancelBubble = true;<br \/>\n              event.returnValue  = false;<br \/>\n              textobj.focus();<br \/>\n              return false;<br \/>\n       }<br \/>\n       return;<br \/>\n}<br \/>\n\/\/ \uba40\ud2f0\ubbf8\ub514\uc5b4 \ud074\ub9bd\ubcf4\ub4dc -> \ud14d\uc2a4\ud2b8 \uac8c\uc2dc\ud310\uc5d0 \ud0dc\uadf8\ub85c \uc0dd\uc131<br \/>\nfunction multmedia_GetData(){<br \/>\n       Range2 = HTMLEDITEFRAME.document.body.createTextRange();<br \/>\n       Range2.select();<br \/>\n       HTMLEDITEFRAME.document.execCommand(\"paste\");<\/p>\n<p>  \/\/ A \ud0dc\uadf8\uc5d0 TARGET \ubd80\uc5ec<br \/>\n  for ( var i = 0 ; i <  HTMLEDITEFRAME.document.body.all.length ; i ++){<br \/>\n   if (HTMLEDITEFRAME.document.body.all[i].tagName == \"A\")<br \/>\n                 HTMLEDITEFRAME.document.body.all[i].target=\"_blank\";<br \/>\n  }<\/p>\n<p>       outputHTMLVAL = HTMLEDITEFRAME.document.body.outerHTML;<br \/>\n       return outputHTMLVAL.replace(\/<BODY>|<\/BODY>\/gi,\"\");<br \/>\n}<\/p>\n<p><\/script><br \/>\n<\/head><br \/>\n<body onload=\"init()\"><\/p>\n<p>\uc774\ud558 HTML \ub0b4\uc6a9\uc740 \ubbf8\ub9ac\ubcf4\uae30\ub97c \ud1b5\ud574\uc11c \uc18c\uc2a4\ubcf4\uae30 \ud558\uc138\uc694 ^^<br \/>\n<\/body><br \/>\n<\/html> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ud558 HTML \ub0b4\uc6a9\uc740 \ubbf8\ub9ac\ubcf4\uae30\ub97c \ud1b5\ud574\uc11c \uc18c\uc2a4\ubcf4\uae30 \ud558\uc138\uc694 ^^<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-1426","post","type-post","status-publish","format-standard","hentry","category-papa-php"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/1426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1426"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/1426\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}