6.13 새소망임직식 때 모습들
장영도 추천 0 조회 100 09.06.18 14:56 댓글 4
주소가 복사되었습니다.
원하는곳에 붙여넣기(Ctrl+V)해주세요.
jQuery(function () {
var layerOn = false;
var container = jQuery('#rSocialShareLayerContainer');
setEvents();
function setEvents(){
jQuery('body').on('click', closeLayer);
jQuery('#rSocialShareButton').on('click', showLayer);
}
function showLayer(e) {
if(container.css('display') !== 'none'){
container.hide();
return;
}
e.stopPropagation();
layerOn = true;
jQuery('#translateContainer').hide();
window.MoreMenuLayer.hide();
container.show();
}
function closeLayer(e) {
if(jQuery(e.target).closest('#rSocialShareLayerContainer').length === 0 && layerOn){
layerOn = false;
container.hide();
}
}
// fixme
window.shareLayer = {};
window.shareLayer.closeByAnotherLayer = function () {
layerOn = false;
container.hide();
};
var KAKAO_APP_KEY = '290e3fe0b2d63e49088831bdbadb4fe5';
var KAKAO_LINK_CUSTOM_DATA = {
shareType: 'sendCustom',
shareData: {
templateId: 7921,
installTalk: true,
templateArgs: {
'${title}': jQuery("meta[property='og:title']").attr('content'),
'${description}': jQuery("meta[property='og:description']").attr('content'),
'${imageUrl}': jQuery("meta[property='og:image']").attr('content'),
'${webUrl}': 'http://cafe.daum.net/igokchurch/5IE/260?svc=cafeapi',
'${mobileWebUrl}': 'https://m.cafe.daum.net/igokchurch/5IE/260?svc=cafeapi',
'${EncodingUrl}': encodeURIComponent('https://m.cafe.daum.net/igokchurch/5IE/260?svc=cafeapi')
}
}
};
// https://kakao.agit.in/g/300010501/wall 관련 서비스 아지트
// https://wiki.daumkakao.com/pages/viewpage.action?pageId=451027880 관련 문서
var scrapUrl = 'http://scrap.cafe.daum.net/_dss_/scrap?location_id=r05l&folder_id=5IE&data_id=260';
if(CAFEAPP.FLDTYPE === "V") scrapUrl = 'http://scrap.cafe.daum.net/_dss_/scrap?location_id=&folder_id=&data_id=';
var layerBtn = document.getElementById('rSocialShareButton');
new socialshareRenewal.Main(layerBtn, {
moreViewContainer: document.getElementById('rSocialShareLayerContainer'),
action: 'click',
link: 'http://cafe.daum.net/igokchurch/5IE/260?svc=cafeapi',
prefix: jQuery("meta[property='og:title']").attr('content'),
service_name: '다음카페',
cafe: scrapUrl, //카페 스크랩용 url http://wiki.daumkakao.com/pages/viewpage.action?pageId=319097174 참고.
kakaoAPI: {
appkey: KAKAO_APP_KEY,
kakaoLinkData: KAKAO_LINK_CUSTOM_DATA
}
});
});
jQuery(function () {
bookmarkController.init();
});
게시글 본문내용
document.write(removeRestrictTag());
새소망교회 교육관에서 |