jQuery 팝업 창에 세부 정보를 표시하기 위해 프로젝트에서 colorbox를 사용했습니다. 그러나 대상 페이지가 나타나지 않습니다. 당신은 Here에서Colobox iframe에서 페이지가 열리지 않는 이유가 무엇인가요?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="css/colorbox.css" type="text/css" />
<script src="js/jquery.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.colorbox.js"></script>
<script type="text/javascript">
$(document).ready(function(e) {
$(".iframe").colorbox({iframe:true, width:"70%", height:"70%"});
});
</script>
</head>
<body>
<a href="http://www.google.com" class="iframe" style="color:#333">Click here</a>
</body>
</html>
을 볼 수
이 코드입니다.
무엇이 문제입니까?