Prechádzať zdrojové kódy

cfOpenLayer -> cfnOpenLayer, cfOpenFullLayer -> cfnOpenFullLayer 으로 명칭
변경

gagamel 5 rokov pred
rodič
commit
598dbd5bfb
1 zmenil súbory, kde vykonal 30 pridanie a 30 odobranie
  1. 30 30
      src/main/webapp/ux/style24_link.js

+ 30 - 30
src/main/webapp/ux/style24_link.js

@@ -461,14 +461,14 @@ var cfnGoToGoodsDetail = function (goodsCd, colorCd, ithrCd, contentsLoc, planDt
  * @access : public
  * @desc   : 공통 레이어 띄우기
  * <pre>
- *	 cfOpenLayer(_PAGE_CARD_LAYER, 'layer_card_benefit');
+ *	 cfnOpenLayer(_PAGE_CARD_LAYER, 'layer_card_benefit');
  * </pre>
  * @param  : page - page. 필수
  * @param  : tgt - 레이어가 표시될 위치(예, div 태크의 ID). 필수
  * @param  : oParam - Parameter Object. 옵션
  * @param  : callbackFnc - 콜백함수. 옵션
  */
-function cfOpenLayer(page, tgt, oParam, callbackFnc) {
+function cfnOpenLayer(page, tgt, oParam, callbackFnc) {
 	if (!oParam) oParam = new Object();
 
 	$.post(page
@@ -537,7 +537,7 @@ function cfCardInfo() {
 		$('body').append(str);
 	}
 
-	cfOpenLayer(_PAGE_CARD_PRMT_LAYER, 'layer_card_benefit');
+	cfnOpenLayer(_PAGE_CARD_PRMT_LAYER, 'layer_card_benefit');
 }
 
 /**
@@ -565,7 +565,7 @@ function cfGoodsCouponInfo(goodsCd, goodsType) {
 	}
 	var params = goodsCd;
 	if (typeof (goodsType) != 'undefined') params += "&goodsType=" + goodsType;
-	cfOpenLayer(_PAGE_GOODS_COUPON_LAYER + params, 'layer_goods_coupon');
+	cfnOpenLayer(_PAGE_GOODS_COUPON_LAYER + params, 'layer_goods_coupon');
 }
 
 /**
@@ -586,7 +586,7 @@ function cfGoodsShopBenefitInfo(goodsCd) {
 		$('body').append(str);
 	}
 
-	cfOpenLayer(_PAGE_GOODS_SHOP_BENEFIT_LAYER+goodsCd, 'layer_shopping_benefit');
+	cfnOpenLayer(_PAGE_GOODS_SHOP_BENEFIT_LAYER+goodsCd, 'layer_shopping_benefit');
 }
 
 /**
@@ -607,7 +607,7 @@ function cfGoodsSizeInfo(goodsCd, colorCd) {
 		$('body').append(str);
 	}
 
-	cfOpenLayer(_PAGE_GOODS_SIZEINFO_LAYER+goodsCd +'/'+colorCd, 'layer_size_info');
+	cfnOpenLayer(_PAGE_GOODS_SIZEINFO_LAYER+goodsCd +'/'+colorCd, 'layer_size_info');
 }
 
 /**
@@ -633,7 +633,7 @@ function cfGoodsInstockAlarmInfo(goodsCd, colorCd) {
 		$('body').append(str);
 	}
 
-	cfOpenLayer(_PAGE_GOODS_INSTOCK_ALARM_LAYER+goodsCd+'/'+colorCd, 'layer_instock_alarm');
+	cfnOpenLayer(_PAGE_GOODS_INSTOCK_ALARM_LAYER+goodsCd+'/'+colorCd, 'layer_instock_alarm');
 }
 
 /**
@@ -660,7 +660,7 @@ function cfGoodsReviewDetail(goodsCd, bestYn, photoYn, reviewSq, attachSq) {
 	params += '&photoYn=' + photoYn;
 	if (typeof (attachSq) != 'undefined') params += "&attachSq=" + attachSq;
 	
-	cfOpenLayer(_PAGE_GOODS_REVIEW_DETAIL_LAYER+params, 'layer_review_best');
+	cfnOpenLayer(_PAGE_GOODS_REVIEW_DETAIL_LAYER+params, 'layer_review_best');
 }
 
 /**
@@ -681,7 +681,7 @@ function cfGoodsReviewPhoto(goodsCd) {
 		$('body').append(str);
 	}
 
-	cfOpenLayer(_PAGE_GOODS_REVIEW_PHTO_LIST_LAYER+goodsCd, 'layer_review_photo');
+	cfnOpenLayer(_PAGE_GOODS_REVIEW_PHTO_LIST_LAYER+goodsCd, 'layer_review_photo');
 }
 
 /**
@@ -689,14 +689,14 @@ function cfGoodsReviewPhoto(goodsCd) {
  * @access : public
  * @desc   : 공통 full 레이어 띄우기
  * <pre>
- *	 cfOpenFullLayer(_PAGE_CARD_LAYER, 'layer_card_benefit');
+ *	 cfnOpenFullLayer(_PAGE_CARD_LAYER, 'layer_card_benefit');
  * </pre>
  * @param  : page - page. 필수
  * @param  : tgt - 레이어가 표시될 위치(예, div 태크의 ID). 필수
  * @param  : oParam - Parameter Object. 옵션
  * @param  : callbackFnc - 콜백함수. 옵션
  */
-function cfOpenFullLayer(page, tgt, oParam, callbackFnc) {
+function cfnOpenFullLayer(page, tgt, oParam, callbackFnc) {
 	if (!oParam) oParam = new Object();
 
 	$.post(page
@@ -753,9 +753,9 @@ function cfGoodsQng(goodsCd) {
 	}
 
 	if ("P" == _frontGb){
-		cfOpenFullLayer(_PAGE_GOODS_QNA_LAYER + goodsCd, 'layer_goods_qna');
+		cfnOpenFullLayer(_PAGE_GOODS_QNA_LAYER + goodsCd, 'layer_goods_qna');
 	}else{
-		cfOpenLayer(_PAGE_GOODS_QNA_LAYER + goodsCd, 'layer_goods_qna');
+		cfnOpenLayer(_PAGE_GOODS_QNA_LAYER + goodsCd, 'layer_goods_qna');
 	}
 }
 
@@ -784,7 +784,7 @@ function cfGoodsQngCreate(goodsCd) {
 		$('body').append(str);
 	}
 
-	cfOpenLayer(_PAGE_GOODS_QNA_CREATE_LAYER + goodsCd, 'layer_goods_qna_reg');
+	cfnOpenLayer(_PAGE_GOODS_QNA_CREATE_LAYER + goodsCd, 'layer_goods_qna_reg');
 }
 
 /**
@@ -807,9 +807,9 @@ function cfGoodsDelivery(goodsCd) {
 	}
 
 	if ("P" == _frontGb){
-		cfOpenFullLayer(_PAGE_GOODS_DELIVERY_LAYER + goodsCd, 'layer_goods_delivery');
+		cfnOpenFullLayer(_PAGE_GOODS_DELIVERY_LAYER + goodsCd, 'layer_goods_delivery');
 	}else{
-		cfOpenLayer(_PAGE_GOODS_DELIVERY_LAYER + goodsCd, 'layer_goods_delivery');
+		cfnOpenLayer(_PAGE_GOODS_DELIVERY_LAYER + goodsCd, 'layer_goods_delivery');
 	}
 	
 	
@@ -834,9 +834,9 @@ function cfGoodsReview(goodsCd) {
 	}
 	
 	if ("P" == _frontGb){
-		cfOpenFullLayer(_PAGE_GOODS_REVIEW_LAYER + goodsCd, 'layer_goods_review',null , fnReviewLayerCollBack);
+		cfnOpenFullLayer(_PAGE_GOODS_REVIEW_LAYER + goodsCd, 'layer_goods_review',null , fnReviewLayerCollBack);
 	}else{
-		cfOpenLayer(_PAGE_GOODS_REVIEW_LAYER + goodsCd, 'layer_goods_review');
+		cfnOpenLayer(_PAGE_GOODS_REVIEW_LAYER + goodsCd, 'layer_goods_review');
 	}
 
 	
@@ -859,7 +859,7 @@ function cfnConsentUseInfo(custNm) {
 		$('body').append(str);
 	}
 
-	cfOpenLayer(_PAGE_CUSTOMER_CONSENT_USERINFO, 'layer_consent_useinfo',params);
+	cfnOpenLayer(_PAGE_CUSTOMER_CONSENT_USERINFO, 'layer_consent_useinfo',params);
 }
 
 
@@ -883,7 +883,7 @@ function cfnPasswordModify() {
 		$('body').append(str);
 	}
 
-	cfOpenLayer(_PAGE_PASSWORD_MODIFY, 'pswordModifyPop');
+	cfnOpenLayer(_PAGE_PASSWORD_MODIFY, 'pswordModifyPop');
 }
 
 /**
@@ -905,7 +905,7 @@ function cfnUseTermsLayer() {
 	if ($('#policiesTermsPop').length == 0) {
 		$('body').append(str);
 	}
-	cfOpenLayer(_PAGE_USE_TERMS_LAYER, 'policiesTermsPop');
+	cfnOpenLayer(_PAGE_USE_TERMS_LAYER, 'policiesTermsPop');
 }
 
 /**
@@ -926,7 +926,7 @@ function cfnPrivacyPolicyLayer() {
 	if ($('#policiesPrivacyPop').length == 0) {
 		$('body').append(str);
 	}
-	cfOpenLayer(_PAGE_PRIVACY_POLICY_LAYER, 'policiesPrivacyPop');
+	cfnOpenLayer(_PAGE_PRIVACY_POLICY_LAYER, 'policiesPrivacyPop');
 }
 
 /**
@@ -948,7 +948,7 @@ function cfnPrivacyTrustLayer() {
 	if ($('#trustPrivacy_pop').length == 0) {
 		$('body').append(str);
 	}
-	cfOpenLayer(_PAGE_PRIVACY_TRUST_LAYER, 'trustPrivacyPop');
+	cfnOpenLayer(_PAGE_PRIVACY_TRUST_LAYER, 'trustPrivacyPop');
 }
 
 /**
@@ -1281,7 +1281,7 @@ function cfMypageReviewDetail(goodsCd, photoYn, reviewSq, attachSq) {
 	params += '&photoYn=' + photoYn;
 	if (typeof (attachSq) != 'undefined') params += "&attachSq=" + attachSq;
 	
-	cfOpenLayer(_PAGE_MYPAGE_REVIEW_DETAIL_LAYER+params, 'layer_review_best');
+	cfnOpenLayer(_PAGE_MYPAGE_REVIEW_DETAIL_LAYER+params, 'layer_review_best');
 }
 
 /**
@@ -1310,10 +1310,10 @@ function copyToClipboard() {
  * @access : public
  * @desc   : 검색 full 팝업
  * <pre>
- *		cfSearchLayer();
+ *		cfnSearchLayer();
  * </pre>
  */
-function cfSearchLayer() {
+function cfnSearchLayer() {
 	var Param = new Object();
 	var str = '<div class="common_search active" id="layer_search"></div>';
 	if ("P" != _frontGb){
@@ -1324,10 +1324,10 @@ function cfSearchLayer() {
 		$('body').append(str);
 	}
 
-	if ("P" == _frontGb){
-		cfOpenFullLayer(_PAGE_SEARCH_LAYER, 'layer_search');
-	}else{
-		cfOpenLayer(_PAGE_SEARCH_LAYER, 'layer_search');
+	if ("P" == _frontGb) {
+		cfnOpenFullLayer(_PAGE_SEARCH_LAYER, 'layer_search');
+	} else {
+		cfnOpenLayer(_PAGE_SEARCH_LAYER, 'layer_search');
 	}
 }