';
var articleText = $('.news_page_txt').html();
var splitText = articleText.split('[기자]', 2);
var joinText = articleAd + '[기자]';
var brIdx = $('.news_page_txt br').last().index();
var brList = $('.news_page_txt').find('br');
console.log(brList);
if(splitText.length == 2) {
var html = splitText.join(joinText);
$('.news_page_txt').html(html);
} else {
if(brList.length < 4) {
$('.news_page_txt').append(articleAd);
} else {
brList.eq(3).after(articleAd);
}
/*
if(brIdx < 30) {
$('.news_page_txt').append(articleAd);
} else {
$('.news_page_txt').eq(30).after(articleAd);
}
*/
}
//글자 크기조절
var fontsize = 18;
$('#btn_big').on("click", function(e){
fontsize+=2;
var lineheight = fontsize * 1.5;
$('.news_page_txt').attr('style', "font-size:" + fontsize + "px;line-height:" + lineheight + "px;");
});
$('#btn_small').on("click", function(e){
fontsize-=2;
var lineheight = fontsize * 1.5;
$('.news_page_txt').attr('style', "font-size:" + fontsize + "px;line-height:" + lineheight + "px;");
});
//재생목록 토글
var img = document.getElementById("Toggle");
if(img != null) {
img.addEventListener("click", function(){
/* console.log( this ); */
if(img.src == "http://image.ichannela.com/images/common/loop_play_on.png") {
this.src = "http://image.ichannela.com/images/common/loop_play_off.png";
this.className = "loop_play_off";
}else{
this.src= "http://image.ichannela.com/images/common/loop_play_on.png";
this.className = "loop_play_on";
}
});
//재생목록 현재 재생중 영상으로 스크롤
var offset = $("#now_play").position();
console.log('['+offset.top+']');
$('.news_list_side > ul').animate({scrollTop : offset.top - 310}, 200)
}
//댓글 불러오기
selectCommentList();
//댓글 등록 버튼 클릭 시
$("#insertComment").on("click", function(){
insertComment();
});
$('#faq').on("click", function(e){
window.open("/com/cmm/custom_faq.do");
return false;
});
// 인터넷 기사인 경우 연속 재생 토글 display none 으로 설정.
var pgmId = "WPGI00006";
if (pgmId == "WPGI00006"){
$("#continuePlay").hide();
}
const imgElement = document.querySelector('#img_0 img');
if (imgElement != undefined && imgElement.src){
changeNotExistImageToDefaultImage(imgElement);
}
});
function changeNotExistImageToDefaultImage(imageElement){
var imageUrl = imageElement.src;
var img = new Image();
img.src = imageUrl;
img.onload = function() {
// console.log('Width:', this.naturalWidth);
// console.log('Height:', this.naturalHeight);
};
img.onerror = function() {
// console.log('Image Failed:', imageUrl);
imageElement.src = 'http://image.ichannela.com/tc_image/default.jpg';
};
}
// 뉴스 상세 공유 버튼 적용
function snsShare(media) {
var sendUrl;
var title = '[채널A] 엠마 스톤, 전설의 테니스선수 ‘빌리 진 킹’ 연기 위해 7kg 증량 ';
var description = '사진=영화 빌리 진 킹 스틸컷
할리우드 배우 엠마 스톤이 신작 캐릭터를 위해 여자 테니스 선'.replaceAll(' ', ' ');
var locUrl1 = window.location.href;
var locUrl2 = window.location.href;
switch(media) {
case 'kakao':
if(!Kakao.isInitialized()) {
// Kakao.init('ddf881d12e66854b6e419a878f9e6ba2');
Kakao.init('72603375acb82a7c011f2de266a76b2b');
}
Kakao.Share.sendDefault({
objectType: 'feed',
content: {
title: title,
description: description,
imageUrl: 'http://image.ichannela.com/images/channela/2017/10/17/000000528540/00000052854020171017142500139.jpg',
link: {
webUrl: locUrl1,
mobileWebUrl: locUrl1
}
}
});
break;
case 'twitter':
sendUrl = "http://twitter.com/home?status="+encodeURIComponent(title)+"+"+encodeURIComponent(locUrl1);
openNewsWin(sendUrl);
break;
case 'facebook':
sendUrl = "http://m.facebook.com/sharer.php?u="+encodeURIComponent(locUrl2);
openNewsWin2(sendUrl);
break;
case 'url':
var textarea = document.createElement('textarea');
document.body.appendChild(textarea);
textarea.value = locUrl1;
textarea.select();
document.execCommand('Copy');
document.body.removeChild(textarea);
alert("주소가 복사되었습니다. 원하는 곳에 붙여넣기(Ctrl+V) 해주세요.");
break;
}
}
function openNewsWin2(openUrl) {
var winObj;
winObj = window.open(openUrl,"recom_icon_pop","width=400, height=364, scrollbars=no, resizable=no");
}
function openNewsWin(openUrl) {
var winObj;
winObj = window.open(openUrl,"sendNewsWin","width=1024, height=800");
}
function video_player(x, y) {
// TEMP
}
//댓글 리스트 가져오기!
function selectCommentList(){
var urlParams = new URL(location.href).searchParams;
var publishId = urlParams.get('publishId');
var url = "/news/comment/commentlist.do";
var data = {"com_bno": publishId};
var blockYN = 'N';
// '/news/main/news_detailPage.do?publishId=000000368193' 페이지 댓글 차단.
var blockList = ['000000368193', '000000374341', '000000374342', '000000374510', '000000374555', '000000374584', '000000374588',
'000000374596', '000000374607', '000000374608', '000000374714']; // 댓글 차단할 퍼블리싱 ID 추가
//if (!blockList.includes(publishId)) {
if(blockYN != 'Y') {
$.ajax({
url: url,
type: 'POST',
data: data,
success: function(data){
var icon_url = {cha: "/publish/images/icon/ico_cha.png",
naver: "/publish/images/icon/ico_naver.png",
kakao: "/publish/images/icon/ico_kakao.png"
}
//console.log("댓글 리스트 데이터"+data.comment_list);
//console.log("댓글 갯수"+data.totalCount);
var comment_count = "댓글 " + data.totalCount + "개";
$("#reply_sum").html(comment_count);
if(data.comment_list !== undefined && data.comment_list !== ""){
var comment_list = data.comment_list.reverse();
}
var html = "";
var result = data.result;
//console.log("댓글 리스트 결과 : " + result);
if(result === 1){
for (var i = 0; i";
html += '
';
html += '
';
html += '';
html += '';
html += '';
html += ''+user_name+'';
html += ''+date+'';
html += '
';
html += '
';
if(comment_user_id === session_user_id){
html += '[수정]';
html += '[삭제]';
}
html += '
';
html += '
';
html += '
';
html += com_contents;
html += '
';
html += '
';
html += '';
html += '';
html += '
';
html += '';
} else {
html += '
';
html += '삭제된 댓글입니다.';
html += '
';
}
}
$("#reply_list").html(html);
} else {
var not_login_html = "댓글 기능은 로그인 하셔야 사용하실 수 있습니다";
$("#outline").html(not_login_html);
}
}
});
} else {
$(".reply_container").hide();
}
}
//댓글 등록
function insertComment(){
//console.log("댓글 등록 테스트");
var urlParams = new URL(location.href).searchParams;
var publishId = urlParams.get('publishId');
//console.log("퍼블리시 아이디 : " + publishId);
var url = "/news/comment/insertComment.do";
var com_contents = $("#com_contents").val();
if(com_contents === "" || com_contents === undefined){
alert("빈 댓글은 등록할 수 없습니다");
return;
}
var data ={
"com_bno": publishId,
"com_contents": com_contents
};
$.ajax({
url: url,
type: 'POST',
data: data,
success: function(data){
if (data.result === "로그인 하지 않은 사용자"){
alert("로그인을 하셔야 작성하실 수 있습니다");
location.href="/com/cmm/login_page.do?beforeUrl="+location.href;
} else if (data.result == "등록 실패"){
alter("등록이 실패되었습니다");
} else {
selectCommentList(publishId);
$("#com_contents").val("");
}
}
});
}
//수정 클릭 시
function activeUpdate(index){
$("#text-unit-"+index).hide();
var update_contents = $("#text-unit-"+index).text();
$("#update-input-"+index).val(update_contents);
$("#update-container-"+index).css("display", "flex");
}
//삭제 클릭 시
function deleteComment(com_no, index){
var com_no = com_no;
var url = "/news/comment/deletecomment.do";
var data = {
"com_no": com_no
}
$.ajax({
url: url,
data: data,
type: 'POST',
success: function(data){
//console.log(data);
if (data.result === 0){
alert("삭제가 실패했습니다.");
} else if (data.result === 1){
selectCommentList(publishId);
} else if (data.result === 2){
alert("로그인 하지 않은 사용자입니다");
} else {
alert("작성자만 삭제할 수 있습니다");
}
}
});
}
//수정 취소 버튼 클릭 시
function inactiveUpdate(index){
$("#text-unit-"+index).show();
$("#update-container-"+index).css("display", "none");
}
//댓글 수정 버튼 클릭 시
function updateComment(com_no, index){
var com_no = com_no;
var url = "/news/comment/updatecomment.do";
var com_contents = $("#update-input-" + index).val();
if(com_contents === "" || com_contents === undefined){
alert("빈 댓글은 등록할 수 없습니다");
return;
}
var data = {
"com_no": com_no,
"com_contents": $("#update-input-" + index).val(),
}
$.ajax({
url: url,
data: data,
type: 'POST',
success: function(data){
//console.log(data);
if (data.result === 0){
alert("수정이 실패했습니다.");
} else if (data.result === 1){
selectCommentList(publishId);
} else if (data.result === 2){
alert("로그인 하지 않은 사용자입니다");
} else {
alert("작성자만 수정할 수 있습니다");
}
}
});
}
엠마 스톤, 전설의 테니스선수 ‘빌리 진 킹’ 연기 위해 7kg 증량
2017-10-1714:26연예
사진=영화 '빌리 진 킹' 스틸컷
할리우드 배우 엠마 스톤이 신작 캐릭터를 위해 여자 테니스 선수계의 살아있는 전설 '빌리 진 킹'으로 완벽 변신했다.
2017년 아카데미 여우주연상 수상에 빛나는 '라라랜드'의 엠마 스톤이 신작 '빌리 진 킹: 세기의 대결'을 통해 실존 인물이자 전설적인 테니스 스타로 돌아온다. '빌리진킹: 세기의 대결'은 변화의 바람이 거세던 1973년, 전 세계 9천만 명을 열광시킨 여자 테니스 랭킹 1위 '빌리'(엠마 스톤)와 전 남자 챔피언 '바비'(스티브 카렐)의 세계를 뒤흔든 빅매치 실화다.
'라라랜드'를 통해 할리우드 최정상에 오른 엠마 스톤은 신작 '빌리 진 킹: 세기의 대결'에서 세상을 바꿀 용기있는 도전을 시작하는 '빌리' 역을 맡아 실존 인물인 '빌리 진 킹'을 완벽 재현해냈다는 평가를 받고 있다. 당시 세계 랭킹 1위, '철의 여인'이라 불리던 전설적인 실력의 선수 '빌리 진 킹'을 연기하기 위해 4개월 간의 테니스 집중 훈련을 받았을 뿐만 아니라, 꾸준한 운동과 트레이닝을 통해 근육량을 7kg이나 늘리면서 완벽한 운동선수의 몸을 만들었다.
또한, 2017년 전 세계 여배우 출연료 1위에 등극하면서, 할리우드 여배우 임금 차별에 앞장서서 목소리를 높여온 엠마 스톤이 1970년대 남성 선수들과 같은 성과에도 그에 미치지 못하는 여성 선수들의 처우 개선을 위해 앞장선 '빌리 진 킹'의 모습과 오버랩 되며 영화 안팎으로 화제를 모았다.
한편 아카데미 여우주연상 수상 배우 엠마 스톤이 '라라랜드' 이후 선택한 신작으로 주목 받고 있는 '빌리 진 킹: 세기의 대결'은 오는 11월 개봉할 예정이다.
채널A의 각종 서비스를 사용하여 인터넷에 올려진 정보를 얻고자 하실 때에는 다음과 같은 점에 유의하시기 바랍니다.
채널A가 제공하는 모든 제반 서비스를 이용하여 연결(링크)된 사이트에 수록되어 있는 정보 중에는 회원의 개인적인 판단에 따라 불쾌감 또는 피해를 주는 내용이 있을 수도 있습니다.
채널A의 각 사이트 및 동호회 서비스 등에서 채널A 사이트 외부로의 링크 결과 열람하시는 사이트에서 현행 국내법상 불법이거나, 사회의 일반통념, 질서 및 미풍양속 등에 어긋나는 내용을 사전에 차단 하는 것과 관련하여 채널A는 어떠한 책임도 지지 않습니다.
채널A는 네트워크에 링크된 모든 사이트에 수록된 자료의 정확성이나 상표법, 저작권법 등의 관계 법령의 준수 여부에 대하여 어떤 책임도 부인합니다.
회원님들께서는 채널A와 네트워크로 연결되어 있는 웹사이트 또는 제3자에 의하여 채널A네트워크 상에서 작동되거나 제공되는 모든 정보, 상품들은 채널A의 통제 권한 밖에서 제작, 게시 및 작동되었음을 유념하시기 바랍니다.
회원들이 복제 인용 등의 방법으로 채널A 사이트 안에 다른 사이트의 콘텐츠를 제공하였을 경우, 콘텐츠의 내용은 제3자에 의하여 개발되었고 회원에 의해 게시되었므로 채널A의 책임 여부와는 무관함을 명심하시기 바랍니다.
물론 채널A가 스스로 제공하는 콘텐츠에 관하여는 위에 열거된 법령과 혹시 누락된 법령일지라도 관련 법령을 준수하기 위하여 최선을 다하고 있습니다.
채널A의 서비스에 관하여 일반적 혹은 관계 법령의 준수에 관한 조언을 하고자 하실 때에는 언제나 홈페이지에 게시된 담당자에게 연락주시기 바랍니다.