[건의?]새롭게 적용된 엔터되어진 부분에 자동 <br>이 입력되는 소스.

글을 기록하다가 안 사실인데 여기 사이트가 변경되었군요.....음....빠르기도 하시지.... 그래서 다시 다운로드를 받아서 덮어씌우기를 하고 그리고 게시판의 gbform_main.skin.php화일을 변경도 해주고....

궁금한 점이 있는데 지난 자료들은
&nbsp; function html_auto_br(obj)
&nbsp; {
&nbsp; &nbsp; &nbsp; if (obj.checked) {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (result) {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; obj.value = 2;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; obj.value = 1;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; } else {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; obj.value = 1;
&nbsp; &nbsp; &nbsp; }
&nbsp; }
부분이 자동입력되질 않은 상태에서 머물러 있군요.... 어떻게하면 value값을 바꿀 수 있죠?
|

댓글 4개

감사합니다. 성공했어요.
gbform_main.skin.php 요
어느 스킨에서 수정을 해야 하는지요?
$value_html 변수가 추가되었습니다.

<?=$value_html?> // html 값 (1은 html , 2는 html 자동줄바꿈)

<?=$show_html_begin?><input type=checkbox name=wr_html value='<?=$value_html?>' <?=$checked_html?> onclick="html_auto_br(this)">HTML&nbsp;<?=$show_html_end?>

와 같이 수정하여 주십시오.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누3질답

+
제목 글쓴이 날짜 조회
배부른꿀꿀이
22년 전 조회 1,305
22년 전 조회 1,229
22년 전 조회 1,129
22년 전 조회 1,309
22년 전 조회 1,441
22년 전 조회 1,234
배부른꿀꿀이
22년 전 조회 1,212
22년 전 조회 1,134
22년 전 조회 1,083
22년 전 조회 1,325
bbbking
22년 전 조회 1,244
조타로
22년 전 조회 1,342
22년 전 조회 1,189
이현우
22년 전 조회 1,348
22년 전 조회 1,367
22년 전 조회 1,124
22년 전 조회 1,162
22년 전 조회 1,099
22년 전 조회 1,111
bbbking
22년 전 조회 1,380
🐛 버그신고