|
|
음악방 | 좋은음악은 모두 여기에
|
|
|
심수봉 노래 모음 ...^^
|
|
번호 :
글쓴이 :
이윤옥
|
조회 : 스크랩 : 날짜 : |
|
|
document.domain="daum.net";
var str=" ";
str+="";
str+=" ";
document.write(str);
|
function AllBGMStop(){
//
// 동영상 블로그에서 무조건 호출 한다네.....
//
//
}
|
|
function showSideViewForScrapInfo(curObj, userid, planetUserid, targetNick) {
var sideView = new SideView('nameContextMenu', curObj, userid, planetUserid, '조동춘', targetNick, '12WWz', '', '광주북구노인종합복지관', "unknown");
sideView.hideRow("member");
sideView.hideRow("planet");
sideView.showLayer();
}
function winPopup() {
window.open('http://planet.daum.net/jhcmalf', 'DaumPlanet', 'width=936,height=672,resizable=yes,scrollbars=yes');
return;
}
document.domain="daum.net";
var str="";
str+="";
str+=" ";
document.write(str);
// 꼬리말 달기 시작
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 = 'DFC9';
document.bbsForm.dataid.value = '62';
document.bbsForm.nickname.value = '조동춘';
document.bbsForm.grpcode.value = 'comfriend2080';
document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=12WWz&mgrpid=&fldid=DFC9&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=00010zzzzzzzzzzzzzzzzzzzzzzzzz&datanum=62';
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=12WWz&mgrpid=&emoticon='+emocode;
//document.all("submit_check").innerHTML= "";
document.bbsForm.submit();
}
function _mod( seq, emoticon ) {
document.bbsForm.act.value='U';
document.bbsForm.fldid.value='DFC9';
document.bbsForm.dataid.value='62';
document.bbsForm.grpcode.value = 'comfriend2080';
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=12WWz&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=12WWz&mgrpid=&fldid=DFC9&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=00010zzzzzzzzzzzzzzzzzzzzzzzzz&datanum=62';
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.[안내]태그제한으로등록되지않습니다-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=12WWz&mgrpid=';
document.bbsForm.act.value='D';
document.bbsForm.fldid.value='DFC9';
document.bbsForm.dataid.value='62';
document.bbsForm.grpcode.value = 'comfriend2080';
document.bbsForm.seq.value = seq;
document.bbsForm.return_url.value = '/_c21_/bbs_read?grpid=12WWz&mgrpid=&fldid=DFC9&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&contentval=00010zzzzzzzzzzzzzzzzzzzzzzzzz&datanum=62';
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[안내]태그제한으로등록되지않습니다-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[안내]태그제한으로등록되지않습니다-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='DFC9';
document.bbsForm.dataid.value='62';
document.bbsForm.move.value='%2F_c21_%2Fbbs_list%3Fgrpid%3D12WWz%26fldid%3DDFC9%26page%3D1%26prev_page%3D0%26firstbbsdepth%3D%26lastbbsdepth%3Dzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz';
document.bbsForm.espam62.value='xjqda8K8gBWV1OKnbyNSggiL1WzyISfIsRaCYVXtH91S92FMomvhPg00';
form.method = "post";
form.action = "/_c21_/bbs_spam_shrtcmt_action?grpid=12WWz&mgrpid=";
form.submit();
}
}
function delShrtCmtBatch() {
alert("꼬리말 삭제 권한이 없습니다");
}
//전체선택/해제
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 = 'AkRJEOL_3Xg0' == this.e_userid;
var modperm = mine;
var delperm = mine;
html.append( '' );
html.append( ' | ' );
if (rank == '') {
html.append( ' | ' );
} else {
html.append( ' | ' );
}
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( ' ' );
html.append( ' ' );
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 = 'AkRJEOL_3Xg0' == this.e_userid;
var modperm = mine;
var delperm = mine;
html.append( '' );
html.append( ' | ' );
html.append( '' );
html.append( '' );
html.append( '' );
html.append( ' | ' );
html.append( '' );
html.append( '' + this.nickName + '' );
html.append( ' | ' );
html.append( '' );
html.append( '' + this.comment + ' ' );
if (this.isnew) {
html.append( ' ' );
}
if (modperm) {
html.append( ' ' );
html.append( '' );
}
if (delperm) {
html.append( '' );
}
html.append( ' | ' );
html.append( '' + this.dateStr + ' | ' );
html.append( ' ' );
html.append( ' ' );
html.append( ' | ' );
html.append( ' | ' );
return html.toString();
};
this.renderRowCommentDelete = function() {
var html = '';
html += ' | | 꼬리말이 삭제되었습니다. | | ';
return html;
}
this.viewMember = function (obj) {
showSideView(obj, this.e_userid, this.profile_userid, this.nickName);
};
this.viewModify = function () {
/* var emo = '';
modifySeqEmo = this.seq;
if (this.parseq == 0) {
document.getElementById("_emo" + this.seq).innerHTML = emo;
}
*/ var cmt = ' | ';
cmt += ' | ';
document.getElementById("_cmt" + this.seq).innerHTML = cmt;
};
}
var comments = new Array();
var cmtIdx = 0;
function commentCompare( a, b ) {
a1 = a.seq; a2 = -1;
b1 = b.seq; b2 = -1;
if ( a.parseq != 0 ) {
a1 = a.parseq; a2 = a.seq;
}
if ( b.parseq != 0 ) {
b1 = b.parseq; b2 = b.seq;
}
if ( a1 == b1 ) {
return a2 - b2;
} else {
return a1 - b1;
}
}
function commentsReIndex() {
for( i = 0; i | ' );
document.getElementById("shortCommentPlaceHolder").innerHTML = html.toString();
}
nob = new Date();
start = nob.getTime()
newShowShortComment();
nob = new Date();
end = nob.getTime();
//document.write( 'Elapsed: ' +((end-start)/1000) );
|