popup_large_image 함수 수정

This commit is contained in:
chicpro
2013-01-29 17:06:06 +09:00
parent 84d0cc1612
commit 10cfd38754

View File

@ -2,11 +2,10 @@ if (typeof(SHOP_JS) == 'undefined') { // 한번만 실행
var SHOP_JS = true;
// 큰이미지 창
function popup_large_image(it_id, img, width, height, cart_dir)
function popup_large_image(url, width, height)
{
var top = 10;
var left = 10;
url = cart_dir+"/largeimage.php?it_id=" + it_id + "&img=" + img;
width = width + 50;
height = height + 100;
opt = 'scrollbars=yes,width='+width+',height='+height+',top='+top+',left='+left;