[HTML] textarea 편집용 JavaScript (But FireFox에서는 동작하지 않는다.) http://www.interactivetools.com/products/htmlarea/documentation.html 프로그램문서들 * [[http://bioinfo.sarang.net/htmlarea/example.html|예제문서]] * [[http://bioinfo.sarang.net/htmlarea/readme.html|README]] 어떻게 생긴 Textarea이냐하면 {{{#!html <script language="Javascript1.2"><!-- // load htmlarea _editor_url = "http://bioinfo.sarang.net/htmlarea/"; // URL to htmlarea files var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]); if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; } if (win_ie_ver >= 5.5) { document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"'); document.write(' language="Javascript1.2"></scr' + 'ipt>'); } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); } // --></script> <textarea name="textbox2" style="height: 110px; width: 700px;"> Here is some sample text in textarea thats been transformed with <font color="#0000CC"><b>htmlArea</b></font>.<br> You can make things <b>bold</b>, <i>italic</i>, <u>underline</u>. You can change the <font size=3>size</font> and <b><font color="#0000CC">c</font><font color="#00CC00">o</font><font color="#00CCCC">l</font><font color="#CC0000">o</font><font color="#CC00CC">r</font><font color="#CCCC00">s</font><font color="#CCCCCC">!</font></b> And lots more... <P align=center><FONT size=4 color=#ff0000><b><U>Try htmlArea today!</U></b></FONT><BR> </textarea> <script language="JavaScript1.2" defer> editor_generate('textbox2'); </script> }}} ---- CategoryProgram