[JavaScript] 이미지 크기에 맞게 팝업창 띄우기
123456789101112131415161718 function resize(){ var item_img = document.getElementById("item_img"); dialogWidth = img.width + 10 + 'px'; dialogHeight = img.height + 'px'; var img_body = document.getElementById('img_body'); img_body.style.overflowX = "hidden"; if(item_img.height
JAVA SCRIPT
2018. 3. 22. 14:08