게시판 본문 ASP, ASP.NET, IIS & Script - Read Only
않되는데요?? |
---|
작성자: 궁금이
작성일시: 2004-11-17 23:56,
조회수: 782
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML> <HEAD> <TITLE>Auto Scroll & Line Number</TITLE> <META NAME="Generator" CONTENT="EditPlus"> <script language="JavaScript" type="text/javascript"> <!-- function SetScrollPos(objElement) { var objTarget = document.all.TA_TRG; objTarget.scrollLeft = objElement.scrollLeft; objTarget.scrollTop = objElement.scrollTop; } function CheckLines1(objElement) { var strContnent = document.all.TA_SRC.value; var aryContnent = strContnent.split("\n"); for (var i = 0; i < aryContnent.length; i++) { aryContnent[i] = aryContnent[i].replace(/^.+?\s:\s/, ""); aryContnent[i] = (i + 1) + " : " + aryContnent[i]; } document.all.TA_SRC.value = aryContnent.join("\n"); } function CheckLines2(objElement) { var strContnent = document.all.TA_TRG.value; var aryContnent = strContnent.split("\n"); for (var i = 0; i < aryContnent.length; i++) { aryContnent[i] = aryContnent[i].replace(/^.+?\s:\s/, ""); aryContnent[i] = (i + 1) + " : " + aryContnent[i]; } document.all.TA_TRG.value = aryContnent.join("\n"); } //--> </script> </HEAD> <BODY> <textarea cols="77" rows="12" name="writeTxt" style="overflow:auto" id="TA_SRC" onscroll="SetScrollPos(this);" onpaste="CheckLines1(this);"></textarea> <hr> <textarea cols="77" rows="13" name="viewTxt" style="overflow:auto" id="TA_TRG" onpaste="CheckLines2(this);"></textarea> </BODY> </HTML> 잘 않됩니다.. |
IP 주소: 219.254.31.83
|
게시물 | ||||
---|---|---|---|---|
849 |
t-MAX [1] |
2004-11-22 | 4,634 | |
848 | 2004-11-22 | 2,666 | ||
847 | 2004-11-22 | 2,619 | ||
846 |
궁금이 |
2004-11-22 | 848 | |
845 | 2004-11-22 | 2,594 | ||
844 |
답변 감사드립니다 [1] |
궁금이 |
2004-11-22 | 743 |
843 | 2004-11-22 | 2,836 | ||
842 |
오마르 |
2004-11-19 | 831 | |
841 | 2004-11-19 | 2,484 | ||
840 |
호이 |
2004-11-18 | 890 | |
839 |
진짜 궁금이 |
2004-11-18 | 728 | |
838 | 2004-11-18 | 2,612 | ||
837 |
진짜 궁금이 |
2004-11-17 | 792 | |
836 | 2004-11-17 | 2,586 | ||
궁금이 |
2004-11-17 | 782 | ||
834 | 2004-11-18 | 2,534 | ||
833 |
진짜 궁금이 |
2004-11-18 | 740 | |
832 |
진짜 궁금이 |
2004-11-17 | 731 | |
831 | 2004-11-17 | 3,181 | ||
830 |
진짜 궁금이 |
2004-11-17 | 771 | |
829 | 2004-11-17 | 2,607 | ||
828 |
진짜 궁금이 |
2004-11-17 | 747 | |
825 |
오마르 |
2004-11-16 | 811 | |
824 | 2004-11-17 | 2,728 | ||
823 | 2004-11-16 | 2,689 |