1994.05.14(토) ~ 1994.07.31(일)
최종수정일: 2018.04.22 14:52:56 수정요청
"; } $j("div.multiContentBox").html(showTag); } function jsf_stopMovie() { try { $j("#ifrmMovie").attr("src", ""); } catch (ex) { } } function jsf_GetBoardList(boardType) { $j("div.showDetail_5 ul.showDetailTab_s li a").removeClass("multiOn"); $j("div.showDetail_5 ul.showDetailTab_s li a[tag='" + boardType + "']").addClass("multiOn"); //if (boardType == "open") { // jsf_axGetTicketOpenList(1); //} else if (boardType == "notice") { // jsf_axGetPerfNoticeList(1); //} else if (boardType == "event") { // jsf_axGetPerfEventList(); //} jsf_axGetNoticeNEvent(); } function jsf_GetReview(reviewType) { $j("#divReview ul.showDetailTit_tab li a").removeClass("hover"); $j("#divReview ul.showDetailTit_tab li a[tag='" + reviewType + "']").addClass("hover"); $j("#divReview ul.showDetailTit_tab li a em").each(function() { $j(this).html("◀"); }); $j("#divReview ul.showDetailTit_tab li a[tag='" + reviewType + "'] em").html("▶"); if (reviewType == "review") { jsf_axGetPerfReviewList(1); } else if (reviewType == "comment") { jsf_axGetPerfCommentReview(1); } else if (reviewType == "preReview") { jsf_axGetPerfPreReview(1); } jsf_com_GoToAnchor(".tab_new"); } function jsf_BoardRead(idContents) { jsf_axGetPerfReviewRead(idContents); } function jsf_BoardList() { jsf_axGetPerfReviewList(1); } function jsf_BoardWrite(idContents) { jsf_com_goLogin("%2fArchive%2fPerf%2fDetail%3fidPerf%3d1075"); } function jsf_BoardDel(idContents) { jsf_axPerfReviewDelete(idContents); } function jsf_goEvent(eventType) { jsf_com_goLogin("%2fArchive%2fPerf%2fDetail%3fidPerf%3d1075"); } function jsf_axGetNoticeNEvent() { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axPerfNoticeNEvent', data: { idPerf: $j("#hidIdPerf").val() }, dataType: "html", success: function (data, textStatus) { $j("#divDetailInfo").html(data).fadeIn('slow'); //$j("div.showDetail_1").fadeIn('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetDetailInfo() { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axDetailInfo', data: { idPerf: $j("#hidIdPerf").val() }, dataType: "html", success: function (data, textStatus) { $j("#divDetailInfo").html(data).fadeIn('slow'); //$j("div.showDetail_1").fadeIn('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); //메인탭 내 이미지 770px 조절 for (var i = 0; i < $j("#PerfInfoImg").find('img').length; i++) { var imgwidth = $j("#PerfInfoImg").find('img').eq(i).css("width"); var imgheight = $j("#PerfInfoImg").find('img').eq(i).css("height"); imgwidth = imgwidth.substring(0, imgwidth.length - 2); imgheight = imgheight.substring(0, imgheight.length - 2); if (imgwidth > 770) { $j("#PerfInfoImg").find('img').eq(i).css("width", "770px"); $j("#PerfInfoImg").find('img').eq(i).css("height", "auto"); } } } }); } function jsf_axGetMain(){ $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axMainInfo', data: { idPerf: $j("#hidIdPerf").val() }, dataType: "html", success: function (data, textStatus) { $j("div.showDetail_2").html(data).fadeIn('slow'); //$j("div.showDetail_1").fadeIn('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); //메인탭 내 이미지 650px 조절 for (var i = 0; i < $j(".showDetailCon").find('img').length; i++) { var imgwidth = $j(".showDetailCon").find('img').eq(i).css("width"); var imgheight = $j(".showDetailCon").find('img').eq(i).css("height"); imgwidth = imgwidth.substring(0, imgwidth.length - 2); imgheight = imgheight.substring(0, imgheight.length - 2); if (imgwidth > 650) { $j(".showDetailCon").find('img').eq(i).css("width", "650px"); $j(".showDetailCon").find('img').eq(i).css("height", "auto"); } } } }); } function jsf_axGetCastNStaffInfo() { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axCastNStaff', data: { idPerf: $j("#hidIdPerf").val() }, dataType: "html", success: function (data, textStatus) { $j("div.showDetail_2").html(data).fadeIn('slow'); //$j("div.showDetail_1").fadeIn('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetDiscountInfo() { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axDiscountInfo', data: { idPerf: $j("#hidIdPerf").val() }, dataType: "html", success: function (data, textStatus) { $j("div.showDetail_3").html(data).fadeIn('slow'); //$j("div.showDetail_1").fadeIn('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetMultimedia(isMovie, imageType) { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axMultimediaInfo', data: { idPerf: $j("#hidIdPerf").val(), isMovie: isMovie, imageType: imageType //특정 영상 플레이 }, dataType: "html", success: function (data, textStatus) { $j("#mutiContainer").html(""); $j("#mutiContainer").html(data); jsf_com_GoToAnchor(".tab_new"); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetTicketOpenList(page) { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axTicketOpenList', data: { idPerf: $j("#hidIdPerf").val(), page: page }, dataType: "html", success: function (data, textStatus) { $j("#enventContainer").html(data); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetPerfNoticeList(page) { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axPerfNoticeList', data: { idPerf: $j("#hidIdPerf").val(), page: page }, dataType: "html", success: function (data, textStatus) { $j("#enventContainer").html(data); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetPerfEventList(page) { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axPerfEventList', data: { idPerf: $j("#hidIdPerf").val() }, dataType: "html", success: function (data, textStatus) { $j("#enventContainer").html(data); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetPerfEventBanner() { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axPerfEventBanner', data: { idPerf: $j("#hidIdPerf").val() }, dataType: "html", success: function (data, textStatus) { $j("#eventBanner").html(data); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetPerfReviewList(page) { $j.ajax({ async: true, type: "POST", url: '/ReviewTalk/Review/axPerfReviewList', data: { idPerf: $j("#hidIdPerf").val(), page: page }, dataType: "html", success: function (data, textStatus) { $j("#reviewcontainer").html(data).fadeIn('slow'); $j("#divDetailReview").hide(); $j("#divReview").show(); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetPerfReviewRead(idContents) { $j.ajax({ async: true, type: "POST", url: '/ReviewTalk/Review/axPerfReviewRead', data: { idPerf: $j("#hidIdPerf").val(), idContents: idContents }, dataType: "html", success: function (data, textStatus) { $j("#reviewcontainer").html(data).fadeIn('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axPerfReviewDelete(idContents) { $j.ajax({ async: true, type: "POST", url: '/ReviewTalk/Review/RemoveReview', data: { idContents: idContents, __RequestVerificationToken: $j('input[name="__RequestVerificationToken"]').val() }, dataType: "json", success: function (data, textStatus) { if (data != null) { if (data.result > 0) { $j("#dialogAlert").jAlert({ msg: '삭제 되었습니다.', buttons: { '확인': function () { jsf_BoardList(); $j('#dialogAlert').dialog('close'); } } }); } } }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetPerfReviewWrite(idContents) { $j.ajax({ async: true, type: "POST", url: '/ReviewTalk/Review/axPerfReviewWrite', data: { idPerf: $j("#hidIdPerf").val(), idContents: idContents, did : $j("#hidIdDiary").val() }, dataType: "html", success: function (data, textStatus) { $j("#divReview").css("display","none"); $j("#divDetailReview").html(data).fadeIn('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetPerfCommentReview(page) { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axPerfCommentReview', data: { idPerf: $j("#hidIdPerf").val(), page: page }, dataType: "html", success: function (data, textStatus) { $j("#reviewcontainer").html(data).fadeIn('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axGetPerfPreReview(page) { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/axPerfPreReview', data: { idPerf: $j("#hidIdPerf").val(), page: page }, dataType: "html", success: function (data, textStatus) { $j("#reviewcontainer").html(data).show('slow'); }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axAddComment(commentType, comment, cid, eval1, eval2, eval3) { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/AddPerfComment', data: { commentType: commentType, idPerf: $j("#hidIdPerf").val(), comment: comment , cid: cid, idEvent: commentType == 3 ? idEventPreview : 0, eval1: eval1, eval2: eval2, eval3: eval3, __RequestVerificationToken: $j("input[name='__RequestVerificationToken']").val() }, dataType: "json", success: function (data, textStatus) { if (data != null) { if (commentType == '2') { jsf_axGetPerfCommentReview(1); //한줄리뷰 } else { jsf_axGetPerfPreReview(1); //기대평 if (idEventPreview > 0) { $j("#dialogAlert").jAlert({ title: "이벤트 참여", msg: "이벤트 참여가 완료되었습니다." }); } } } }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); } function jsf_axRemoveComment(commentType, cid) { $j.ajax({ async: true, type: "POST", url: '/Archive/Perf/RemovePerfComment', data: { cid: cid, __RequestVerificationToken: $j("input[name='__RequestVerificationToken']").val() }, dataType: "json", success: function (data, textStatus) { if (data != null) { if (commentType == '2') jsf_axGetPerfCommentReview(1); //한줄리뷰 else jsf_axGetPerfPreReview(1); //기대평 } }, error: function (xhr, textStatus, errorThrown) { $j("#dialogAlert").jAlert({ "msg": "오류가 발생 되었습니다." }); }, beforeSend: function (xhr, settings) { jsf_com_AjaxLoader(jcAJAX_BEFORESEND, "", ".detailDiv"); }, complete: function (xhr, textStatus) { jsf_com_AjaxLoader(jcAJAX_COMPLETE, "", ".detailDiv"); } }); }