상품상세 이미지 미리보기 src 치환 코드 추가
This commit is contained in:
1 parent
08806d8fdb
commit
b664cd0ce2
1 file changed
+1
-1
+1
-1
@@ -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); // 이미지 소스 교체
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user