0
페이지로드시 이미지를 팝업하려면 Shadowbox를 HTML 페이지에 추가했습니다. 페이지로드 및 이미지 팝업이 나타나고 "로드 중"이라고 표시되고 그림이 표시되지 않습니다. 나는 내 문제를 발견에만 64킬로바이트Shadowbox로 사진이로드되지 않습니다.
<!--shadowbox-->
<link rel="stylesheet" type="text/css" href="css/shadowbox.css">
<script type="text/javascript" src="js/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
// skip the automatic setup
skipSetup: true
});
window.onload = function() {
// open ASA the window loads
Shadowbox.open({
content: '<img src="images/Xmas-Mobarak.jpg" alt="alt" />',
player: "img",
title: "Merry Christmas",
height: 313,
width: 500
});
};
</script>