상품상세 이미지 미리보기 src 치환 코드 추가

This commit is contained in:
chicpro
2013-05-03 18:26:15 +09:00
parent 08806d8fdb
commit b664cd0ce2

View File

@ -489,7 +489,7 @@ else
<script>
$(function(){ // 이미지 미리보기
$('#sit_pvi .img_thumb').bind('hover focus', function(){
var img_src = $(this).attr('id');
var img_src = $(this).attr('id').replace("_s", "_l1");
$('#sit_pvi_big img').attr('src','<?php echo G4_DATA_URL; ?>/item/'+img_src); // 이미지 소스 교체
});
});