게시판 자바스크립트

게시판에 html로 변경하고
 
이런
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
 
  cookie_str = document.cookie;
  cookie_str.toString();

  pos_start  = cookie_str.indexOf(name);
  pos_start  = cookie_str.indexOf('=', pos_start);
  pos_end    = cookie_str.indexOf(';', pos_start);
 
  if (pos_end <= 0) pos_end = cookie_str.length;
  cookie_val = cookie_str.substring(pos_start + 1, pos_end);
 
  if (cookie_val  == "done")
    return;
 
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
 
자바스크립트 소스를 넣으면
자바스크립트 소스만 자동으로 지워져버립니다
이거 어떻게 못할까요?
|

댓글 1개

<script 태그는 게시판 설정에서
못 쓰도록 하지 않았나요?
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
19년 전 조회 1,584
19년 전 조회 1,254
19년 전 조회 1,502
19년 전 조회 1,507
19년 전 조회 1,345
19년 전 조회 1,556
19년 전 조회 1,559
19년 전 조회 1,538
19년 전 조회 1,570
19년 전 조회 1,549
19년 전 조회 1,750
19년 전 조회 1,548
19년 전 조회 1,581
19년 전 조회 1,929
19년 전 조회 988
19년 전 조회 1,087
19년 전 조회 1,549
19년 전 조회 1,472
19년 전 조회 1,187
19년 전 조회 1,531