// 꼬리말 달기 시작
function AppendShortComment() {
var emoticonIndex = -1;
for ( i = 0; i < document.bbsForm.emoticonView.length; i++ )
if ( document.bbsForm.emoticonView[i].checked )
emoticonIndex = i;
if ( emoticonIndex == -1 ) {
alert("표정을 선택하세요.");
return;
}
var emocode = document.bbsForm.emoticonView[emoticonIndex].value;
document.bbsForm.emoticon.value=document.bbsForm.emoticonView[emoticonIndex].value;
document.bbsForm.comment.value=document.bbsForm.comment_view.value;
document.bbsForm.act.value='A';
document.bbsForm.fldid.value = '6r8';
document.bbsForm.dataid.value = '1072';
document.bbsForm.nickname.value = 'oasis1999';
document.bbsForm.grpcode.value = '562asp';
document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=1H6h&mgrpid=&fldid=6r8&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=000HIzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1072&head=&subj=%3Cfont+color%3D%22%23000000%22%3EMetallica+-+The+Unforgiven+2%3C%2Ffont%3E&nick=R.K.Y&id=zy8TXmOIkHc0&smsnum=-1&smsvalid=0&count=535&day=20050220031115&datatype=9&selectyn=n&avatarcate=0&rowid=AAAAyHAAXAAAgoWAAY&edge=&scrapcount=1';
if ( null == document.bbsForm.comment.value || "" == document.bbsForm.comment.value ) {
alert( "내용을 입력하신 뒤 등록버튼을 눌러주세요." );
document.bbsForm.comment_view.focus();
return;
}
if ( document.bbsForm.comment.value.length > 300 ) {
alert( "꼬리말은 300자 이내입니다." );
document.bbsForm.comment_view.focus();
return;
}
document.bbsForm.action = '/_c21_/short_comment_hdn?grpid=1H6h&mgrpid=&emoticon='+emocode;
//document.all("submit_check").innerHTML= "
";
document.bbsForm.submit();
}
function _del(seq) {
if (confirm("정말로 삭제하시겠습니까?")) {
document.bbsForm.action = '/_c21_/short_comment_hdn?grpid=1H6h&mgrpid=';
document.bbsForm.act.value='D';
document.bbsForm.fldid.value='6r8';
document.bbsForm.dataid.value='1072';
document.bbsForm.grpcode.value = '562asp';
document.bbsForm.seq.value = seq;
document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=1H6h&mgrpid=&fldid=6r8&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=000HIzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1072&head=&subj=%3Cfont+color%3D%22%23000000%22%3EMetallica+-+The+Unforgiven+2%3C%2Ffont%3E&nick=R.K.Y&id=zy8TXmOIkHc0&smsnum=-1&smsvalid=0&count=535&day=20050220031115&datatype=9&selectyn=n&avatarcate=0&rowid=AAAAyHAAXAAAgoWAAY&edge=&scrapcount=1';
document.bbsForm.submit();
}
}
function _mod( seq, emoticon ) {
document.bbsForm.act.value='U';
document.bbsForm.fldid.value='6r8';
document.bbsForm.dataid.value='1072';
document.bbsForm.grpcode.value = '562asp';
document.bbsForm.seq.value = seq;
var changeEmoticon = document.bbsForm.emoticon.value;
var emocode;
if (changeEmoticon == "" || typeof( changeEmoticon) == "undefined"){
document.bbsForm.emoticon.value = emoticon;
emocode = emoticon;
}else{
document.bbsForm.emoticon.value = changeEmoticon;
emocode = changeEmoticon;
}
document.bbsForm.action = '/_c21_/short_comment_hdn?grpid=1H6h&mgrpid=&emoticon='+emocode;
document.bbsForm.comment.value = eval("document.bbsForm.comment_"+seq).value;
document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=1H6h&mgrpid=&fldid=6r8&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=000HIzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1072&head=&subj=%3Cfont+color%3D%22%23000000%22%3EMetallica+-+The+Unforgiven+2%3C%2Ffont%3E&nick=R.K.Y&id=zy8TXmOIkHc0&smsnum=-1&smsvalid=0&count=535&day=20050220031115&datatype=9&selectyn=n&avatarcate=0&rowid=AAAAyHAAXAAAgoWAAY&edge=&scrapcount=1';
document.bbsForm.submit();
}
function change_emo(face_num) {
curEmoId.src="http://cafeimg.hanmail.net/cf_img/icon"+(face_num<10?'0'+face_num:face_num)+".gif";
document.bbsForm.emoticon.value=face_num;
}
var curEmoId;
//이모티콘 수정
function showhide2(img_id) {
eLayer = document.getElementById("emoticon_modify").style;
if(eLayer.visibility=="visible")
eLayer.visibility="hidden";
else {
curEmoId = img_id;
var dom = (document.getElementById) ? true : false;
var ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft+5;
mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
eLayer.left = mouseX;
eLayer.top = mouseY;
eLayer.visibility="visible";
}
}
카페 게시글
Pop M/V
Metallica - The Unforgiven 2 [m/v]
이태민
추천 0
조회 43
05.02.21 02:20
댓글 0
다음검색