양

윗글답변해줄분 아무도 없나요?^^

· 2003-10-19 (일) 06:20:41 · 556 · 1
현재 그누 게시판의 소스에 자바 스크립트이 내용입니다....아래를 참조하세요

<script language='Javascript'>
var f = document.fgbform;

if (f.w.value == '' && typeof(f.wr_name) != 'undefined') {
f.wr_name.focus();
} else if (f.w.value == 'u') {
f.wr_subject.focus();
if (typeof(f.ca_id) != 'undefined') {
f.ca_id.value = '';
}
}

function html_auto_br(obj)
{
if (obj.checked) {
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
if (result) {
obj.value = 2;
} else {
obj.value = 1;
}
} else {
obj.value = 1;
}
}

var imagewin;
function imagewindowopen()
{
imagewin = window.open('./?doc=bbs/imagesave.php', 'imgsave', 'left=50,top=50,width=500,height=500,scrollbars=1,status=1');
}

function imagewindowclose()
{
if (imagewin) {
imagewin.close();
}
}

window.onunload = imagewindowclose;

function fgbform_check(f) <!--// 여기가 분류채크 소스입니다...//-->
{
if (typeof(f.ca_id) != 'undefined') {
if (f.ca_id.value == '') {
alert('분류를 선택하세요.');
f.ca_id.focus();
return false;
}
}

return true;
}
</script>
|

댓글 1개

지금 현재 가장 최근 버전의 게시판 스킨의 gbform.skin.php를 참조하시면 됩니다...
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

9,564건
+
제목 글쓴이 날짜 조회
03-10-20 조회 362
03-10-20 조회 431
03-10-20 조회 473
03-10-19 조회 506
03-10-19 조회 402
JJ.Mando
03-10-19 조회 398
03-10-19 조회 568
03-10-18 조회 596
03-10-18 조회 498
03-10-18 조회 599
지지수아빠
03-10-18 조회 584
03-10-18 조회 526
03-10-18 조회 638
네네모똘
03-10-18 조회 486
03-10-18 조회 552
03-10-18 조회 476
03-10-19 조회 486
03-10-19 조회 557
03-10-19 조회 414
03-10-17 조회 699