|
|
♥ 읽고 쓰는곳♥ | 삶의 애피소드
|
|
|
[수필] 배 꽃<정강진> |
|
번호 : 글쓴이 : 정강진
|
조회 : 스크랩 : 날짜 : |
|
function AllBGMStop(){ // // 동영상 블로그에서 무조건 호출 한다네..... // // }
| | | | |
|
// 꼬리말 달기 시작 function AppendShortComment(parseq) { var emocode = document.bbsForm.emoticon.value; if(emocode == null || emocode=="" && g_emoticon!=-1){ emocode = g_emoticon; document.bbsForm.emoticon.value=emocode; } if (emocode == "" || typeof(emocode) == "undefined" || emocode == -1) { emocode = "01"; } if (parseq == 0) { // 꼬리말의 꼬리말이 아님. document.bbsForm.comment.value = document.bbsForm.comment_view.value; } else { // document.bbsForm.comment.value = eval("document.bbsForm.commentReplyText" + parseq + ".value"); document.bbsForm.comment.value = document.getElementById("commentReplyText" + parseq).value; } document.bbsForm.parseq.value = parseq; document.bbsForm.act.value='A'; document.bbsForm.fldid.value = 'EVT0'; document.bbsForm.dataid.value = '305'; document.bbsForm.nickname.value = '정강진'; document.bbsForm.grpcode.value = 'myoryang16'; document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=11s0I&mgrpid=&fldid=EVT0&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=0004vzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=305'; 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_action?grpid=11s0I&mgrpid=&emoticon='+emocode; //document.all("submit_check").innerHTML= "
"; document.bbsForm.submit(); } function _mod( seq, emoticon ) { document.bbsForm.act.value='U'; document.bbsForm.fldid.value='EVT0'; document.bbsForm.dataid.value='305'; document.bbsForm.grpcode.value = 'myoryang16'; 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_action?grpid=11s0I&mgrpid=&emoticon='+emocode; // document.bbsForm.comment.value = eval("document.bbsForm.comment_"+seq).value; document.bbsForm.comment.value = document.getElementById("comment_" + seq).value; document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=11s0I&mgrpid=&fldid=EVT0&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=0004vzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=305'; document.bbsForm.submit(); } var modifySeqEmo = -1; var g_emoticon = -1; function change_emo(face_num) { g_emoticon = face_num; document.bbsForm.emoticon.value = face_num; if (modifySeqEmo == -1) { document.bbsForm.emoticon_selected.src = "http://cafeimg.hanmail.net/cf_img/icon" + (face_num < 10 ? '0' + face_num : face_num) + ".gif"; } else { curEmoId.src = "http://cafeimg.hanmail.net/cf_img/icon" + (face_num < 10 ? '0' + face_num : face_num) + ".gif"; } } //꼬리말에 코멘트 관련 //-->
선택한 꼬리말
|
|
var isIE = false; if (document.all) { isIE = true; } else { document.captureEvents(Event.MOUSEMOVE); document.[안내]태그제한으로등록되지않습니다-xx[안내]태그제한으로등록되지않습니다-xxonmousemove = processEvent; } var pntX; var pntY; function processEvent(e) { pntX = e.pageX; pntY = e.pageY; } function _del(seq) { if (confirm("정말로 삭제하시겠습니까?")) { document.bbsForm.action = '/_c21_/short_comment_action?grpid=11s0I&mgrpid='; document.bbsForm.act.value='D'; document.bbsForm.fldid.value='EVT0'; document.bbsForm.dataid.value='305'; document.bbsForm.grpcode.value = 'myoryang16'; document.bbsForm.seq.value = seq; document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=11s0I&mgrpid=&fldid=EVT0&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=0004vzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=305'; document.bbsForm.submit(); } } //꼬리말에 코멘트 레이어 function replyBox(seq){ idx = 0; for(idx = 0; idx < comments.length; idx++ ) { if ( comments[idx].seq == seq ) break; } // alert( 'seq:' + seq + ', comment.idx: ' + comments[idx].idx + ', comment.seq: ' + comments[idx].seq + ', comment.cmt: ' + comments[idx].comment ); comments[idx].renderReplyBoxInputArea(); if (document.getElementById('replyBoxLayer' + seq).style.visibility != "visible") { if (isIE) { pntX = window.event.clientX + document.body.scrollLeft; pntY = window.event.clientY + document.body.scrollTop; document.getElementById('replyBoxLayer' + seq).style.pixelLeft= pntX - 212 document.getElementById('replyBoxLayer' + seq).style.pixelTop= pntY - 5; } else { document.getElementById('replyBoxLayer' + seq).style.left = pntX; document.getElementById('replyBoxLayer' + seq).style.top = pntY; } document.getElementById('replyBoxLayer' + seq).style.visibility = "visible"; } else { document.getElementById('replyBoxLayer' + seq).style.visibility = "hidden"; } } // 이모티콘 레이어 띄우기 function showEmotic[안내]태그제한으로등록되지않습니다-xx[안내]태그제한으로등록되지않습니다-xxonSelector() { var pntX= window.event.x; document.getElementById('emoticon_modify').style.pixelLeft= pntX - 5; // var pntY= window.event.y; // document.getElementById('emoticon_modify').style.pixelTop= pntY + 2; document.getElementById('emoticon_modify').style.visibility = "visible" ; } function hideEmotic[안내]태그제한으로등록되지않습니다-xx[안내]태그제한으로등록되지않습니다-xxonSelector() { document.getElementById('emoticon_modify').style.visibility = "hidden" ; } 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"; } } function getCommentCount() { var comments = document.bbsForm.sequence; if (comments == null) { return 0; } var checkcnt = 0; if (comments.length!=null) { for(i = 0; i < document.bbsForm.sequence.length; i++) { if (document.bbsForm.sequence[i].checked) { ++checkcnt; } } } else if(comments.checked) { checkcnt = 1; } else { checkcnt = 0; } return checkcnt; } function goShortCommentSpam() { form = document.bbsForm; var checkCount = getCommentCount(); var notimsg1 = "꼬리말 스팸 신고는 한번에 10건까지 가능합니다.\n"; notimsg1+="번거로우시더라도 다시 해주세요."; if(checkCount <= 0) { alert("스팸신고 대상을 선택하세요"); return; } else if(checkCount > 10) { alert(notimsg1); return; } var notimsg="스팸신고를 하시겠습니까?\n"; notimsg+="해당 글 삭제와 동시에 회원은 강제탈퇴되며, singomaster에게 바로 신고 접수됩니다."; if(confirm(notimsg)) { document.bbsForm.fldid.value='EVT0'; document.bbsForm.dataid.value='305'; document.bbsForm.move.value='%2F_c21_%2Fbbs_list%3Fgrpid%3D11s0I%26fldid%3DEVT0%26page%3D1%26prev_page%3D0%26firstbbsdepth%3D%26lastbbsdepth%3Dzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'; document.bbsForm.espam305.value='5eUai8ug4.55m4sPM981vd7WCPSjJ-wuCGrl4baCCnfdF27bXZ-NfMHfFop4jGfJ.zXR4eUKPCCidvGnrb1NjoSWXs.MXS6GvaVFr.XzZvA0'; form.method = "post"; form.action = "/_c21_/bbs_spam_shrtcmt_action?grpid=11s0I&mgrpid="; form.submit(); } } function delShrtCmtBatch() { if(getCommentCount() <= 0) { alert("삭제할 대상을 선택하세요"); return; } if(confirm("정말 삭제 하시겠습니까?")) { document.bbsForm.move.value='%2F_c21_%2Fbbs_list%3Fgrpid%3D11s0I%26fldid%3DEVT0%26page%3D1%26prev_page%3D0%26firstbbsdepth%3D%26lastbbsdepth%3Dzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'; document.bbsForm.espam305.value='5eUai8ug4.55m4sPM981vd7WCPSjJ-wuCGrl4baCCnfdF27bXZ-NfMHfFop4jGfJ.zXR4eUKPCCidvGnrb1NjoSWXs.MXS6GvaVFr.XzZvA0'; document.bbsForm.action = "/_c21_/bbs_spam_shrtcmt_action?grpid=11s0I&mgrpid=&mode=SHRTCMTDELETE"; document.bbsForm.act.value='BD'; document.bbsForm.fldid.value='EVT0'; document.bbsForm.dataid.value='305'; document.bbsForm.grpcode.value = 'myoryang16'; document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=11s0I&mgrpid=&fldid=EVT0&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=0004vzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=305'; document.bbsForm.submit(); } } //전체선택/해제 function toggleAll() { var imgg = document.getElementById("select_all_button_comment"); if (imgg.src == "http://cafeimg.hanmail.net/cf_img2/bbs/btn_select.gif") { imgg.src = "http://cafeimg.hanmail.net/cf_img2/bbs/btn_select_02.gif"; } else { imgg.src = "http://cafeimg.hanmail.net/cf_img2/bbs/btn_select.gif"; } toggleCheckboxes(document.bbsForm.sequence); } function toggleCheckboxes(combos) { if(!combos) { return; } if(combos.length > 0){ for(i = 0; i < combos.length; i++) combos[i].checked= !combos[i].checked; } else combos.checked=!combos.checked; } function updateCharComment(length_limit, text_obj, info_obj) { var comment=''; comment = document.getElementById(text_obj); var form = document.bbsForm; var length = calculate_msglen(comment.value); document.getElementById(info_obj).innerHTML = length; if (length > length_limit) { alert("최대 " + length_limit + "byte이므로 초과된 글자수는 자동으로 삭제됩니다."); comment.value = comment.value.replace(/\r\n$/, ""); comment.value = assert_msglen(comment.value, length_limit, info_obj); } } function StringBuffer() { this.buffer = []; } StringBuffer.prototype.append = function append(string) { this.buffer.push(string); return this; }; StringBuffer.prototype.toString = function toString() { return this.buffer.join(""); }; function ShortComment(idx, seq, parseq, emoticon, isnew, nickName, profile_userid, e_userid, comment, dateStr) { this.idx = idx; this.seq = seq; this.parseq = parseq; this.emoticon = emoticon; this.isnew = isnew; this.nickName = nickName; this.profile_userid = profile_userid; this.e_userid = e_userid; this.comment = comment; this.dateStr = dateStr; this.renderRow = function (rank) { var html = new StringBuffer(); var mine = 'JgiLIUH8.2Y0' == this.e_userid; var modperm = mine; var delperm = true; html.append( '
' ); html.append( '
| ' ); if (rank == '') { html.append( '
![](http://cafeimg.hanmail.net/cf_img/icon'%20+%20this.emoticon%20+%20'.gif) | ' ); } else { html.append( '
![](http://cafeimg.hanmail.net/cf_img2/bbs/play__'%20+%20rank%20+%20'.gif) | ' ); } html.append( '
' + this.nickName + ' | ' ); html.append( '
' + this.comment + ' ' ); if (this.isnew) { html.append( '
' ); } if (modperm) { html.append( '
' ); html.append( '' ); } if (delperm) { html.append( '
' ); } html.append( '
' ); html.append( ' | ' ); html.append( '
' + this.dateStr + ' | ' ); html.append( ' ' ); html.append( '
| ' ); // 꼬리말 꼬리말 레이어 html.append( '
| ' ); return html.toString(); }; this.setIdx = function(idx) { // alert( this.idx + "," + idx ); this.idx = idx; // alert( this.idx + "," + idx ); } this.renderReplyBoxInputArea = function() { html = new StringBuffer(); html.append( ' |
' ); html.append( '
' ); html.append( '
꼬리말에 코멘트 쓰기' ); html.append( '
' ); html.append( '
꼬리말에 코멘트란? 꼬리말에 대한 답변입니다. ' ); html.append( ' ' ); html.append( '현재 0/최대 300byte (한글 150자, 영문 300자) ' ); html.append( '
' ); html.append( '
![확인](http://cafeimg.hanmail.net/cf_img2/bbs/btn_ok.gif) ' ); html.append( '
![취소](http://cafeimg.hanmail.net/cf_img2/bbs/btn_cancel.gif) ' ); html.append( ' ' ); html.append( ' | ' ); html.append( ' ' ); html.append( ' ' ); // alert( 'replyBoxLayer' + this.seq ); document.getElementById( 'replyBoxLayer' + this.seq ).innerHTML = html.toString(); } this.renderRowCommentComment = function() { var html = new StringBuffer(); var mine = 'JgiLIUH8.2Y0' == this.e_userid; var modperm = mine; var delperm = true; html.append( '
|