그림자 상자가 작동하지 않습니다 ... shadowbox에 swf를 열려면 이미지 링크가있는 정적 HTML 페이지가 있습니다. 그러나 이미지를 클릭하면 브라우저의 다른 이미지 파일처럼 swf가 열립니다. 그림자 상자가 전혀 작동하지 않는 것 같습니다.Jquery and ShadowBox
이것은 내 html 페이지입니다. 나는 shadowbox-build-3.0b를 사용하고있다. 이상하게도이 편집기는 새로운 사용자가 편집기의 HTML 코드에서 이미지 태그를 사용할 수 없도록합니다. 그래서 저는 제 이미지를 이미지로 바꿨습니다.
<html>
<head>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="shadowbox-build-3.0b/adapters/shadowbox-jquery.js"></script>
<script type="text/javascript" src="shadowbox-build-3.0b/shadowbox.js"></script>
<link type="text/css" href="shadowbox-build-3.0b/shadowbox.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="shadowbox-build-3.0b/languages/shadowbox-en.js"></script>
<!-- Begin Shadowbox JS -->
<script type="text/javascript">
jQuery(document).ready(function() {
Shadowbox.init({
language: "en",
players: ["image"]
});
});
</script>
<!-- End Shadowbox JS -->
</head>
<body>
<a href="LightBoxFiller.swf" rel="shadowbox[Mixed];width: 800;height: 600;"><image src="imagewithplaybutton.jpg" ></a>
</body>
</html>